We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b12f417 + 30f38de commit c1c1865Copy full SHA for c1c1865
1 file changed
libs/nativewindow/include/android/hardware_buffer.h
@@ -174,6 +174,14 @@ enum AHardwareBuffer_Format {
174
*/
175
AHARDWAREBUFFER_FORMAT_YCbCr_P010 = 0x36,
176
177
+ /**
178
+ * YUV P210 format.
179
+ * Must have an even width and height. Can be accessed in OpenGL
180
+ * shaders through an external sampler. Does not support mip-maps
181
+ * cube-maps or multi-layered textures.
182
+ */
183
+ AHARDWAREBUFFER_FORMAT_YCbCr_P210 = 0x3c,
184
+
185
/**
186
* Corresponding formats:
187
* Vulkan: VK_FORMAT_R8_UNORM
0 commit comments