Lines Matching refs:start_code
49 start_code(NULL), in frame_parse()
79 start_code = H264_start_code; in init_start_codes()
83 start_code = MPEG2_start_code; in init_start_codes()
144 memcpy (pdest,start_code,4); in parse_sc_frame()
146 if (start_code == MPEG2_start_code) { in parse_sc_frame()
174 if ((*psource & mask_code [3]) == start_code [3]) { in parse_sc_frame()
180 … } else if ((start_code [1] == start_code [0]) && (start_code [2] == start_code [1])) { in parse_sc_frame()
182 memcpy (pdest,start_code,1); in parse_sc_frame()
186 } else if (start_code [2] == start_code [0]) { in parse_sc_frame()
188 memcpy (pdest,start_code,2); in parse_sc_frame()
194 memcpy (pdest,start_code,3); in parse_sc_frame()
203 is_byte_match = ((*psource & mask_code [2]) == start_code [2]); in parse_sc_frame()
206 if (start_code == H264_start_code && in parse_sc_frame()
207 (*psource & mask_code [3]) == start_code [3]) { in parse_sc_frame()
221 } else if (start_code [1] == start_code [0]) { in parse_sc_frame()
223 memcpy (pdest,start_code,1); in parse_sc_frame()
229 memcpy (pdest,start_code,2); in parse_sc_frame()
239 if ((*psource & mask_code [1]) == start_code [1]) { in parse_sc_frame()
245 memcpy (pdest,start_code,1); 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()
310 if (start_code == H264_start_code && in parse_sc_frame()
311 (psource[parsed_length] & mask_code [3]) == start_code [3]) { in parse_sc_frame()
323 } else if (start_code [1] == start_code [0]) { in parse_sc_frame()
335 if ((psource [parsed_length] & mask_code [3]) == start_code [3]) { in parse_sc_frame()
339 … } else if ((start_code [1] == start_code [0]) && (start_code [2] == start_code [1])) { in parse_sc_frame()
341 } else if (start_code [2] == start_code [0]) { in parse_sc_frame()
529 if ((start_code == MPEG2_start_code) && in parse_additional_start_code()
534 if (start_code == MPEG2_start_code && in parse_additional_start_code()
550 if ((start_code == MPEG2_start_code) && in check_skip_frame_boundary()
564 if ((start_code == MPEG2_start_code) && in update_skip_frame()