Lines Matching defs:avctx

38     AVCodecContext *avctx;
58 av_log(ctx->avctx, AV_LOG_ERROR, "To long VLCs %d\n", num_lens);
67 av_log(ctx->avctx, AV_LOG_ERROR,
81 symbols, 1, 1, 0, 0, ctx->avctx);
104 for (i = 0; i < ctx->avctx->width; i++) {
170 for (i = 0; i < ctx->avctx->width; i++) {
199 for (i = 0; i < ctx->avctx->width >> is_chroma; i++) {
217 AVCodecContext *avctx = ctx->avctx;
240 av_log(ctx->avctx, AV_LOG_ERROR,
247 for (i = 0; i < avctx->height; i++) {
261 AVCodecContext *avctx = ctx->avctx;
283 av_log(ctx->avctx, AV_LOG_ERROR,
290 for (i = 0; i < avctx->height; i++) {
305 AVCodecContext *avctx = ctx->avctx;
325 avpriv_request_sample(ctx->avctx, "Blocked YUV");
336 av_log(ctx->avctx, AV_LOG_ERROR,
343 for (i = 0; i < avctx->height; i++) {
358 static int cllc_decode_frame(AVCodecContext *avctx, AVFrame *pic,
361 CLLCContext *ctx = avctx->priv_data;
369 av_log(avctx, AV_LOG_ERROR, "Frame is too small %d.\n", avpkt->size);
378 av_log(avctx, AV_LOG_ERROR,
383 ff_canopus_parse_info_tag(avctx, src + 8, info_offset);
395 av_log(avctx, AV_LOG_ERROR, "Could not allocate swapped buffer.\n");
415 av_log(avctx, AV_LOG_DEBUG, "Frame coding type: %d\n", coding_type);
417 if(get_bits_left(&gb) < avctx->height * avctx->width)
422 avctx->pix_fmt = AV_PIX_FMT_YUV422P;
423 avctx->bits_per_raw_sample = 8;
425 if ((ret = ff_thread_get_buffer(avctx, pic, 0)) < 0)
435 avctx->pix_fmt = AV_PIX_FMT_RGB24;
436 avctx->bits_per_raw_sample = 8;
438 if ((ret = ff_thread_get_buffer(avctx, pic, 0)) < 0)
447 avctx->pix_fmt = AV_PIX_FMT_ARGB;
448 avctx->bits_per_raw_sample = 8;
450 if ((ret = ff_thread_get_buffer(avctx, pic, 0)) < 0)
459 av_log(avctx, AV_LOG_ERROR, "Unknown coding type: %d.\n", coding_type);
471 static av_cold int cllc_decode_close(AVCodecContext *avctx)
473 CLLCContext *ctx = avctx->priv_data;
480 static av_cold int cllc_decode_init(AVCodecContext *avctx)
482 CLLCContext *ctx = avctx->priv_data;
485 ctx->avctx = avctx;