Lines Matching defs:avctx
60 static void vc1_extract_header(AVCodecParserContext *s, AVCodecContext *avctx,
67 vpc->v.s.avctx = avctx;
72 ff_vc1_decode_sequence_header(avctx, &vpc->v, &gb);
75 ff_vc1_decode_entry_point(avctx, &vpc->v, &gb);
92 if (avctx->ticks_per_frame > 1){
115 if (avctx->framerate.num)
116 avctx->time_base = av_inv_q(av_mul_q(avctx->framerate, (AVRational){avctx->ticks_per_frame, 1}));
119 if (avctx->width && avctx->height) {
120 s->width = avctx->width;
121 s->height = avctx->height;
122 s->coded_width = FFALIGN(avctx->coded_width, 16);
123 s->coded_height = FFALIGN(avctx->coded_height, 16);
128 AVCodecContext *avctx,
147 vc1_extract_header(s, avctx, unesc_buffer, unesc_index);
181 vc1_extract_header(s, avctx, unesc_buffer, unesc_index);
209 vc1_extract_header(s, avctx, unesc_buffer, unesc_index);