/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_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_zscale.c | 382 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()
|
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_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 | vf_colorspace.c | 474 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()
|
D | vf_showinfo.c | 198 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/ |
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 | 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 | h264_ps.h | 78 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 | 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 | libdav1d.c | 286 frame->color_trc = c->color_trc = (enum AVColorTransferCharacteristic) p->seq_hdr->trc; in libdav1d_receive_frame()
|
D | utils.c | 1286 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/ |
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/ffmpeg/tests/ref/fate/ |
D | api-mjpeg-codec-param | 117 color_trc=2 260 color_trc=2
|
D | api-png-codec-param | 117 color_trc=2 260 color_trc=2
|
/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…
|