Home
last modified time | relevance | path

Searched refs:colorspace (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
DImageFormat.java39 int colorspace, in create() argument
45 result.setMetaValue(COLORSPACE_KEY, colorspace); in create()
55 int colorspace, in create() argument
59 colorspace, in create()
60 bytesPerSampleForColorspace(colorspace), in create()
65 public static MutableFrameFormat create(int colorspace, int target) { in create() argument
68 colorspace, in create()
69 bytesPerSampleForColorspace(colorspace), in create()
74 public static MutableFrameFormat create(int colorspace) { in create() argument
77 colorspace, in create()
[all …]
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/
DColorGrid.kt37 fun toMaxColor(color: Int, colorspace: ColorSpace): Long { in toMaxColor()
38 val red = (Color.red(color) / 255f) * colorspace.getMaxValue(0) in toMaxColor()
39 val green = (Color.green(color) / 255f) * colorspace.getMaxValue(1) in toMaxColor()
40 val blue = (Color.blue(color) / 255f) * colorspace.getMaxValue(2) in toMaxColor()
42 return Color.pack(red, green, blue, alpha, colorspace) in toMaxColor()
/frameworks/av/media/module/metadatautils/
DMetaDataUtils.cpp107 uint32_t colorspace; in getVp9BitdepthChromaSubSampling() local
108 if (!bits.getBitsGraceful(3, &colorspace)) { in getVp9BitdepthChromaSubSampling()
113 if (colorspace != 7 /*SRGB*/) { in getVp9BitdepthChromaSubSampling()
/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.cpp216 outWindowInfo->colorspace = colorSpace; in InitializeWindowInfoStruct()
480 kTopLeft_GrSurfaceOrigin, mWindowInfo.colorspace, &surfaceProps, in dequeueNativeBuffer()
545 mWindowInfo.colorspace = std::move(colorSpace); in setColorSpace()
554 mWindowInfo.colorspace.get(), BufferFormatToColorType(mWindowInfo.bufferFormat)); in setColorSpace()
DVulkanSurface.h99 sk_sp<SkColorSpace> colorspace; member
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
DAndroid.bp32 "colorspace.cpp",
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DColorfulnessFilter.java19 package androidx.media.filterpacks.colorspace;
/frameworks/native/opengl/libs/EGL/
Degl_platform_entries.cpp410 static android_dataspace dataSpaceFromEGLColorSpace(EGLint colorspace, PixelFormat pixelFormat) { in dataSpaceFromEGLColorSpace() argument
411 if (colorspace == EGL_GL_COLORSPACE_LINEAR_KHR) { in dataSpaceFromEGLColorSpace()
413 } else if (colorspace == EGL_GL_COLORSPACE_SRGB_KHR) { in dataSpaceFromEGLColorSpace()
415 } else if (colorspace == EGL_GL_COLORSPACE_DISPLAY_P3_EXT) { in dataSpaceFromEGLColorSpace()
417 } else if (colorspace == EGL_GL_COLORSPACE_DISPLAY_P3_LINEAR_EXT) { in dataSpaceFromEGLColorSpace()
419 } else if (colorspace == EGL_GL_COLORSPACE_DISPLAY_P3_PASSTHROUGH_EXT) { in dataSpaceFromEGLColorSpace()
421 } else if (colorspace == EGL_GL_COLORSPACE_SCRGB_EXT) { in dataSpaceFromEGLColorSpace()
423 } else if (colorspace == EGL_GL_COLORSPACE_SCRGB_LINEAR_EXT) { in dataSpaceFromEGLColorSpace()
425 } else if (colorspace == EGL_GL_COLORSPACE_BT2020_HLG_EXT) { in dataSpaceFromEGLColorSpace()
427 } else if (colorspace == EGL_GL_COLORSPACE_BT2020_LINEAR_EXT) { in dataSpaceFromEGLColorSpace()
[all …]
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DAnimateSharedAsState.kt30 import androidx.compose.ui.graphics.colorspace.ColorSpaces in <lambda>()
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java1454 ColorSpace colorspace = sNamedColorSpaceMap.get(index); in get() local
1455 if (colorspace == null) { in get()
1458 return colorspace; in get()
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp558 DataSpace GetNativeDataspace(VkColorSpaceKHR colorspace, VkFormat format) { in GetNativeDataspace() argument
559 switch (colorspace) { in GetNativeDataspace()