Home
last modified time | relevance | path

Searched refs:color_trc (Results 1 – 25 of 75) sorted by relevance

123

/third_party/ffmpeg/libavfilter/
Dvaapi_vpp.c241 enum AVColorTransferCharacteristic color_trc; member
298 2 * (props->color_trc != AVCOL_TRC_UNSPECIFIED) + in vaapi_vpp_fill_colour_standard()
318 if (props->color_trc != AVCOL_TRC_UNSPECIFIED) in vaapi_vpp_fill_colour_standard()
319 score += 2 * (props->color_trc != t->color_trc); in vaapi_vpp_fill_colour_standard()
402 av_color_transfer_name(props->color_trc), in vaapi_vpp_fill_colour_properties()
443 .color_trc = input_frame->color_trc, in vaapi_vpp_colour_properties()
456 .color_trc = output_frame->color_trc, in vaapi_vpp_colour_properties()
484 output_frame->color_trc = output_standard->color_trc; in vaapi_vpp_colour_properties()
497 .transfer_characteristics = input_props.color_trc, in vaapi_vpp_colour_properties()
506 .transfer_characteristics = output_props.color_trc, in vaapi_vpp_colour_properties()
Dvf_setparams.c39 int color_trc; member
80 …{"color_trc", "select color transfer", OFFSET(color_trc), AV_OPT_TYPE_INT, {.i64=-1}, -1, AVCOL_TR…
141 if (s->color_trc >= 0) in filter_frame()
142 frame->color_trc = s->color_trc; in filter_frame()
198 s->color_trc = -1; in init_setrange()
232 s->color_trc = -1; in init_setfield()
Dvf_tonemap_opencl.c372 output->color_trc = ctx->trc; in tonemap_opencl_filter_frame()
380 ctx->trc_in = input->color_trc; in tonemap_opencl_filter_frame()
381 ctx->trc_out = output->color_trc; in tonemap_opencl_filter_frame()
391 if (!(input->color_trc == AVCOL_TRC_SMPTE2084 || in tonemap_opencl_filter_frame()
392 input->color_trc == AVCOL_TRC_ARIB_STD_B67)) { in tonemap_opencl_filter_frame()
Dvf_zscale.c382 static int convert_trc(enum AVColorTransferCharacteristic color_trc) in convert_trc() argument
384 switch (color_trc) { in convert_trc()
474 format->transfer_characteristics = transfer == - 1 ? convert_trc(frame->color_trc) : transfer; in format_init()
573 || s->in_trc != in->color_trc in filter_frame()
577 || s->out_trc != out->color_trc in filter_frame()
620 out->color_trc = (int)s->dst_format.transfer_characteristics; in filter_frame()
631 s->in_trc = in->color_trc; in filter_frame()
635 s->out_trc = out->color_trc; in filter_frame()
679 out->color_trc = (int)s->dst_format.transfer_characteristics; in filter_frame()
Dvf_tonemap.c249 if (in->color_trc == AVCOL_TRC_UNSPECIFIED) { in filter_frame()
251 out->color_trc = AVCOL_TRC_LINEAR; in filter_frame()
252 } else if (in->color_trc != AVCOL_TRC_LINEAR) in filter_frame()
Dvf_tonemap_vaapi.c56 if (input_frame->color_trc != AVCOL_TRC_SMPTE2084) { in tonemap_vaapi_save_metadata()
287 output_frame->color_trc = ctx->color_transfer; in tonemap_vaapi_filter_frame()
289 output_frame->color_trc = AVCOL_TRC_BT709; in tonemap_vaapi_filter_frame()
Dvf_colorspace.c474 if (in->color_trc != s->in_trc) s->in_txchr = NULL; in create_filtergraph()
475 if (out->color_trc != s->out_trc) s->out_txchr = NULL; in create_filtergraph()
546 s->in_trc = in->color_trc; in create_filtergraph()
562 s->out_trc = out->color_trc; in create_filtergraph()
792 out->color_trc = default_trc[FFMIN(s->user_all, CS_NB)]; in filter_frame()
793 if (out->color_trc == AVCOL_TRC_BT2020_10 && desc && desc->comp[0].depth >= 12) in filter_frame()
794 out->color_trc = AVCOL_TRC_BT2020_12; in filter_frame()
796 out->color_trc = s->user_trc; in filter_frame()
Dvf_showinfo.c198 const char *color_trc_str = av_color_transfer_name(frame->color_trc); in dump_color_property()
218 if (!color_trc_str || frame->color_trc == AVCOL_TRC_UNSPECIFIED) { in dump_color_property()
/third_party/ffmpeg/libavcodec/
Ddirac.c125 enum AVColorTransferCharacteristic color_trc; member
293 dsh->color_trc = dirac_color_presets[idx].color_trc; in parse_source_parameters()
312 dsh->color_trc = AVCOL_TRC_BT709; in parse_source_parameters()
318 dsh->color_trc = dirac_color_presets[idx].color_trc; in parse_source_parameters()
Dimm5.c154 avctx->color_trc = codec_avctx->color_trc; in imm5_decode_frame()
Dcodec_par.h148 enum AVColorTransferCharacteristic color_trc; member
Ddirac.h109 enum AVColorTransferCharacteristic color_trc; member
Dh264_ps.h78 enum AVColorTransferCharacteristic color_trc; member
Dlibx265.c185 (avctx->color_trc <= AVCOL_TRC_ARIB_STD_B67 && in libx265_encode_init()
186 avctx->color_trc != AVCOL_TRC_UNSPECIFIED) || in libx265_encode_init()
194 ctx->params->vui.transferCharacteristics = avctx->color_trc; in libx265_encode_init()
196 if (avctx->color_trc == AVCOL_TRC_ARIB_STD_B67) in libx265_encode_init()
Dmediacodecdec_common.c304 frame->color_trc = avctx->color_trc; in mediacodec_wrap_hw_buffer()
527 avctx->color_trc = mcdec_get_color_trc(color_transfer); in mediacodec_dec_parse_format()
Dlibdav1d.c286 frame->color_trc = c->color_trc = (enum AVColorTransferCharacteristic) p->seq_hdr->trc; in libdav1d_receive_frame()
Dutils.c1286 enc->color_trc != AVCOL_TRC_UNSPECIFIED) { in avcodec_string()
1288 enc->colorspace != (int)enc->color_trc) { in avcodec_string()
1293 av_color_transfer_name(enc->color_trc)); in avcodec_string()
2053 par->color_trc = AVCOL_TRC_UNSPECIFIED; in codec_parameters_reset()
2123 par->color_trc = codec->color_trc; in avcodec_parameters_from_context()
2178 codec->color_trc = par->color_trc; in avcodec_parameters_to_context()
/third_party/ffmpeg/libavformat/
Doggparsedirac.c50 st->codecpar->color_trc = dsh->color_trc; in dirac_header()
Dvpcc.c163 avio_w8(pb, par->color_trc); in ff_isom_write_vpcc()
Dvapoursynth.c401 frame->color_trc = get_vs_prop_int(s, props, "_Transfer", frame->color_trc); in read_packet_vs()
/third_party/ffmpeg/tests/ref/fate/
Dapi-mjpeg-codec-param117 color_trc=2
260 color_trc=2
Dapi-png-codec-param117 color_trc=2
260 color_trc=2
/third_party/flutter/skia/experimental/ffmpeg/
DSkVideoDecoder.cpp211 fCSCache.update(frame->color_primaries, frame->color_trc); in convertFrame()
216 SkASSERT(fDecoderCtx->color_trc == frame->color_trc); in convertFrame()
/third_party/skia/experimental/ffmpeg/
DSkVideoDecoder.cpp208 fCSCache.update(frame->color_primaries, frame->color_trc); in convertFrame()
213 SkASSERT(fDecoderCtx->color_trc == frame->color_trc); in convertFrame()
/third_party/ffmpeg/tests/fate/
Dprores.mak26 …_422_Proxy.mov -c:v copy -bsf:v prores_metadata=color_primaries=bt470bg:color_trc=bt709:colorspace…

123