/hardware/qcom/sm7250/display/sdm/libs/core/drm/ |
D | hw_tv_drm.cpp | 284 if (blend_space_.primaries == ColorPrimaries_DCIP3 && in UpdateHDRMetaData() 291 } else if (blend_space_.primaries == ColorPrimaries_BT2020) { in UpdateHDRMetaData() 314 const Primaries &primaries = mastering_display.primaries; in UpdateHDRMetaData() local 326 hdr_metadata_.white_point_x = primaries.whitePoint[0]; in UpdateHDRMetaData() 327 hdr_metadata_.white_point_y = primaries.whitePoint[1]; in UpdateHDRMetaData() 328 hdr_metadata_.display_primaries_x[0] = primaries.rgbPrimaries[0][0]; in UpdateHDRMetaData() 329 hdr_metadata_.display_primaries_y[0] = primaries.rgbPrimaries[0][1]; in UpdateHDRMetaData() 330 hdr_metadata_.display_primaries_x[1] = primaries.rgbPrimaries[1][0]; in UpdateHDRMetaData() 331 hdr_metadata_.display_primaries_y[1] = primaries.rgbPrimaries[1][1]; in UpdateHDRMetaData() 332 hdr_metadata_.display_primaries_x[2] = primaries.rgbPrimaries[2][0]; in UpdateHDRMetaData() [all …]
|
/hardware/qcom/sm8150/display/sdm/libs/core/drm/ |
D | hw_tv_drm.cpp | 284 const Primaries &primaries = mastering_display.primaries; in UpdateHDRMetaData() local 295 hdr_metadata_.white_point_x = primaries.whitePoint[0]; in UpdateHDRMetaData() 296 hdr_metadata_.white_point_y = primaries.whitePoint[1]; in UpdateHDRMetaData() 297 hdr_metadata_.display_primaries_x[0] = primaries.rgbPrimaries[0][0]; in UpdateHDRMetaData() 298 hdr_metadata_.display_primaries_y[0] = primaries.rgbPrimaries[0][1]; in UpdateHDRMetaData() 299 hdr_metadata_.display_primaries_x[1] = primaries.rgbPrimaries[1][0]; in UpdateHDRMetaData() 300 hdr_metadata_.display_primaries_y[1] = primaries.rgbPrimaries[1][1]; in UpdateHDRMetaData() 301 hdr_metadata_.display_primaries_x[2] = primaries.rgbPrimaries[2][0]; in UpdateHDRMetaData() 302 hdr_metadata_.display_primaries_y[2] = primaries.rgbPrimaries[2][1]; in UpdateHDRMetaData()
|
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/common/src/ |
D | vidc_debug.cpp | 67 …A : rgbPrimaries[%d][%d] = %d", i, j, color_mdata->masteringDisplayInfo.primaries.rgbPrimaries[i][… in print_debug_hdr_color_info_mdata() 72 color_mdata->masteringDisplayInfo.primaries.whitePoint[0], in print_debug_hdr_color_info_mdata() 73 color_mdata->masteringDisplayInfo.primaries.whitePoint[1]); in print_debug_hdr_color_info_mdata()
|
/hardware/qcom/sm7250/display/composer/ |
D | hwc_layers.cpp | 209 Dataspace primaries, transfer, range = Dataspace::UNKNOWN; in ColorMetadataToDataspace() local 213 primaries = Dataspace::STANDARD_BT709; in ColorMetadataToDataspace() 216 primaries = Dataspace::STANDARD_BT470M; in ColorMetadataToDataspace() 219 primaries = Dataspace::STANDARD_BT601_625; in ColorMetadataToDataspace() 222 primaries = Dataspace::STANDARD_BT601_525; in ColorMetadataToDataspace() 225 primaries = Dataspace::STANDARD_FILM; in ColorMetadataToDataspace() 228 primaries = Dataspace::STANDARD_BT2020; in ColorMetadataToDataspace() 231 primaries = Dataspace::STANDARD_ADOBE_RGB; in ColorMetadataToDataspace() 234 primaries = Dataspace::STANDARD_DCI_P3; in ColorMetadataToDataspace() 297 *dataspace = (Dataspace)((uint32_t)primaries | (uint32_t)transfer | (uint32_t)range); in ColorMetadataToDataspace() [all …]
|
/hardware/qcom/sm8150/display/sdm/include/core/ |
D | layer_stack.h | 417 ColorPrimaries primaries = ColorPrimaries_BT709_5; member 421 return ((primaries == blend_cs.primaries) && (transfer == blend_cs.transfer));
|
/hardware/qcom/sm8150/display/gralloc/ |
D | gr_buf_mgr.cpp | 143 uint32_t primaries = (uint32_t)dataspace & (uint32_t)Dataspace::STANDARD_MASK; in dataspaceToColorMetadata() local 147 switch (primaries) { in dataspaceToColorMetadata() 239 Dataspace primaries, transfer, range = Dataspace::UNKNOWN; in colorMetadataToDataspace() local 243 primaries = Dataspace::STANDARD_BT709; in colorMetadataToDataspace() 247 primaries = Dataspace::STANDARD_BT470M; in colorMetadataToDataspace() 250 primaries = Dataspace::STANDARD_BT601_625; in colorMetadataToDataspace() 253 primaries = Dataspace::STANDARD_BT601_525; in colorMetadataToDataspace() 256 primaries = Dataspace::STANDARD_FILM; in colorMetadataToDataspace() 259 primaries = Dataspace::STANDARD_BT2020; in colorMetadataToDataspace() 262 primaries = Dataspace::STANDARD_ADOBE_RGB; in colorMetadataToDataspace() [all …]
|
/hardware/qcom/sm7250/display/sdm/include/core/ |
D | layer_stack.h | 433 ColorPrimaries primaries = ColorPrimaries_BT709_5; member 437 return ((primaries == blend_cs.primaries) && (transfer == blend_cs.transfer));
|
/hardware/qcom/sm7250/display/gralloc/ |
D | gr_buf_mgr.cpp | 140 uint32_t primaries = (uint32_t)dataspace & (uint32_t)Dataspace::STANDARD_MASK; in dataspaceToColorMetadata() local 144 switch (primaries) { in dataspaceToColorMetadata() 236 Dataspace primaries, transfer, range = Dataspace::UNKNOWN; in colorMetadataToDataspace() local 240 primaries = Dataspace::STANDARD_BT709; in colorMetadataToDataspace() 244 primaries = Dataspace::STANDARD_BT470M; in colorMetadataToDataspace() 247 primaries = Dataspace::STANDARD_BT601_625; in colorMetadataToDataspace() 250 primaries = Dataspace::STANDARD_BT601_525; in colorMetadataToDataspace() 253 primaries = Dataspace::STANDARD_FILM; in colorMetadataToDataspace() 256 primaries = Dataspace::STANDARD_BT2020; in colorMetadataToDataspace() 259 primaries = Dataspace::STANDARD_ADOBE_RGB; in colorMetadataToDataspace() [all …]
|
/hardware/qcom/sm7250/display/sdm/libs/core/ |
D | display_pluggable.cpp | 309 pt.primaries = ColorPrimaries_DCIP3; in InitializeColorModesFromColorspace() 320 pt.primaries = ColorPrimaries_BT2020; in InitializeColorModesFromColorspace() 336 blend_space_.primaries = ColorPrimaries_BT2020; in GetBlendSpaceFromAttributes() 345 blend_space_.primaries = ColorPrimaries_DCIP3; in GetBlendSpaceFromAttributes() 348 blend_space_.primaries = ColorPrimaries_BT709_5; in GetBlendSpaceFromAttributes() 354 DLOGI("Blend Space Primaries = %d Transfer = %d", blend_space_.primaries, blend_space_.transfer); in GetBlendSpaceFromAttributes()
|
/hardware/google/aemu/host-common/include/host-common/ |
D | GoldfishMediaDefs.h | 43 uint64_t primaries; member
|
D | MediaH264DecoderPlugin.h | 69 unsigned int primaries; member 164 stream->putBe32(color.primaries); in saveColor() 171 color.primaries = stream->getBe32(); in loadColor()
|
D | MediaSnapshotState.h | 30 unsigned int primaries; member
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/ |
D | hw_hdmi.cpp | 1022 const Primaries &primaries = mastering_display.primaries; in UpdateHDRMetaData() local 1028 hdr_stream.white_point_x = primaries.whitePoint[0]; in UpdateHDRMetaData() 1029 hdr_stream.white_point_y = primaries.whitePoint[1]; in UpdateHDRMetaData() 1030 hdr_stream.display_primaries_x[0] = primaries.rgbPrimaries[0][0]; in UpdateHDRMetaData() 1031 hdr_stream.display_primaries_y[0] = primaries.rgbPrimaries[0][1]; in UpdateHDRMetaData() 1032 hdr_stream.display_primaries_x[1] = primaries.rgbPrimaries[1][0]; in UpdateHDRMetaData() 1033 hdr_stream.display_primaries_y[1] = primaries.rgbPrimaries[1][1]; in UpdateHDRMetaData() 1034 hdr_stream.display_primaries_x[2] = primaries.rgbPrimaries[2][0]; in UpdateHDRMetaData() 1035 hdr_stream.display_primaries_y[2] = primaries.rgbPrimaries[2][1]; in UpdateHDRMetaData()
|
D | hw_device.cpp | 881 panel_info->primaries.white_point[0] = UINT32(atoi(tokens[1])); in GetHWPanelInfoByNode() 883 panel_info->primaries.white_point[1] = UINT32(atoi(tokens[1])); in GetHWPanelInfoByNode() 885 panel_info->primaries.red[0] = UINT32(atoi(tokens[1])); in GetHWPanelInfoByNode() 887 panel_info->primaries.red[1] = UINT32(atoi(tokens[1])); in GetHWPanelInfoByNode() 889 panel_info->primaries.green[0] = UINT32(atoi(tokens[1])); in GetHWPanelInfoByNode() 891 panel_info->primaries.green[1] = UINT32(atoi(tokens[1])); in GetHWPanelInfoByNode() 893 panel_info->primaries.blue[0] = UINT32(atoi(tokens[1])); in GetHWPanelInfoByNode() 895 panel_info->primaries.blue[1] = UINT32(atoi(tokens[1])); in GetHWPanelInfoByNode()
|
/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
D | hw_hdmi.cpp | 1010 const Primaries &primaries = mastering_display.primaries; in UpdateHDRMetaData() local 1016 hdr_stream.white_point_x = primaries.whitePoint[0]; in UpdateHDRMetaData() 1017 hdr_stream.white_point_y = primaries.whitePoint[1]; in UpdateHDRMetaData() 1018 hdr_stream.display_primaries_x[0] = primaries.rgbPrimaries[0][0]; in UpdateHDRMetaData() 1019 hdr_stream.display_primaries_y[0] = primaries.rgbPrimaries[0][1]; in UpdateHDRMetaData() 1020 hdr_stream.display_primaries_x[1] = primaries.rgbPrimaries[1][0]; in UpdateHDRMetaData() 1021 hdr_stream.display_primaries_y[1] = primaries.rgbPrimaries[1][1]; in UpdateHDRMetaData() 1022 hdr_stream.display_primaries_x[2] = primaries.rgbPrimaries[2][0]; in UpdateHDRMetaData() 1023 hdr_stream.display_primaries_y[2] = primaries.rgbPrimaries[2][1]; in UpdateHDRMetaData()
|
/hardware/qcom/sm8150/display/sdm/libs/core/fb/ |
D | hw_hdmi.cpp | 1034 const Primaries &primaries = mastering_display.primaries; in UpdateHDRMetaData() local 1040 hdr_ctrl.hdr_stream.white_point_x = primaries.whitePoint[0]; in UpdateHDRMetaData() 1041 hdr_ctrl.hdr_stream.white_point_y = primaries.whitePoint[1]; in UpdateHDRMetaData() 1042 hdr_ctrl.hdr_stream.display_primaries_x[0] = primaries.rgbPrimaries[0][0]; in UpdateHDRMetaData() 1043 hdr_ctrl.hdr_stream.display_primaries_y[0] = primaries.rgbPrimaries[0][1]; in UpdateHDRMetaData() 1044 hdr_ctrl.hdr_stream.display_primaries_x[1] = primaries.rgbPrimaries[1][0]; in UpdateHDRMetaData() 1045 hdr_ctrl.hdr_stream.display_primaries_y[1] = primaries.rgbPrimaries[1][1]; in UpdateHDRMetaData() 1046 hdr_ctrl.hdr_stream.display_primaries_x[2] = primaries.rgbPrimaries[2][0]; in UpdateHDRMetaData() 1047 hdr_ctrl.hdr_stream.display_primaries_y[2] = primaries.rgbPrimaries[2][1]; in UpdateHDRMetaData()
|
/hardware/qcom/display/msm8909/sdm/libs/core/fb/ |
D | hw_hdmi.cpp | 1033 const Primaries &primaries = mastering_display.primaries; in UpdateHDRMetaData() local 1039 hdr_ctrl.hdr_stream.white_point_x = primaries.whitePoint[0]; in UpdateHDRMetaData() 1040 hdr_ctrl.hdr_stream.white_point_y = primaries.whitePoint[1]; in UpdateHDRMetaData() 1041 hdr_ctrl.hdr_stream.display_primaries_x[0] = primaries.rgbPrimaries[0][0]; in UpdateHDRMetaData() 1042 hdr_ctrl.hdr_stream.display_primaries_y[0] = primaries.rgbPrimaries[0][1]; in UpdateHDRMetaData() 1043 hdr_ctrl.hdr_stream.display_primaries_x[1] = primaries.rgbPrimaries[1][0]; in UpdateHDRMetaData() 1044 hdr_ctrl.hdr_stream.display_primaries_y[1] = primaries.rgbPrimaries[1][1]; in UpdateHDRMetaData() 1045 hdr_ctrl.hdr_stream.display_primaries_x[2] = primaries.rgbPrimaries[2][0]; in UpdateHDRMetaData() 1046 hdr_ctrl.hdr_stream.display_primaries_y[2] = primaries.rgbPrimaries[2][1]; in UpdateHDRMetaData()
|
D | hw_device.cpp | 876 panel_info->primaries.white_point[0] = UINT32(atoi(tokens[1])); in GetHWPanelInfoByNode() 878 panel_info->primaries.white_point[1] = UINT32(atoi(tokens[1])); in GetHWPanelInfoByNode() 880 panel_info->primaries.red[0] = UINT32(atoi(tokens[1])); in GetHWPanelInfoByNode() 882 panel_info->primaries.red[1] = UINT32(atoi(tokens[1])); in GetHWPanelInfoByNode() 884 panel_info->primaries.green[0] = UINT32(atoi(tokens[1])); in GetHWPanelInfoByNode() 886 panel_info->primaries.green[1] = UINT32(atoi(tokens[1])); in GetHWPanelInfoByNode() 888 panel_info->primaries.blue[0] = UINT32(atoi(tokens[1])); in GetHWPanelInfoByNode() 890 panel_info->primaries.blue[1] = UINT32(atoi(tokens[1])); in GetHWPanelInfoByNode()
|
/hardware/interfaces/graphics/common/1.0/ |
D | types.hal | 540 * primaries (including white point) and the transfer characteristic function, 581 * It is safest to assume the buffer is an image with sRGB primaries and 593 * This is used when specifying primaries, transfer characteristics, 597 * where a colorspace can have separately defined primaries, transfer 615 * Defines the chromaticity coordinates of the source primaries in terms of 655 * for RGB conversion from the one purely determined by the primaries 657 * primaries. 681 * for RGB conversion from the one purely determined by the primaries 683 * primaries. 954 * The RGB primaries and the white point are the same as BT.709. [all …]
|
/hardware/qcom/sm8150/display/sdm/libs/core/ |
D | display_pluggable.cpp | 345 pt.primaries = ColorPrimaries_BT2020; in InitializeColorModes() 379 blend_space_.primaries = ColorPrimaries_BT2020; in GetBlendSpaceFromAttributes() 388 blend_space_.primaries = ColorPrimaries_BT709_5; in GetBlendSpaceFromAttributes() 394 DLOGI("Blend Space Primaries = %d Transfer = %d", blend_space_.primaries, blend_space_.transfer); in GetBlendSpaceFromAttributes()
|
/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
D | hwc_layers.cpp | 569 mastering_display.primaries.rgbPrimaries[0][0] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata() 572 mastering_display.primaries.rgbPrimaries[0][1] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata() 575 mastering_display.primaries.rgbPrimaries[1][0] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata() 578 mastering_display.primaries.rgbPrimaries[1][1] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata() 581 mastering_display.primaries.rgbPrimaries[2][0] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata() 584 mastering_display.primaries.rgbPrimaries[2][1] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata() 587 mastering_display.primaries.whitePoint[0] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata() 590 mastering_display.primaries.whitePoint[1] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata()
|
/hardware/google/aemu/host-common/ |
D | MediaSnapshotState.cpp | 139 stream->putBe32(color.primaries); in saveColor() 147 color.primaries = stream->getBe32(); in loadColor()
|
/hardware/qcom/display/msm8998/include/ |
D | color_metadata.h | 105 Primaries primaries; member
|
/hardware/qcom/display/msm8909/include/ |
D | color_metadata.h | 105 Primaries primaries; member
|
/hardware/qcom/display/msm8909w_3100/include/ |
D | color_metadata.h | 105 Primaries primaries; member
|