• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/

Lines Matching refs:avctx

36     AVCodecContext *avctx;
69 static av_cold int dnxhd_decode_init(AVCodecContext *avctx)
71 DNXHDContext *ctx = avctx->priv_data;
73 ctx->avctx = avctx;
84 av_log(ctx->avctx, AV_LOG_ERROR, "unsupported cid %d\n", cid);
88 av_log(ctx->avctx, AV_LOG_ERROR, "bit depth mismatches %d %d\n", ff_dnxhd_cid_table[index].bit_depth, ctx->bit_depth);
126 av_log(ctx->avctx, AV_LOG_ERROR, "error in header\n");
133 av_log(ctx->avctx, AV_LOG_DEBUG,
140 av_dlog(ctx->avctx, "width %d, height %d\n", ctx->width, ctx->height);
144 ctx->avctx->pix_fmt = AV_PIX_FMT_YUV444P10;
145 ctx->avctx->bits_per_raw_sample = 10;
147 ff_blockdsp_init(&ctx->bdsp, ctx->avctx);
148 ff_idctdsp_init(&ctx->idsp, ctx->avctx);
154 ctx->avctx->pix_fmt = AV_PIX_FMT_YUV422P10;
155 ctx->avctx->bits_per_raw_sample = 10;
157 ff_blockdsp_init(&ctx->bdsp, ctx->avctx);
158 ff_idctdsp_init(&ctx->idsp, ctx->avctx);
163 ctx->avctx->pix_fmt = AV_PIX_FMT_YUV422P;
164 ctx->avctx->bits_per_raw_sample = 8;
166 ff_blockdsp_init(&ctx->bdsp, ctx->avctx);
167 ff_idctdsp_init(&ctx->idsp, ctx->avctx);
174 av_dlog(ctx->avctx, "compression id %d\n", cid);
180 av_log(ctx->avctx, AV_LOG_ERROR, "incorrect frame size\n");
187 av_dlog(ctx->avctx,
195 av_log(ctx->avctx, AV_LOG_ERROR,
202 av_dlog(ctx->avctx, "mb scan index %d\n", ctx->mb_scan_index[i]);
204 av_log(ctx->avctx, AV_LOG_ERROR, "invalid mb scan index\n");
286 av_log(ctx->avctx, AV_LOG_ERROR, "ac tex damaged %d, %d\n", n, i);
379 if (!(ctx->avctx->flags & CODEC_FLAG_GRAY)) {
392 if (!(ctx->avctx->flags & CODEC_FLAG_GRAY)) {
426 static int dnxhd_decode_frame(AVCodecContext *avctx, void *data,
431 DNXHDContext *ctx = avctx->priv_data;
437 av_dlog(avctx, "frame size %d\n", buf_size);
443 if ((avctx->width || avctx->height) &&
444 (ctx->width != avctx->width || ctx->height != avctx->height)) {
445 av_log(avctx, AV_LOG_WARNING, "frame size changed: %dx%d -> %dx%d\n",
446 avctx->width, avctx->height, ctx->width, ctx->height);
450 ret = ff_set_dimensions(avctx, ctx->width, ctx->height);
455 if ((ret = ff_thread_get_buffer(avctx, &frame, 0)) < 0)
474 static av_cold int dnxhd_decode_close(AVCodecContext *avctx)
476 DNXHDContext *ctx = avctx->priv_data;