Lines Matching refs:enc_ctx
40 enum AVPixelFormat choose_pixel_fmt(AVStream *st, AVCodecContext *enc_ctx, AVCodec *codec, enum AVPixelFormat target)
53 if (enc_ctx->strict_std_compliance <= FF_COMPLIANCE_UNOFFICIAL) {
54 if (enc_ctx->codec_id == AV_CODEC_ID_MJPEG) {
56 } else if (enc_ctx->codec_id == AV_CODEC_ID_LJPEG) {
105 av_opt_set(ost->enc_ctx, "strict", strict_dict->value, 0);
111 if (ost->enc_ctx->pix_fmt == AV_PIX_FMT_NONE)
113 return av_strdup(av_get_pix_fmt_name(ost->enc_ctx->pix_fmt));
115 if (ost->enc_ctx->pix_fmt != AV_PIX_FMT_NONE) {
116 return av_strdup(av_get_pix_fmt_name(choose_pixel_fmt(ost->st, ost->enc_ctx, ost->enc, ost->enc_ctx->pix_fmt)));
127 if (ost->enc_ctx->strict_std_compliance <= FF_COMPLIANCE_UNOFFICIAL) {
128 if (ost->enc_ctx->codec_id == AV_CODEC_ID_MJPEG) {
130 } else if (ost->enc_ctx->codec_id == AV_CODEC_ID_LJPEG) {
152 if (ost->enc_ctx->var != none) { \
153 get_name(ost->enc_ctx->var); \
347 AVCodecContext *codec = ost->enc_ctx;
437 AVCodecContext *codec = ost->enc_ctx;
929 ost->enc_ctx->frame_size);