Lines Matching defs:avctx
51 static av_cold int imm5_init(AVCodecContext *avctx)
53 IMM5Context *ctx = avctx->priv_data;
64 ctx->h264_avctx->flags = avctx->flags;
65 ctx->h264_avctx->flags2 = avctx->flags2;
77 ctx->hevc_avctx->flags = avctx->flags;
78 ctx->hevc_avctx->flags2 = avctx->flags2;
86 static int imm5_decode_frame(AVCodecContext *avctx, AVFrame *frame,
89 IMM5Context *ctx = avctx->priv_data;
137 av_log(avctx, AV_LOG_ERROR, "Error submitting a packet for decoding\n");
145 avctx->pix_fmt = codec_avctx->pix_fmt;
146 avctx->coded_width = codec_avctx->coded_width;
147 avctx->coded_height = codec_avctx->coded_height;
148 avctx->width = codec_avctx->width;
149 avctx->height = codec_avctx->height;
150 avctx->bit_rate = codec_avctx->bit_rate;
151 avctx->colorspace = codec_avctx->colorspace;
152 avctx->color_range = codec_avctx->color_range;
153 avctx->color_trc = codec_avctx->color_trc;
154 avctx->color_primaries = codec_avctx->color_primaries;
155 avctx->chroma_sample_location = codec_avctx->chroma_sample_location;
162 static void imm5_flush(AVCodecContext *avctx)
164 IMM5Context *ctx = avctx->priv_data;
170 static av_cold int imm5_close(AVCodecContext *avctx)
172 IMM5Context *ctx = avctx->priv_data;