Home
last modified time | relevance | path

Searched refs:csc (Results 1 – 17 of 17) sorted by relevance

/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_layers.cpp39 ColorSpace_t csc = ITU_R_601; in SetCSC() local
41 &csc) == 0) { in SetCSC()
42 if (csc == ITU_R_601_FR || csc == ITU_R_2020_FR) { in SetCSC()
46 switch (csc) { in SetCSC()
60 DLOGE("Unsupported CSC: %d", csc); in SetCSC()
754 ColorMetaData csc = {}; in ValidateAndSetCSC() local
757 bool valid_csc = GetSDMColorSpace(dataspace_, &csc); in ValidateAndSetCSC()
762 layer_buffer->color_metadata.transfer = csc.transfer; in ValidateAndSetCSC()
763 layer_buffer->color_metadata.colorPrimaries = csc.colorPrimaries; in ValidateAndSetCSC()
764 layer_buffer->color_metadata.range = csc.range; in ValidateAndSetCSC()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_layers.cpp39 ColorSpace_t csc = ITU_R_601; in SetCSC() local
41 &csc) == 0) { in SetCSC()
42 if (csc == ITU_R_601_FR || csc == ITU_R_2020_FR) { in SetCSC()
46 switch (csc) { in SetCSC()
60 DLOGE("Unsupported CSC: %d", csc); in SetCSC()
752 ColorMetaData csc = {}; in ValidateAndSetCSC() local
755 bool valid_csc = GetSDMColorSpace(dataspace_, &csc); in ValidateAndSetCSC()
760 layer_buffer->color_metadata.transfer = csc.transfer; in ValidateAndSetCSC()
761 layer_buffer->color_metadata.colorPrimaries = csc.colorPrimaries; in ValidateAndSetCSC()
762 layer_buffer->color_metadata.range = csc.range; in ValidateAndSetCSC()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_layers.cpp36 ColorSpace_t csc = ITU_R_601; in SetCSC() local
38 &csc) == 0) { in SetCSC()
39 if (csc == ITU_R_601_FR || csc == ITU_R_2020_FR) { in SetCSC()
43 switch (csc) { in SetCSC()
57 DLOGE("Unsupported CSC: %d", csc); in SetCSC()
914 ColorMetaData csc = {}; in ValidateAndSetCSC() local
917 bool valid_csc = GetSDMColorSpace(dataspace_, &csc); in ValidateAndSetCSC()
923 if (layer_buffer->color_metadata.transfer != csc.transfer || in ValidateAndSetCSC()
924 layer_buffer->color_metadata.colorPrimaries != csc.colorPrimaries || in ValidateAndSetCSC()
925 layer_buffer->color_metadata.range != csc.range) { in ValidateAndSetCSC()
[all …]
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_layers.cpp36 ColorSpace_t csc = ITU_R_601; in SetCSC() local
38 &csc) == 0) { in SetCSC()
39 if (csc == ITU_R_601_FR || csc == ITU_R_2020_FR) { in SetCSC()
43 switch (csc) { in SetCSC()
57 DLOGE("Unsupported CSC: %d", csc); in SetCSC()
918 ColorMetaData csc = {}; in ValidateAndSetCSC() local
921 bool valid_csc = GetSDMColorSpace(dataspace_, &csc); in ValidateAndSetCSC()
926 layer_buffer->color_metadata.transfer = csc.transfer; in ValidateAndSetCSC()
927 layer_buffer->color_metadata.colorPrimaries = csc.colorPrimaries; in ValidateAndSetCSC()
928 layer_buffer->color_metadata.range = csc.range; in ValidateAndSetCSC()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_layers.cpp39 ColorSpace_t csc = ITU_R_601; in SetCSC() local
41 &csc) == 0) { in SetCSC()
42 if (csc == ITU_R_601_FR || csc == ITU_R_2020_FR) { in SetCSC()
46 switch (csc) { in SetCSC()
60 DLOGE("Unsupported CSC: %d", csc); in SetCSC()
/hardware/qcom/display/msm8996/sdm/include/core/
Dlayer_buffer.h229 LayerCSC csc = kCSCFullRange601; //!< Color Space of the layer. member
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_layers.cpp506 ColorSpace_t csc = ITU_R_601; in SetMetaData() local
507 if (getMetaData(const_cast<private_handle_t *>(pvt_handle), GET_COLOR_SPACE, &csc) == 0) { in SetMetaData()
508 if (SetCSC(csc, &layer_buffer->csc) != kErrorNone) { in SetMetaData()
/hardware/qcom/display/msm8996/sdm/libs/core/
Ddisplay_base.cpp629 char csc[8] = { 0 }; in AppendDump() local
644 snprintf(csc, sizeof(csc), "%d", layer->input_buffer->csc); in AppendDump()
651 z_order, flags, decimation, csc); in AppendDump()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display.cpp1261 ColorSpace_t csc = meta_data->colorSpace; in SetCSC() local
1264 if (csc == ITU_R_601_FR || csc == ITU_R_2020_FR) { in SetCSC()
1268 switch (csc) { in SetCSC()
1282 DLOGE("Unsupported CSC: %d", csc); in SetCSC()
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display.cpp1261 ColorSpace_t csc = meta_data->colorSpace; in SetCSC() local
1264 if (csc == ITU_R_601_FR || csc == ITU_R_2020_FR) { in SetCSC()
1268 switch (csc) { in SetCSC()
1282 DLOGE("Unsupported CSC: %d", csc); in SetCSC()
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_device_drm.h165 void SetDGMCsc(const HWPipeCscInfo &dgm_csc_info, SDECsc *csc);
Dhw_device_drm.cpp1920 SDECsc csc = {}; in SetSsppTonemapFeatures() local
1921 SetDGMCsc(pipe_info->dgm_csc_info, &csc); in SetSsppTonemapFeatures()
1925 reinterpret_cast<uint64_t>(&csc.csc_v1)); in SetSsppTonemapFeatures()
1936 void HWDeviceDRM::SetDGMCsc(const HWPipeCscInfo &dgm_csc_info, SDECsc *csc) { in SetDGMCsc() argument
1937 SetDGMCscV1(dgm_csc_info.csc, &csc->csc_v1); in SetDGMCsc()
/hardware/qcom/sm8150/display/sdm/include/private/
Dhw_info_types.h570 HWCsc csc = {}; member
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_primary.cpp407 SetCSC(output_buffer->csc, &mdp_out_layer_.color_space); in Validate()
Dhw_device.cpp230 SetCSC(layer->input_buffer->csc, &mdp_layer.color_space); in Validate()
279 SetCSC(output_buffer->csc, &mdp_out_layer_.color_space); in Validate()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp2787 ColorSpace_t csc = pMeta->operation & UPDATE_COLOR_SPACE ? in venc_empty_buf() local
2789 if (csc == ITU_R_709) { in venc_empty_buf()
2793 } else if (csc == ITU_R_601_FR) { in venc_empty_buf()
2796 } else if (csc == ITU_R_601) { in venc_empty_buf()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display.cpp1184 if (SetCSC(meta_data->colorSpace, &layer_buffer->csc) != kErrorNone) { in SetMetaData()