/hardware/google/gfxstream/guest/mesa/src/util/format/ |
D | u_format_table.py | 41 def colorspace_map(colorspace): argument 42 return 'UTIL_FORMAT_COLORSPACE_' + str(colorspace).upper() 188 comment = colorspace_channels_map[format.colorspace][i] 234 print(" %s," % (colorspace_map(format.colorspace),)) 251 if format.colorspace != ZS and not format.is_pure_color(): 281 if format.colorspace != ZS and not format.is_pure_color(): 315 if format.colorspace != ZS and has_access(format):
|
D | u_format_parse.py | 117 …_width, block_height, block_depth, le_channels, le_swizzles, be_channels, be_swizzles, colorspace): argument 123 self.colorspace = colorspace 297 if self.layout != PLAIN or self.colorspace == ZS: 324 return self.colorspace == ZS and self.has_channel(0) 327 return self.colorspace == ZS and self.has_channel(1) 353 def _parse_channels(fields, layout, colorspace, swizzles): argument 356 if colorspace in (RGB, SRGB): 361 elif colorspace == ZS: 425 colorspace = fields[10] 428 le_channels = _parse_channels(fields[5:9], layout, colorspace, le_swizzles) [all …]
|
D | u_format.c | 121 return (desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || in util_format_has_alpha() 122 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && in util_format_has_alpha() 133 return (desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || in util_format_has_alpha1() 134 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && in util_format_has_alpha1() 145 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || in util_format_is_luminance() 146 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && in util_format_is_luminance() 162 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || in util_format_is_alpha() 163 desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) && in util_format_is_alpha() 179 if (desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS) { in util_format_is_pure_integer() 291 if ((desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || in util_format_is_luminance_alpha() [all …]
|
D | u_format.h | 239 enum util_format_colorspace colorspace; member 557 return desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB; in util_format_is_srgb() 563 return desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS && in util_format_has_depth() 570 return desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS && in util_format_has_stencil() 633 return desc->colorspace == UTIL_FORMAT_COLORSPACE_YUV; in util_format_is_yuv() 643 if (desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS && in util_get_depth_format_type() 702 switch (desc->colorspace) { in util_format_colormask() 957 enum util_format_colorspace colorspace, in util_format_get_component_bits() argument 971 if (colorspace == UTIL_FORMAT_COLORSPACE_SRGB) { in util_format_get_component_bits() 972 colorspace = UTIL_FORMAT_COLORSPACE_RGB; in util_format_get_component_bits() [all …]
|
D | u_format_pack.py | 478 src_colorspace = format.colorspace 505 src_colorspace = format.colorspace 550 dst_colorspace = format.colorspace 583 dst_colorspace = format.colorspace 690 return format.layout != PLAIN or format.colorspace == ZS
|
/hardware/qcom/sm7250/display/sde-drm/ |
D | drm_connector.cpp | 196 uint32_t colorspace = 0; in GetColorspace() local 199 colorspace = DRM_MODE_COLORIMETRY_DEFAULT; in GetColorspace() 202 colorspace = DRM_MODE_COLORIMETRY_SMPTE_170M_YCC; in GetColorspace() 205 colorspace = DRM_MODE_COLORIMETRY_BT709_YCC; in GetColorspace() 208 colorspace = DRM_MODE_COLORIMETRY_XVYCC_601; in GetColorspace() 211 colorspace = DRM_MODE_COLORIMETRY_XVYCC_709; in GetColorspace() 214 colorspace = DRM_MODE_COLORIMETRY_SYCC_601; in GetColorspace() 217 colorspace = DRM_MODE_COLORIMETRY_OPYCC_601; in GetColorspace() 220 colorspace = DRM_MODE_COLORIMETRY_OPRGB; in GetColorspace() 223 colorspace = DRM_MODE_COLORIMETRY_BT2020_CYCC; in GetColorspace() [all …]
|
/hardware/google/gchips/include/ |
D | csc.h | 156 CSC_EQ_COLORSPACE colorspace; member 283 CSC_EQ_COLORSPACE *colorspace); 307 CSC_EQ_COLORSPACE colorspace);
|
D | v4l2-mediabus.h | 96 __u32 colorspace; member
|
/hardware/google/graphics/common/libscaler/ |
D | libscaler-m2m1shot.h | 83 inline void SetCSCEq(unsigned int colorspace) { in SetCSCEq() argument 86 if (colorspace == V4L2_COLORSPACE_REC709) in SetCSCEq()
|
D | libscalerblend-v4l2.h | 58 enum colorspace space, bool wide) { in SetSrcBlendCSCSpace()
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/util/ |
D | vk_format.h | 177 vk_format_get_component_bits(VkFormat format, enum util_format_colorspace colorspace, in vk_format_get_component_bits() argument 181 colorspace, in vk_format_get_component_bits()
|
/hardware/google/graphics/common/libscaler/include/ |
D | exynos_scaler.h | 91 enum colorspace { enum 104 enum colorspace space;
|
/hardware/qcom/sm7250/display/sdm/libs/core/drm/ |
D | hw_tv_drm.cpp | 283 sde_drm::DRMColorspace colorspace = sde_drm::DRMColorspace::DEFAULT; in UpdateHDRMetaData() local 286 colorspace = sde_drm::DRMColorspace::DCI_P3_RGB_D65; in UpdateHDRMetaData() 292 colorspace = sde_drm::DRMColorspace::BT2020_RGB; in UpdateHDRMetaData() 294 DLOGV_IF(kTagDriverConfig, "Set colorspace = %d", colorspace); in UpdateHDRMetaData() 295 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_COLORSPACE, token_.conn_id, colorspace); in UpdateHDRMetaData()
|
/hardware/google/graphics/common/libgscaler/include/hardware/exynos/ |
D | LibMpp.h | 39 unsigned int fullRange, unsigned int colorspace) = 0;
|
/hardware/google/graphics/common/libv4l2/ |
D | v4l2-mediabus.h | 96 __u32 colorspace; member
|
/hardware/google/aemu/host-common/ |
D | MediaFfmpegVideoHelper.cpp | 184 mFrame->color_trc, mFrame->colorspace}}); in fetchAllFrames()
|
D | MediaH264DecoderFfmpeg.cpp | 334 mColorSpace = mFrame->colorspace; in copyFrame() 338 mFrame->color_range, mFrame->color_trc, mFrame->colorspace); in copyFrame()
|
/hardware/google/graphics/common/libgscaler/ |
D | libgscaler_obj.h | 207 unsigned int fullRange, unsigned int colorspace);
|
/hardware/interfaces/camera/metadata/3.2/ |
D | types.hal | 1196 * reference sensor colorspace to the actual device sensor colorspace.</p> 1203 * reference sensor colorspace to the actual device sensor colorspace 1204 * (this is the colorspace of the raw buffer data).</p> 1225 * sensor colorspace to the CIE XYZ colorspace with a D50 whitepoint.</p> 1232 * sensor colorspace to the CIE XYZ colorspace with a D50 whitepoint.</p> 1291 * <p>The estimated camera neutral color in the native sensor colorspace at
|
/hardware/google/graphics/common/libacryl/ |
D | acrylic_g2d.cpp | 179 unsigned int index, colorspace; in findMatrixIndex() local 181 colorspace = (dataspace & HAL_DATASPACE_STANDARD_MASK) >> HAL_DATASPACE_STANDARD_SHIFT; in findMatrixIndex() 182 if (colorspace >= ARRSIZE(csc_std_to_matrix_index)) { in findMatrixIndex() 187 index = csc_std_to_matrix_index[colorspace] * G2D_CSC_RANGE_COUNT; in findMatrixIndex()
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 983 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_BT878; in venc_open() 1198 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_BT878; in venc_get_buf_req() 1331 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_BT878; in venc_set_param() 2812 fmt.fmt.pix_mp.colorspace = static_cast<decltype(fmt.fmt.pix_mp.colorspace)>(color_space); in venc_empty_buf() 4182 fmt.fmt.pix_mp.colorspace = static_cast<decltype(fmt.fmt.pix_mp.colorspace)>(color_space); in venc_set_color_format()
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 1257 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_470_SYSTEM_BG; in venc_open() 1491 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_470_SYSTEM_BG; in venc_get_buf_req() 1651 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_470_SYSTEM_BG; in venc_set_param() 3485 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_REC709; in venc_empty_buf() 3491 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_470_SYSTEM_BG; in venc_empty_buf() 3604 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_470_SYSTEM_BG; in venc_empty_buf() 3614 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_REC709; in venc_empty_buf() 3625 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_470_SYSTEM_BG; in venc_empty_buf() 5383 fmt.fmt.pix_mp.colorspace = color_space; in venc_set_color_format()
|
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2_params.cpp | 597 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_470_SYSTEM_BG; in venc_set_param() 601 fmt.fmt.pix_mp.pixelformat, fmt.fmt.pix_mp.colorspace); in venc_set_param()
|
D | video_encoder_device_v4l2.cpp | 1663 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_470_SYSTEM_BG; in venc_open() 1893 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_470_SYSTEM_BG; in venc_get_buf_req() 1898 fmt.fmt.pix_mp.pixelformat, fmt.fmt.pix_mp.colorspace); in venc_get_buf_req() 2635 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_REC709; in venc_empty_buf() 2642 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_470_SYSTEM_BG; in venc_empty_buf() 3695 fmt.fmt.pix_mp.colorspace = color_space; in venc_set_color_format()
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 1443 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_470_SYSTEM_BG; in venc_open() 1690 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_470_SYSTEM_BG; in venc_get_buf_req() 1867 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_470_SYSTEM_BG; in venc_set_param() 3932 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_REC709; in venc_empty_buf() 3939 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_470_SYSTEM_BG; in venc_empty_buf() 4059 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_470_SYSTEM_BG; in venc_empty_buf() 4069 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_REC709; in venc_empty_buf() 4080 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_470_SYSTEM_BG; in venc_empty_buf() 5982 fmt.fmt.pix_mp.colorspace = color_space; in venc_set_color_format()
|