Lines Matching refs:pc
36 ParseContext pc;
42 int ff_mpeg4_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size)
48 static int mpeg4_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size)
54 vop_found = pc->frame_start_found;
55 state = pc->state;
78 pc->frame_start_found = 0;
79 pc->state = -1;
84 pc->frame_start_found = vop_found;
85 pc->state = state;
93 struct Mp4vParseContext *pc = s1->priv_data;
94 Mpeg4DecContext *dec_ctx = &pc->dec_ctx;
102 if (avctx->extradata_size && pc->first_picture) {
125 pc->first_picture = 0;
131 struct Mp4vParseContext *pc = s->priv_data;
133 pc->first_picture = 1;
134 pc->dec_ctx.m.quant_precision = 5;
135 pc->dec_ctx.m.slice_context_count = 1;
136 pc->dec_ctx.showed_packed_warning = 1;
145 ParseContext *pc = s->priv_data;
152 next = ff_mpeg4_find_frame_end(pc, buf, buf_size);
154 next = mpeg4_find_frame_end(pc, buf, buf_size);
157 if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) {