Lines Matching refs:psource

109     OMX_U8 *pdest = NULL,*psource = NULL, match_found = FALSE, is_byte_match = 0;  in parse_sc_frame()  local
120 psource = source->pBuffer + source->nOffset; in parse_sc_frame()
164 parse_additional_start_code(psource,&parsed_length); in parse_sc_frame()
169 psource++; in parse_sc_frame()
174 if ((*psource & mask_code [3]) == start_code [3]) { in parse_sc_frame()
176 last_byte = *psource; in parse_sc_frame()
179 psource++; in parse_sc_frame()
203 is_byte_match = ((*psource & mask_code [2]) == start_code [2]); in parse_sc_frame()
207 (*psource & mask_code [3]) == start_code [3]) { in parse_sc_frame()
220 psource++; in parse_sc_frame()
239 if ((*psource & mask_code [1]) == start_code [1]) { in parse_sc_frame()
243 psource++; in parse_sc_frame()
274 psource = source->pBuffer + source->nOffset; in parse_sc_frame()
290 if ((psource [parsed_length] & mask_code [0]) == start_code[0]) { in parse_sc_frame()
298 if ((psource [parsed_length] & mask_code [1]) == start_code [1]) { in parse_sc_frame()
307 is_byte_match = ((psource[parsed_length] & mask_code [2]) == start_code [2]); in parse_sc_frame()
311 (psource[parsed_length] & mask_code [3]) == start_code [3]) { in parse_sc_frame()
331 parse_additional_start_code(psource,&parsed_length); in parse_sc_frame()
335 if ((psource [parsed_length] & mask_code [3]) == start_code [3]) { in parse_sc_frame()
336 last_byte = psource [parsed_length]; in parse_sc_frame()
360 psource = source->pBuffer + source->nOffset; in parse_sc_frame()
405 memcpy (pdest, psource, (parsed_length-bytes_to_skip)); in parse_sc_frame()
420 OMX_U8 *pdest = NULL,*psource = NULL; in parse_h264_nallength() local
453 psource = source->pBuffer + source->nOffset; in parse_h264_nallength()
459 bytes_tobeparsed |= (((OMX_U32)(*psource))) << (((nal_length-accum_length-1) << 3)); in parse_h264_nallength()
464 psource++; in parse_h264_nallength()
483 psource = source->pBuffer + source->nOffset; in parse_h264_nallength()
492 memcpy (pdest,psource,temp_len); in parse_h264_nallength()
498 memcpy (pdest,psource,bytes_tobeparsed); in parse_h264_nallength()
525 void frame_parse::parse_additional_start_code(OMX_U8 *psource, in parse_additional_start_code() argument
530 psource && in parse_additional_start_code()
535 psource [index] == 0xB3) { in parse_additional_start_code()
537 last_byte = psource [index]; in parse_additional_start_code()