Home
last modified time | relevance | path

Searched refs:colorPrimaries (Results 1 – 25 of 61) sorted by relevance

123

/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_layers.cpp48 color_metadata->colorPrimaries = ColorPrimaries_BT601_6_525; in SetCSC()
51 color_metadata->colorPrimaries = ColorPrimaries_BT709_5; in SetCSC()
55 color_metadata->colorPrimaries = ColorPrimaries_BT2020; in SetCSC()
196 valid = GetColorPrimary(dataspace, &(color_metadata->colorPrimaries)); in GetSDMColorSpace()
949 layer_buffer->color_metadata.colorPrimaries != csc.colorPrimaries || in ValidateAndSetCSC()
955 layer_buffer->color_metadata.colorPrimaries = csc.colorPrimaries; in ValidateAndSetCSC()
960 if (IsBT2020(layer_buffer->color_metadata.colorPrimaries)) { in ValidateAndSetCSC()
972 new_metadata.colorPrimaries = layer_buffer->color_metadata.colorPrimaries; in ValidateAndSetCSC()
976 if ((layer_buffer->color_metadata.colorPrimaries != new_metadata.colorPrimaries) || in ValidateAndSetCSC()
979 layer_buffer->color_metadata.colorPrimaries = new_metadata.colorPrimaries; in ValidateAndSetCSC()
/hardware/qcom/sm7250/display/composer/
Dhwc_layers.cpp49 color_metadata->colorPrimaries = ColorPrimaries_BT601_6_525; in SetCSC()
52 color_metadata->colorPrimaries = ColorPrimaries_BT709_5; in SetCSC()
56 color_metadata->colorPrimaries = ColorPrimaries_BT2020; in SetCSC()
197 valid = GetColorPrimary(dataspace, &(color_metadata->colorPrimaries)); in GetSDMColorSpace()
939 layer_buffer->color_metadata.colorPrimaries != csc.colorPrimaries || in ValidateAndSetCSC()
945 layer_buffer->color_metadata.colorPrimaries = csc.colorPrimaries; in ValidateAndSetCSC()
950 if (IsBT2020(layer_buffer->color_metadata.colorPrimaries)) { in ValidateAndSetCSC()
962 new_metadata.colorPrimaries = layer_buffer->color_metadata.colorPrimaries; in ValidateAndSetCSC()
966 if ((layer_buffer->color_metadata.colorPrimaries != new_metadata.colorPrimaries) || in ValidateAndSetCSC()
969 layer_buffer->color_metadata.colorPrimaries = new_metadata.colorPrimaries; in ValidateAndSetCSC()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_tonemapper.cpp104 tone_map_config_.colorPrimaries = layer->input_buffer.color_metadata.colorPrimaries; in SetToneMapConfig()
116 (buffer.color_metadata.colorPrimaries == tone_map_config_.colorPrimaries) && in IsSameToneMapConfig()
Dhwc_tonemapper.h50 ColorPrimaries colorPrimaries = ColorPrimaries_Max; member
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_tonemapper.cpp104 tone_map_config_.colorPrimaries = layer->input_buffer.color_metadata.colorPrimaries; in SetToneMapConfig()
116 (buffer.color_metadata.colorPrimaries == tone_map_config_.colorPrimaries) && in IsSameToneMapConfig()
Dhwc_tonemapper.h50 ColorPrimaries colorPrimaries = ColorPrimaries_Max; member
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_layers.cpp50 color_metadata->colorPrimaries = ColorPrimaries_BT601_6_525; in SetCSC()
53 color_metadata->colorPrimaries = ColorPrimaries_BT709_5; in SetCSC()
57 color_metadata->colorPrimaries = ColorPrimaries_BT2020; in SetCSC()
157 valid = GetColorPrimary(dataspace, &(color_metadata->colorPrimaries)); in GetSDMColorSpace()
737 if (layer_->input_buffer.color_metadata.colorPrimaries <= ColorPrimaries_BT601_6_525 && in SupportLocalConversion()
763 layer_buffer->color_metadata.colorPrimaries = csc.colorPrimaries; in ValidateAndSetCSC()
768 if (IsBT2020(layer_buffer->color_metadata.colorPrimaries)) { in ValidateAndSetCSC()
Dhwc_tonemapper.h67 ColorPrimaries colorPrimaries = ColorPrimaries_Max; member
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_layers.cpp50 color_metadata->colorPrimaries = ColorPrimaries_BT601_6_525; in SetCSC()
53 color_metadata->colorPrimaries = ColorPrimaries_BT709_5; in SetCSC()
57 color_metadata->colorPrimaries = ColorPrimaries_BT2020; in SetCSC()
160 valid = GetColorPrimary(dataspace, &(color_metadata->colorPrimaries)); in GetSDMColorSpace()
735 if (layer_->input_buffer.color_metadata.colorPrimaries <= ColorPrimaries_BT601_6_525 && in SupportLocalConversion()
762 layer_buffer->color_metadata.colorPrimaries = csc.colorPrimaries; in ValidateAndSetCSC()
767 if (IsBT2020(layer_buffer->color_metadata.colorPrimaries)) { in ValidateAndSetCSC()
Dhwc_tonemapper.cpp152 tone_map_config_.colorPrimaries = layer->input_buffer.color_metadata.colorPrimaries; in SetToneMapConfig()
164 (buffer.color_metadata.colorPrimaries == tone_map_config_.colorPrimaries) && in IsSameToneMapConfig()
Dhwc_tonemapper.h67 ColorPrimaries colorPrimaries = ColorPrimaries_Max; member
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_tonemapper.cpp152 tone_map_config_.colorPrimaries = layer->input_buffer.color_metadata.colorPrimaries; in SetToneMapConfig()
164 (buffer.color_metadata.colorPrimaries == tone_map_config_.colorPrimaries) && in IsSameToneMapConfig()
Dhwc_layers.cpp50 color_metadata->colorPrimaries = ColorPrimaries_BT601_6_525; in SetCSC()
53 color_metadata->colorPrimaries = ColorPrimaries_BT709_5; in SetCSC()
57 color_metadata->colorPrimaries = ColorPrimaries_BT2020; in SetCSC()
639 if (layer_->input_buffer.color_metadata.colorPrimaries <= ColorPrimaries_BT601_6_525 && in SupportLocalConversion()
722 layer_buffer->color_metadata.colorPrimaries = sdm_primaries; in SupportedDataspace()
Dhwc_tonemapper.h67 ColorPrimaries colorPrimaries = ColorPrimaries_Max; member
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_layers.cpp47 color_metadata->colorPrimaries = ColorPrimaries_BT601_6_525; in SetCSC()
50 color_metadata->colorPrimaries = ColorPrimaries_BT709_5; in SetCSC()
54 color_metadata->colorPrimaries = ColorPrimaries_BT2020; in SetCSC()
170 valid = GetColorPrimary(dataspace, &(color_metadata->colorPrimaries)); in GetSDMColorSpace()
891 if (layer_->input_buffer.color_metadata.colorPrimaries <= ColorPrimaries_BT601_6_525 && in SupportLocalConversion()
898 IsBT2020(layer_->input_buffer.color_metadata.colorPrimaries) && in SupportLocalConversion()
928 layer_buffer->color_metadata.colorPrimaries = csc.colorPrimaries; in ValidateAndSetCSC()
932 if (IsBT2020(layer_buffer->color_metadata.colorPrimaries)) { in ValidateAndSetCSC()
/hardware/qcom/sm7250/display/sdm/include/core/
Dlayer_buffer.h282 color_metadata.colorPrimaries = ColorPrimaries_BT709_5; in LayerBuffer()
/hardware/qcom/sm8150/display/sdm/include/core/
Dlayer_buffer.h290 color_metadata.colorPrimaries = ColorPrimaries_BT709_5; in LayerBuffer()
/hardware/qcom/display/msm8909/include/
Dcolor_metadata.h142 ColorPrimaries colorPrimaries; member
/hardware/qcom/display/msm8909w_3100/include/
Dcolor_metadata.h142 ColorPrimaries colorPrimaries; member
/hardware/qcom/sdm845/display/include/
Dcolor_metadata.h144 ColorPrimaries colorPrimaries; member
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/common/src/
Dvidc_debug.cpp62 color_mdata->colorPrimaries, color_mdata->range, in print_debug_hdr_color_info_mdata()
/hardware/qcom/sm8150/display/gralloc/
Dgr_buf_mgr.cpp126 out.colorPrimaries = ColorPrimaries_BT709_5; in dataspaceToColorMetadata()
130 out.colorPrimaries = ColorPrimaries_BT470_6M; in dataspaceToColorMetadata()
134 out.colorPrimaries = ColorPrimaries_BT601_6_625; in dataspaceToColorMetadata()
138 out.colorPrimaries = ColorPrimaries_BT601_6_525; in dataspaceToColorMetadata()
141 out.colorPrimaries = ColorPrimaries_GenericFilm; in dataspaceToColorMetadata()
144 out.colorPrimaries = ColorPrimaries_BT2020; in dataspaceToColorMetadata()
147 out.colorPrimaries = ColorPrimaries_AdobeRGB; in dataspaceToColorMetadata()
150 out.colorPrimaries = ColorPrimaries_DCIP3; in dataspaceToColorMetadata()
210 color_metadata->colorPrimaries = out.colorPrimaries; in dataspaceToColorMetadata()
218 switch (color_metadata.colorPrimaries) { in colorMetadataToDataspace()
/hardware/qcom/sm7250/display/gralloc/
Dgr_buf_mgr.cpp125 out.colorPrimaries = ColorPrimaries_BT709_5; in dataspaceToColorMetadata()
129 out.colorPrimaries = ColorPrimaries_BT470_6M; in dataspaceToColorMetadata()
133 out.colorPrimaries = ColorPrimaries_BT601_6_625; in dataspaceToColorMetadata()
137 out.colorPrimaries = ColorPrimaries_BT601_6_525; in dataspaceToColorMetadata()
140 out.colorPrimaries = ColorPrimaries_GenericFilm; in dataspaceToColorMetadata()
143 out.colorPrimaries = ColorPrimaries_BT2020; in dataspaceToColorMetadata()
146 out.colorPrimaries = ColorPrimaries_AdobeRGB; in dataspaceToColorMetadata()
149 out.colorPrimaries = ColorPrimaries_DCIP3; in dataspaceToColorMetadata()
209 color_metadata->colorPrimaries = out.colorPrimaries; in dataspaceToColorMetadata()
217 switch (color_metadata.colorPrimaries) { in colorMetadataToDataspace()
/hardware/qcom/sm8150/display/sdm/libs/core/
Ddisplay_base.cpp220 if (IsWideColor(layer->input_buffer.color_metadata.colorPrimaries)) { in BuildLayerStackStats()
222 layer->input_buffer.color_metadata.colorPrimaries); in BuildLayerStackStats()
872 snprintf(color_primary, sizeof(color_primary), "%d", color_metadata.colorPrimaries); in Dump()
1700 } else if (color_metadata.transfer && color_metadata.colorPrimaries) { in GetClientTargetSupport()
1704 color_metadata.transfer, color_metadata.colorPrimaries); in GetClientTargetSupport()
1709 if (color_metadata.colorPrimaries == ColorPrimaries_BT2020) { in GetClientTargetSupport()
1710 DLOGW("Unsupported Color Primary = %d", color_metadata.colorPrimaries); in GetClientTargetSupport()
1771 switch (color_metadata.colorPrimaries) { in ValidateDataspace()
1779 DLOGW("Unsupported Color Primary = %d", color_metadata.colorPrimaries); in ValidateDataspace()
/hardware/qcom/sdm845/display/sdm/libs/core/
Ddisplay_base.cpp701 snprintf(color_primary, sizeof(color_primary), "%d", color_metadata.colorPrimaries); in Dump()
1423 } else if (color_metadata.transfer && color_metadata.colorPrimaries) { in GetClientTargetSupport()
1427 color_metadata.transfer, color_metadata.colorPrimaries); in GetClientTargetSupport()
1432 if (color_metadata.colorPrimaries == ColorPrimaries_BT2020) { in GetClientTargetSupport()
1433 DLOGW("Unsupported Color Primary = %d", color_metadata.colorPrimaries); in GetClientTargetSupport()
1488 switch (color_metadata.colorPrimaries) { in ValidateDataspace()
1496 DLOGW("Unsupported Color Primary = %d", color_metadata.colorPrimaries); in ValidateDataspace()

123