Searched refs:chroma_scale (Results 1 – 5 of 5) sorted by relevance
63 static sk_sp<SkColorFilter> make_saturate(float chroma_scale) { in make_saturate() argument68 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() local159 cf = SkColorFilters::Compose(std::move(cf), make_saturate(chroma_scale)); in makeColorFilter()
43 int chroma_scale[64]; member374 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()
2708 const gdouble chroma_scale = 50000; in gst_matroska_mux_write_mastering_metadata() local2717 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()
491 const guint chroma_scale = 50000; in gst_matroska_demux_parse_mastering_metadata() local530 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()
1253 const guint64 chroma_scale = 50000; in mastering_display_metadata_av_to_gst() local1262 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()