Home
last modified time | relevance | path

Searched refs:primaries (Results 1 – 25 of 58) sorted by relevance

123

/hardware/qcom/sdm845/display/sdm/libs/core/drm/
Dhw_tv_drm.cpp222 const Primaries &primaries = mastering_display.primaries; in UpdateHDRMetaData() local
233 hdr_metadata_.white_point_x = primaries.whitePoint[0]; in UpdateHDRMetaData()
234 hdr_metadata_.white_point_y = primaries.whitePoint[1]; in UpdateHDRMetaData()
235 hdr_metadata_.display_primaries_x[0] = primaries.rgbPrimaries[0][0]; in UpdateHDRMetaData()
236 hdr_metadata_.display_primaries_y[0] = primaries.rgbPrimaries[0][1]; in UpdateHDRMetaData()
237 hdr_metadata_.display_primaries_x[1] = primaries.rgbPrimaries[1][0]; in UpdateHDRMetaData()
238 hdr_metadata_.display_primaries_y[1] = primaries.rgbPrimaries[1][1]; in UpdateHDRMetaData()
239 hdr_metadata_.display_primaries_x[2] = primaries.rgbPrimaries[2][0]; in UpdateHDRMetaData()
240 hdr_metadata_.display_primaries_y[2] = primaries.rgbPrimaries[2][1]; in UpdateHDRMetaData()
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_tv_drm.cpp280 const Primaries &primaries = mastering_display.primaries; in UpdateHDRMetaData() local
291 hdr_metadata_.white_point_x = primaries.whitePoint[0]; in UpdateHDRMetaData()
292 hdr_metadata_.white_point_y = primaries.whitePoint[1]; in UpdateHDRMetaData()
293 hdr_metadata_.display_primaries_x[0] = primaries.rgbPrimaries[0][0]; in UpdateHDRMetaData()
294 hdr_metadata_.display_primaries_y[0] = primaries.rgbPrimaries[0][1]; in UpdateHDRMetaData()
295 hdr_metadata_.display_primaries_x[1] = primaries.rgbPrimaries[1][0]; in UpdateHDRMetaData()
296 hdr_metadata_.display_primaries_y[1] = primaries.rgbPrimaries[1][1]; in UpdateHDRMetaData()
297 hdr_metadata_.display_primaries_x[2] = primaries.rgbPrimaries[2][0]; in UpdateHDRMetaData()
298 hdr_metadata_.display_primaries_y[2] = primaries.rgbPrimaries[2][1]; in UpdateHDRMetaData()
/hardware/google/av/media/codecs/hevc/
DC2SoftHevcDec.h128 uint8_t primaries; member
135 : primaries(2), transfer(2), coeffs(2), fullRange(0) { } in VuiColorAspects()
138 return primaries == o.primaries && transfer == o.transfer && coeffs == o.coeffs
DC2SoftHevcDec.cpp136 C2F(mDefaultColorAspects, primaries).inRange( in IntfImpl()
154 C2F(mCodedColorAspects, primaries).inRange( in IntfImpl()
172 C2F(mColorAspects, primaries).inRange( in IntfImpl()
235 if (me.v.primaries > C2Color::PRIMARIES_OTHER) { in DefaultColorAspectsSetter()
236 me.set().primaries = C2Color::PRIMARIES_OTHER; in DefaultColorAspectsSetter()
252 if (me.v.primaries > C2Color::PRIMARIES_OTHER) { in CodedColorAspectsSetter()
253 me.set().primaries = C2Color::PRIMARIES_OTHER; in CodedColorAspectsSetter()
270 me.set().primaries = coded.v.primaries == PRIMARIES_UNSPECIFIED in ColorAspectsSetter()
271 ? def.v.primaries : coded.v.primaries; in ColorAspectsSetter()
566 vuiColorAspects.primaries = s_get_vui_params_op.u1_colour_primaries; in getVuiParams()
[all …]
/hardware/google/av/media/codecs/avc/
DC2SoftAvcDec.h169 uint8_t primaries; member
176 : primaries(2), transfer(2), coeffs(2), fullRange(0) { } in VuiColorAspects()
179 return primaries == o.primaries && transfer == o.transfer && coeffs == o.coeffs
DC2SoftAvcDec.cpp140 C2F(mDefaultColorAspects, primaries).inRange( in IntfImpl()
158 C2F(mCodedColorAspects, primaries).inRange( in IntfImpl()
176 C2F(mColorAspects, primaries).inRange( in IntfImpl()
239 if (me.v.primaries > C2Color::PRIMARIES_OTHER) { in DefaultColorAspectsSetter()
240 me.set().primaries = C2Color::PRIMARIES_OTHER; in DefaultColorAspectsSetter()
256 if (me.v.primaries > C2Color::PRIMARIES_OTHER) { in CodedColorAspectsSetter()
257 me.set().primaries = C2Color::PRIMARIES_OTHER; in CodedColorAspectsSetter()
274 me.set().primaries = coded.v.primaries == PRIMARIES_UNSPECIFIED in ColorAspectsSetter()
275 ? def.v.primaries : coded.v.primaries; in ColorAspectsSetter()
567 vuiColorAspects.primaries = s_get_vui_params_op.u1_colour_primaries; in getVuiParams()
[all …]
/hardware/google/av/media/codecs/mpeg2/
DC2SoftMpeg2Dec.h168 uint8_t primaries; member
175 : primaries(2), transfer(2), coeffs(2), fullRange(0) { } in VuiColorAspects()
178 return primaries == o.primaries && transfer == o.transfer && coeffs == o.coeffs
DC2SoftMpeg2Dec.cpp128 C2F(mDefaultColorAspects, primaries).inRange( in IntfImpl()
146 C2F(mCodedColorAspects, primaries).inRange( in IntfImpl()
164 C2F(mColorAspects, primaries).inRange( in IntfImpl()
227 if (me.v.primaries > C2Color::PRIMARIES_OTHER) { in DefaultColorAspectsSetter()
228 me.set().primaries = C2Color::PRIMARIES_OTHER; in DefaultColorAspectsSetter()
244 if (me.v.primaries > C2Color::PRIMARIES_OTHER) { in CodedColorAspectsSetter()
245 me.set().primaries = C2Color::PRIMARIES_OTHER; in CodedColorAspectsSetter()
262 me.set().primaries = coded.v.primaries == PRIMARIES_UNSPECIFIED in ColorAspectsSetter()
263 ? def.v.primaries : coded.v.primaries; in ColorAspectsSetter()
641 vuiColorAspects.primaries = s_ctl_get_seq_info_op.u1_colour_primaries; in getSeqInfo()
[all …]
/hardware/qcom/sm8150/display/sdm/include/core/
Dlayer_stack.h415 ColorPrimaries primaries = ColorPrimaries_BT709_5; member
419 return ((primaries == blend_cs.primaries) && (transfer == blend_cs.transfer));
/hardware/google/av/media/sfplugin/utils/
DCodec2Mapper.cpp610 bool C2Mapper::map(C2Color::primaries_t primaries, C2Color::matrix_t matrix, int32_t *standard) { in map() argument
616 if (!sColorPrimariesSf.map(primaries, &sfPrimaries)) { in map()
618 if (primaries < C2Color::PRIMARIES_VENDOR_START || primaries > C2Color::PRIMARIES_OTHER) { in map()
623 sfPrimaries = (ColorAspects::Primaries)primaries; in map()
644 bool C2Mapper::map(int32_t standard, C2Color::primaries_t *primaries, C2Color::matrix_t *matrix) { in map() argument
653 if (!sColorPrimariesSf.map(sfPrimaries, primaries)) { in map()
655 *primaries = (C2Color::primaries_t)sfPrimaries; in map()
656 if (*primaries < C2Color::PRIMARIES_VENDOR_START || *primaries > C2Color::PRIMARIES_OTHER) { in map()
657 *primaries = C2Color::PRIMARIES_OTHER; in map()
738 C2Color::range_t range, C2Color::primaries_t primaries, in map() argument
[all …]
/hardware/qcom/display/msm8998/sdm/libs/core/fb/
Dhw_hdmi.cpp1010 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/display/msm8909w_3100/sdm/libs/core/fb/
Dhw_hdmi.cpp1022 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()
Dhw_device.cpp881 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/sm8150/display/sdm/libs/core/fb/
Dhw_hdmi.cpp1034 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/
Dhw_hdmi.cpp1033 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()
Dhw_device.cpp876 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/qcom/sdm845/display/sdm/libs/core/fb/
Dhw_hdmi.cpp1027 const Primaries &primaries = mastering_display.primaries; in UpdateHDRMetaData() local
1033 hdr_ctrl.hdr_stream.white_point_x = primaries.whitePoint[0]; in UpdateHDRMetaData()
1034 hdr_ctrl.hdr_stream.white_point_y = primaries.whitePoint[1]; in UpdateHDRMetaData()
1035 hdr_ctrl.hdr_stream.display_primaries_x[0] = primaries.rgbPrimaries[0][0]; in UpdateHDRMetaData()
1036 hdr_ctrl.hdr_stream.display_primaries_y[0] = primaries.rgbPrimaries[0][1]; in UpdateHDRMetaData()
1037 hdr_ctrl.hdr_stream.display_primaries_x[1] = primaries.rgbPrimaries[1][0]; in UpdateHDRMetaData()
1038 hdr_ctrl.hdr_stream.display_primaries_y[1] = primaries.rgbPrimaries[1][1]; in UpdateHDRMetaData()
1039 hdr_ctrl.hdr_stream.display_primaries_x[2] = primaries.rgbPrimaries[2][0]; in UpdateHDRMetaData()
1040 hdr_ctrl.hdr_stream.display_primaries_y[2] = primaries.rgbPrimaries[2][1]; in UpdateHDRMetaData()
/hardware/interfaces/graphics/common/1.0/
Dtypes.hal540 * 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/sdm845/display/sdm/libs/hwc2/
Dhwc_layers.cpp554 mastering_display.primaries.rgbPrimaries[0][0] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata()
557 mastering_display.primaries.rgbPrimaries[0][1] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata()
560 mastering_display.primaries.rgbPrimaries[1][0] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata()
563 mastering_display.primaries.rgbPrimaries[1][1] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata()
566 mastering_display.primaries.rgbPrimaries[2][0] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata()
569 mastering_display.primaries.rgbPrimaries[2][1] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata()
572 mastering_display.primaries.whitePoint[0] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata()
575 mastering_display.primaries.whitePoint[1] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_layers.cpp563 mastering_display.primaries.rgbPrimaries[0][0] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata()
566 mastering_display.primaries.rgbPrimaries[0][1] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata()
569 mastering_display.primaries.rgbPrimaries[1][0] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata()
572 mastering_display.primaries.rgbPrimaries[1][1] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata()
575 mastering_display.primaries.rgbPrimaries[2][0] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata()
578 mastering_display.primaries.rgbPrimaries[2][1] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata()
581 mastering_display.primaries.whitePoint[0] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata()
584 mastering_display.primaries.whitePoint[1] = UINT32(metadata[i] * 50000); in SetLayerPerFrameMetadata()
/hardware/qcom/sm8150/display/sdm/libs/core/
Ddisplay_pluggable.cpp339 pt.primaries = ColorPrimaries_BT2020; in InitializeColorModes()
373 blend_space_.primaries = ColorPrimaries_BT2020; in GetBlendSpaceFromAttributes()
382 blend_space_.primaries = ColorPrimaries_BT709_5; in GetBlendSpaceFromAttributes()
388 DLOGI("Blend Space Primaries = %d Transfer = %d", blend_space_.primaries, blend_space_.transfer); in GetBlendSpaceFromAttributes()
/hardware/qcom/display/msm8998/include/
Dcolor_metadata.h105 Primaries primaries; member
/hardware/qcom/display/msm8909/include/
Dcolor_metadata.h105 Primaries primaries; member
/hardware/qcom/sdm845/display/include/
Dcolor_metadata.h106 Primaries primaries; member
/hardware/qcom/display/msm8909w_3100/include/
Dcolor_metadata.h105 Primaries primaries; member

123