Lines Matching refs:source
144 int frame_parse::parse_sc_frame ( OMX_BUFFERHEADERTYPE *source, in parse_sc_frame() argument
153 if (source == NULL || dest == NULL || partialframe == NULL) in parse_sc_frame()
160 psource = source->pBuffer + source->nOffset; in parse_sc_frame()
162 source_len = source->nFilledLen; in parse_sc_frame()
169 if (source_len == 0 && (source->nFlags & 0x01)) in parse_sc_frame()
183 dest->nFlags = source->nFlags; in parse_sc_frame()
184 dest->nTimeStamp = source->nTimeStamp; in parse_sc_frame()
210 while ( source->nFilledLen > 0 && parse_state != A0 in parse_sc_frame()
220 source->nFilledLen--; in parse_sc_frame()
221 source->nOffset++; in parse_sc_frame()
230 source->nFilledLen--; in parse_sc_frame()
231 source->nOffset++; in parse_sc_frame()
290 source->nFilledLen--; in parse_sc_frame()
291 source->nOffset++; in parse_sc_frame()
317 source->nFilledLen--; in parse_sc_frame()
318 source->nOffset++; in parse_sc_frame()
350 psource = source->pBuffer + source->nOffset; in parse_sc_frame()
352 source_len = source->nFilledLen; in parse_sc_frame()
460 psource = source->pBuffer + source->nOffset; in parse_sc_frame()
508 if (source->nFilledLen < parsed_length) in parse_sc_frame()
513 source->nFilledLen -= parsed_length; in parse_sc_frame()
514 source->nOffset += parsed_length; in parse_sc_frame()
520 int frame_parse::parse_h264_nallength (OMX_BUFFERHEADERTYPE *source, in parse_h264_nallength() argument
527 if (source == NULL || dest == NULL || partialframe == NULL) in parse_h264_nallength()
534 source_len = source->nFilledLen; in parse_h264_nallength()
544 psource = source->pBuffer + source->nOffset; in parse_h264_nallength()
557 source->nFilledLen--; in parse_h264_nallength()
558 source->nOffset++; in parse_h264_nallength()
576 source_len = source->nFilledLen; in parse_h264_nallength()
579 psource = source->pBuffer + source->nOffset; in parse_h264_nallength()
582 dest->nTimeStamp = source->nTimeStamp; in parse_h264_nallength()
583 dest->nFlags = source->nFlags; in parse_h264_nallength()
592 source->nOffset += temp_len; in parse_h264_nallength()
593 source->nFilledLen -= temp_len; in parse_h264_nallength()
601 source->nOffset += bytes_tobeparsed; in parse_h264_nallength()
602 source->nFilledLen -= bytes_tobeparsed; in parse_h264_nallength()