Lines Matching defs:avctx
83 ff_mjpeg_encode_picture_header(s->avctx, &s->pb, s->picture->f, s->mjpeg_ctx,
249 av_log(s->avctx, AV_LOG_ERROR, "Buffer reallocation failed\n");
300 use_slices = s->avctx->slices > 0 ? s->avctx->slices > 1 :
301 (s->avctx->active_thread_type & FF_THREAD_SLICE) &&
302 s->avctx->thread_count > 1;
309 av_log(s->avctx, AV_LOG_ERROR,
316 ret = ff_mjpeg_encode_check_pix_fmt(s->avctx);
364 static av_cold int mjpeg_encode_close(AVCodecContext *avctx)
366 MJPEGEncContext *const mjpeg = avctx->priv_data;
368 ff_mpv_encode_end(avctx);
592 static int amv_encode_picture(AVCodecContext *avctx, AVPacket *pkt,
595 MpegEncContext *s = avctx->priv_data;
600 av_pix_fmt_get_chroma_sub_sample(avctx->pix_fmt, &chroma_h_shift, &chroma_v_shift);
602 if ((avctx->height & 15) && avctx->strict_std_compliance > FF_COMPLIANCE_UNOFFICIAL) {
603 av_log(avctx, AV_LOG_ERROR,
605 "use vstrict=-1 / -strict -1 to use %d anyway.\n", avctx->height);
606 av_log(avctx, AV_LOG_WARNING, "If you have a device that plays AMV videos, please test if videos "
620 ret = ff_mpv_encode_picture(avctx, pkt, pic, got_packet);