Lines Matching refs:frame_start_found
203 av_assert1(pc->frame_start_found >= 0 && pc->frame_start_found <= 4);
204 if (pc->frame_start_found & 1) {
206 pc->frame_start_found--;
209 pc->frame_start_found = 0;
211 pc->frame_start_found = (pc->frame_start_found + 1) & 3;
216 if (pc->frame_start_found == 0 && state >= SLICE_MIN_START_CODE && state <= SLICE_MAX_START_CODE) {
218 pc->frame_start_found = 4;
221 pc->frame_start_found = 0;
225 if (pc->frame_start_found == 2 && state == SEQ_START_CODE)
226 pc->frame_start_found = 0;
227 if (pc->frame_start_found < 4 && state == EXT_START_CODE)
228 pc->frame_start_found++;
229 if (pc->frame_start_found == 4 && (state & 0xFFFFFF00) == 0x100) {
231 pc->frame_start_found = 0;
236 if (pc->frame_start_found == 0 && s && state == PICTURE_START_CODE) {