Advertisement
Guest User

Untitled

a guest
Mar 21st, 2019
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. switch (state) {
  2. case EGSPElementaryEndpointStates::Decoding: {
  3. result = m_DecoderSM->SetState(EGSPDecoderStates::Decoding);
  4.  
  5. if (result.IsError()) {
  6. return result;
  7. }
  8.  
  9. auto encoded_data = m_OutputQueue->GetAllData();
  10.  
  11. for (vbl::baseuint i = 0; i < encoded_data.Length(); ++i) {
  12. result = m_DecoderSM->Process(encoded_data[i]);
  13. if (result.IsError()) {
  14. return (result);
  15. }
  16. }
  17.  
  18. m_DecoderSM->FlushDecoder();
  19.  
  20. result = SetOutputDefinition(m_DecodedDefinition);
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement