/third_party/ffmpeg/libavfilter/ |
D | vaapi_vpp.c | 241 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()
|
D | vf_setparams.c | 39 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()
|
D | vf_zscale.c | 384 static int convert_trc(enum AVColorTransferCharacteristic color_trc) in convert_trc() argument 386 switch (color_trc) { in convert_trc() 476 format->transfer_characteristics = transfer == - 1 ? convert_trc(frame->color_trc) : transfer; in format_init() 575 || s->in_trc != in->color_trc in filter_frame() 579 || s->out_trc != out->color_trc in filter_frame() 624 out->color_trc = (int)s->dst_format.transfer_characteristics; in filter_frame() 635 s->in_trc = in->color_trc; in filter_frame() 639 s->out_trc = out->color_trc; in filter_frame() 683 out->color_trc = (int)s->dst_format.transfer_characteristics; in filter_frame()
|
D | vf_tonemap_opencl.c | 372 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()
|
D | vf_tonemap.c | 249 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()
|
D | vf_colorspace.c | 476 if (in->color_trc != s->in_trc) s->in_txchr = NULL; in create_filtergraph() 477 if (out->color_trc != s->out_trc) s->out_txchr = NULL; in create_filtergraph() 548 s->in_trc = in->color_trc; in create_filtergraph() 564 s->out_trc = out->color_trc; in create_filtergraph() 794 out->color_trc = default_trc[FFMIN(s->user_all, CS_NB)]; in filter_frame() 795 if (out->color_trc == AVCOL_TRC_BT2020_10 && desc && desc->comp[0].depth >= 12) in filter_frame() 796 out->color_trc = AVCOL_TRC_BT2020_12; in filter_frame() 798 out->color_trc = s->user_trc; in filter_frame()
|
D | vf_tonemap_vaapi.c | 56 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()
|
D | colorspace.c | 188 peak = in->color_trc == AVCOL_TRC_SMPTE2084 ? 100.0f : 10.0f; in ff_determine_signal_peak()
|
/third_party/ffmpeg/libavcodec/ |
D | dirac.c | 125 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()
|
D | codec_par.c | 43 par->color_trc = AVCOL_TRC_UNSPECIFIED; in codec_parameters_reset() 113 par->color_trc = codec->color_trc; in avcodec_parameters_from_context() 168 codec->color_trc = par->color_trc; in avcodec_parameters_to_context()
|
D | dpx.c | 169 int yuv, color_trc, color_spec; in decode_frame() local 229 color_trc = buf[1]; in decode_frame() 406 switch (color_trc) { in decode_frame() 408 avctx->color_trc = AVCOL_TRC_LINEAR; in decode_frame() 412 avctx->color_trc = AVCOL_TRC_BT709; in decode_frame() 417 avctx->color_trc = AVCOL_TRC_SMPTE170M; in decode_frame() 420 avctx->color_trc = AVCOL_TRC_GAMMA28; in decode_frame() 428 "%d to color_trc.\n", color_trc); in decode_frame()
|
D | imm5.c | 154 avctx->color_trc = codec_avctx->color_trc; in imm5_decode_frame()
|
D | codec_par.h | 148 enum AVColorTransferCharacteristic color_trc; member
|
D | dirac.h | 109 enum AVColorTransferCharacteristic color_trc; member
|
D | libx265.c | 185 (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()
|
D | h264_ps.h | 78 enum AVColorTransferCharacteristic color_trc; member
|
D | mediacodecdec_common.c | 304 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()
|
D | av1_parser.c | 163 avctx->color_trc = (enum AVColorTransferCharacteristic) color->transfer_characteristics; in av1_parser_parse()
|
/third_party/ffmpeg/libavformat/ |
D | oggparsedirac.c | 50 st->codecpar->color_trc = dsh->color_trc; in dirac_header()
|
D | vpcc.c | 163 avio_w8(pb, par->color_trc); in ff_isom_write_vpcc()
|
D | vapoursynth.c | 401 frame->color_trc = get_vs_prop_int(s, props, "_Transfer", frame->color_trc); in read_packet_vs()
|
/third_party/flutter/skia/experimental/ffmpeg/ |
D | SkVideoDecoder.cpp | 211 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/ |
D | SkVideoDecoder.cpp | 208 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/ |
D | prores.mak | 26 …_422_Proxy.mov -c:v copy -bsf:v prores_metadata=color_primaries=bt470bg:color_trc=bt709:colorspace…
|
D | matroska.mak | 13 … md5pipe -i $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-2pass-akiyo.webm -color_trc 4 -c:v copy -ffl… 76 …position:1 -default -default_mode passthrough -color_primaries:1 bt709 -color_trc:1 smpte170m -col…
|