• 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

96     AVCodecContext *avctx;
121 static av_cold int vqa_decode_init(AVCodecContext *avctx)
123 VqaContext *s = avctx->priv_data;
126 s->avctx = avctx;
127 avctx->pix_fmt = AV_PIX_FMT_PAL8;
130 if (s->avctx->extradata_size != VQA_HEADER_SIZE) {
131 av_log(s->avctx, AV_LOG_ERROR, "expected extradata size of %d\n", VQA_HEADER_SIZE);
136 s->vqa_version = s->avctx->extradata[0];
142 avpriv_report_missing_feature(avctx, "VQA Version %d", s->vqa_version);
145 avpriv_request_sample(avctx, "VQA Version %i", s->vqa_version);
148 s->width = AV_RL16(&s->avctx->extradata[6]);
149 s->height = AV_RL16(&s->avctx->extradata[8]);
150 if ((ret = av_image_check_size(s->width, s->height, 0, avctx)) < 0) {
154 s->vector_width = s->avctx->extradata[10];
155 s->vector_height = s->avctx->extradata[11];
156 s->partial_count = s->partial_countdown = s->avctx->extradata[13];
166 av_log(avctx, AV_LOG_ERROR, "Image size not multiple of block size\n");
210 av_log(s->avctx, AV_LOG_ERROR, "decode_format80 problem: next op would overflow dest_index\n"); \
211 av_log(s->avctx, AV_LOG_ERROR, "current dest_index = %d, count = %d, dest_size = %d\n", \
218 av_log(s->avctx, AV_LOG_ERROR, "decode_format80 problem: next op would overflow dest_index\n"); \
219 av_log(s->avctx, AV_LOG_ERROR, "current src_pos = %d, count = %d, dest_size = %d\n", \
237 av_dlog(s->avctx, "opcode %02X: ", opcode);
244 av_log(s->avctx, AV_LOG_ERROR, "decode_format80 problem: dest_index (%d) exceeded dest_size (%d)\n",
253 av_dlog(s->avctx, "(1) copy %X bytes from absolute pos %X\n", count, src_pos);
264 av_dlog(s->avctx, "(2) set %X bytes to %02X\n", count, color);
273 av_dlog(s->avctx, "(3) copy %X bytes from absolute pos %X\n", count, src_pos);
283 av_dlog(s->avctx, "(4) copy %X bytes from source to dest\n", count);
292 av_dlog(s->avctx, "(5) copy %X bytes from relpos %X\n", count, src_pos);
307 av_log(s->avctx, AV_LOG_ERROR, "decode_format80 problem: decode finished with dest_index (%d) < dest_size (%d)\n",
381 av_log(s->avctx, AV_LOG_ERROR, "Found unknown chunk type: %c%c%c%c (%08X)\n",
398 av_log(s->avctx, AV_LOG_ERROR, "problem: found both CPL0 and CPLZ chunks\n");
416 av_log(s->avctx, AV_LOG_ERROR, "problem: found a palette chunk with %d colors\n",
434 av_log(s->avctx, AV_LOG_ERROR, "problem: found both CBF0 and CBFZ chunks\n");
455 av_log(s->avctx, AV_LOG_ERROR, "problem: CBF0 chunk too large (0x%X bytes)\n",
467 av_log(s->avctx, AV_LOG_ERROR, "problem: no VPTZ chunk found\n");
536 av_log(s->avctx, AV_LOG_ERROR, "problem: found both CBP0 and CBPZ chunks\n");
546 av_log(s->avctx, AV_LOG_ERROR, "cbp0 chunk too large (%u bytes)\n",
575 av_log(s->avctx, AV_LOG_ERROR, "cbpz chunk too large (%u bytes)\n",
602 static int vqa_decode_frame(AVCodecContext *avctx,
606 VqaContext *s = avctx->priv_data;
610 if ((res = ff_get_buffer(avctx, frame, 0)) < 0)
627 static av_cold int vqa_decode_end(AVCodecContext *avctx)
629 VqaContext *s = avctx->priv_data;