Home
last modified time | relevance | path

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

1234

/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_zscale.c384 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()
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_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_colorspace.c476 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()
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()
Dcolorspace.c188 peak = in->color_trc == AVCOL_TRC_SMPTE2084 ? 100.0f : 10.0f; in ff_determine_signal_peak()
/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()
Dcodec_par.c43 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()
Ddpx.c169 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()
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
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()
Dh264_ps.h78 enum AVColorTransferCharacteristic color_trc; member
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()
Dav1_parser.c163 avctx->color_trc = (enum AVColorTransferCharacteristic) color->transfer_characteristics; in av1_parser_parse()
/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/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…
Dmatroska.mak13 … 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…

1234