Lines Matching defs:avctx
43 AVCodecContext *avctx;
208 static int tscc2_decode_frame(AVCodecContext *avctx, AVFrame *rframe,
213 TSCC2Context *c = avctx->priv_data;
223 av_log(avctx, AV_LOG_ERROR, "Incorrect frame type %"PRIu32"\n",
233 if ((ret = ff_reget_buffer(avctx, c->pic, 0)) < 0) {
238 av_log(avctx, AV_LOG_ERROR, "Frame is too short\n");
246 av_log(avctx, AV_LOG_ERROR, "Invalid quantisers %d / %d\n",
260 av_log(avctx, AV_LOG_ERROR, "Slice properties chunk is too large\n");
269 av_log(avctx, AV_LOG_ERROR, "Too many slice properties\n");
276 av_log(avctx, AV_LOG_ERROR, "Too few slice properties (%d / %d)\n",
298 av_log(avctx, AV_LOG_ERROR, "Non-skip row with zero size\n");
303 av_log(avctx, AV_LOG_ERROR, "Invalid slice size (%"PRIu32"/%u)\n",
309 av_log(avctx, AV_LOG_ERROR, "Error decoding slice %d\n", i);
323 static av_cold int tscc2_decode_end(AVCodecContext *avctx)
325 TSCC2Context * const c = avctx->priv_data;
333 static av_cold int tscc2_decode_init(AVCodecContext *avctx)
335 TSCC2Context * const c = avctx->priv_data;
338 c->avctx = avctx;
340 avctx->pix_fmt = AV_PIX_FMT_YUV444P;
342 c->mb_width = FFALIGN(avctx->width, 16) >> 4;
343 c->mb_height = FFALIGN(avctx->height, 8) >> 3;
346 av_log(avctx, AV_LOG_ERROR, "Cannot allocate slice information\n");