Home
last modified time | relevance | path

Searched refs:chroma_scale (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/modules/skottie/src/effects/
DHueSaturationEffect.cpp63 static sk_sp<SkColorFilter> make_saturate(float chroma_scale) { in make_saturate() argument
68 return effect->makeColorFilter(SkData::MakeWithCopy(&chroma_scale, sizeof(chroma_scale))); in make_saturate()
157 chroma_scale = s < 0 ? s + 1 : std::min(1/(1 - s), kMaxScale); in makeColorFilter() local
159 cf = SkColorFilters::Compose(std::move(cf), make_saturate(chroma_scale)); in makeColorFilter()
/third_party/ffmpeg/libavcodec/
Ddnxhddec.c43 int chroma_scale[64]; member
374 scale = row->chroma_scale; in dnxhd_decode_dct_block()
384 scale = row->chroma_scale; in dnxhd_decode_dct_block()
522 row->chroma_scale[i] = qscale * ctx->cid_table->chroma_weight[i]; in dnxhd_decode_macroblock()
/third_party/gstreamer/gstplugins_good/gst/matroska/
Dmatroska-mux.c2708 const gdouble chroma_scale = 50000; in gst_matroska_mux_write_mastering_metadata() local
2717 value = (gdouble) minfo->display_primaries[0].x / chroma_scale; in gst_matroska_mux_write_mastering_metadata()
2720 value = (gdouble) minfo->display_primaries[0].y / chroma_scale; in gst_matroska_mux_write_mastering_metadata()
2723 value = (gdouble) minfo->display_primaries[1].x / chroma_scale; in gst_matroska_mux_write_mastering_metadata()
2726 value = (gdouble) minfo->display_primaries[1].y / chroma_scale; in gst_matroska_mux_write_mastering_metadata()
2729 value = (gdouble) minfo->display_primaries[2].x / chroma_scale; in gst_matroska_mux_write_mastering_metadata()
2732 value = (gdouble) minfo->display_primaries[2].y / chroma_scale; in gst_matroska_mux_write_mastering_metadata()
2735 value = (gdouble) minfo->white_point.x / chroma_scale; in gst_matroska_mux_write_mastering_metadata()
2738 value = (gdouble) minfo->white_point.y / chroma_scale; in gst_matroska_mux_write_mastering_metadata()
Dmatroska-demux.c491 const guint chroma_scale = 50000; in gst_matroska_demux_parse_mastering_metadata() local
530 minfo.display_primaries[0].x = (guint16) (num * chroma_scale); in gst_matroska_demux_parse_mastering_metadata()
533 minfo.display_primaries[0].y = (guint16) (num * chroma_scale); in gst_matroska_demux_parse_mastering_metadata()
536 minfo.display_primaries[1].x = (guint16) (num * chroma_scale); in gst_matroska_demux_parse_mastering_metadata()
539 minfo.display_primaries[1].y = (guint16) (num * chroma_scale); in gst_matroska_demux_parse_mastering_metadata()
542 minfo.display_primaries[2].x = (guint16) (num * chroma_scale); in gst_matroska_demux_parse_mastering_metadata()
545 minfo.display_primaries[2].y = (guint16) (num * chroma_scale); in gst_matroska_demux_parse_mastering_metadata()
548 minfo.white_point.x = (guint16) (num * chroma_scale); in gst_matroska_demux_parse_mastering_metadata()
551 minfo.white_point.y = (guint16) (num * chroma_scale); in gst_matroska_demux_parse_mastering_metadata()
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavviddec.c1253 const guint64 chroma_scale = 50000; in mastering_display_metadata_av_to_gst() local
1262 gst->display_primaries[i].x = (guint16) gst_util_uint64_scale (chroma_scale, in mastering_display_metadata_av_to_gst()
1264 gst->display_primaries[i].y = (guint16) gst_util_uint64_scale (chroma_scale, in mastering_display_metadata_av_to_gst()
1268 gst->white_point.x = (guint16) gst_util_uint64_scale (chroma_scale, in mastering_display_metadata_av_to_gst()
1270 gst->white_point.y = (guint16) gst_util_uint64_scale (chroma_scale, in mastering_display_metadata_av_to_gst()