• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/

Lines Matching refs:avctx

43     AVCodecContext *avctx;
54 av_log (s->avctx, AV_LOG_INFO, "Problem: stream_ptr out of bounds (%d >= %d)\n", \
61 av_log (s->avctx, AV_LOG_INFO, "Problem: pixel_ptr = %d, pixel_limit = %d\n", \
73 int pixel_limit = s->frame.linesize[0] * s->avctx->height;
124 int pixel_limit = s->frame.linesize[0] * s->avctx->height;
181 int pixel_limit = s->frame.linesize[0] * s->avctx->height;
234 int pixel_limit = s->frame.linesize[0] * s->avctx->height;
283 int pixel_limit = s->frame.linesize[0] * s->avctx->height;
333 int pixel_limit = s->frame.linesize[0] * s->avctx->height;
375 static av_cold int qtrle_decode_init(AVCodecContext *avctx)
377 QtrleContext *s = avctx->priv_data;
379 s->avctx = avctx;
380 switch (avctx->bits_per_coded_sample) {
383 avctx->pix_fmt = PIX_FMT_MONOWHITE;
392 avctx->pix_fmt = PIX_FMT_PAL8;
396 avctx->pix_fmt = PIX_FMT_RGB555;
400 avctx->pix_fmt = PIX_FMT_RGB24;
404 avctx->pix_fmt = PIX_FMT_RGB32;
408 av_log (avctx, AV_LOG_ERROR, "Unsupported colorspace: %d bits/sample?\n",
409 avctx->bits_per_coded_sample);
418 static int qtrle_decode_frame(AVCodecContext *avctx,
424 QtrleContext *s = avctx->priv_data;
435 if (avctx->reget_buffer(avctx, &s->frame)) {
436 av_log (s->avctx, AV_LOG_ERROR, "reget_buffer() failed\n");
461 height = s->avctx->height;
465 switch (avctx->bits_per_coded_sample) {
502 av_log (s->avctx, AV_LOG_ERROR, "Unsupported colorspace: %d bits/sample?\n",
503 avctx->bits_per_coded_sample);
527 static av_cold int qtrle_decode_end(AVCodecContext *avctx)
529 QtrleContext *s = avctx->priv_data;
532 avctx->release_buffer(avctx, &s->frame);