Home
last modified time | relevance | path

Searched refs:FrameworkFormat (Results 1 – 18 of 18) sorted by relevance

/hardware/google/gfxstream/host/gl/
DYUVConverter.h62 YUVConverter(int width, int height, FrameworkFormat format,
70 void drawConvertFromFormat(FrameworkFormat format, int x, int y, int width, int height,
78 void swapTextures(FrameworkFormat type, GLuint* textures, void* metadata = nullptr);
84 FrameworkFormat format,
89 void init(int w, int h, FrameworkFormat format);
101 FrameworkFormat mFormat;
103 FrameworkFormat mColorBufferFormat;
DColorBufferGl.h95 FrameworkFormat frameworkFormat, HandleType handle,
134 void swapYUVTextures(FrameworkFormat texture_type, GLuint* textures, void* metadata = nullptr);
144 FrameworkFormat fwkFormat, GLenum p_format, GLenum p_type,
225 FrameworkFormat getFrameworkFormat() { return m_frameworkFormat; } in getFrameworkFormat()
273 FrameworkFormat m_frameworkFormat;
DYUVConverter.cpp45 bool isInterleaved(FrameworkFormat format, bool yuv420888ToNv21) { in isInterleaved()
65 YUVInterleaveDirection getInterleaveDirection(FrameworkFormat format, bool yuv420888ToNv21) { in getInterleaveDirection()
87 GLint getGlTextureFormat(FrameworkFormat format, bool yuv420888ToNv21, YUVPlane plane) { in getGlTextureFormat()
150 GLenum getGlPixelFormat(FrameworkFormat format, bool yuv420888ToNv21, YUVPlane plane) { in getGlPixelFormat()
213 GLsizei getGlPixelType(FrameworkFormat format, bool yuv420888ToNv21, YUVPlane plane) { in getGlPixelType()
311 FrameworkFormat format, in getYUVOffsets()
448 FrameworkFormat format, in createYUVGLTex()
470 static void readYUVTex(GLuint tex, FrameworkFormat format, bool yuv420888ToNv21, in readYUVTex()
507 FrameworkFormat format, in subUpdateYUVGLTex()
863 YUVConverter::YUVConverter(int width, int height, FrameworkFormat format, bool yuv420888ToNv21) in YUVConverter()
[all …]
DColorBufferGl.cpp216 FrameworkFormat p_frameworkFormat, in create()
574 void ColorBufferGl::swapYUVTextures(FrameworkFormat type, uint32_t* textures, void* metadata) { in swapYUVTextures()
575 if (type == FrameworkFormat::FRAMEWORK_FORMAT_NV12) { in swapYUVTextures()
591 FrameworkFormat fwkFormat, GLenum p_format, in subUpdateFromFrameworkFormat()
966 FrameworkFormat frameworkFormat = in onLoad()
967 static_cast<FrameworkFormat>(stream->getBe32()); in onLoad()
DEmulationGl.h110 FrameworkFormat frameworkFormat,
DEmulationGl.cpp633 FrameworkFormat frameworkFormat, in createColorBuffer()
/hardware/google/gfxstream/host/
DColorBuffer.h53 FrameworkFormat frameworkFormat, HandleType handle,
67 FrameworkFormat getFrameworkFormat() const { return mFrameworkFormat; } in getFrameworkFormat()
77 bool updateFromBytes(int x, int y, int width, int height, FrameworkFormat frameworkFormat,
106 void glOpSwapYuvTexturesAndUpdate(GLenum format, GLenum type, FrameworkFormat frameworkFormat,
116 FrameworkFormat frameworkFormat);
122 const FrameworkFormat mFrameworkFormat;
DColorBuffer.cpp38 bool shouldAttemptExternalMemorySharing(FrameworkFormat format) { in shouldAttemptExternalMemorySharing()
39 return format == FrameworkFormat::FRAMEWORK_FORMAT_GL_COMPATIBLE; in shouldAttemptExternalMemorySharing()
45 FrameworkFormat frameworkFormat) in ColorBuffer()
56 FrameworkFormat frameworkFormat, HandleType handle, in create()
133 const auto frameworkFormat = static_cast<FrameworkFormat>(stream->getBe32()); in onLoad()
221 FrameworkFormat frameworkFormat, GLenum pixelsFormat, in updateFromBytes()
532 FrameworkFormat frameworkFormat, GLuint* textures) { in glOpSwapYuvTexturesAndUpdate()
DFrameworkFormats.h17 enum FrameworkFormat { enum
DFrameBuffer.h202 FrameworkFormat p_frameworkFormat);
207 FrameworkFormat p_frameworkFormat, HandleType handle,
301 int height, FrameworkFormat fwkFormat, GLenum format,
306 FrameworkFormat* frameworkFormat = nullptr);
706 FrameworkFormat p_frameworkFormat,
DRendererImpl.cpp563 width, height, (GLenum)format, (FrameworkFormat)fwkFormat, handle, linear); in __anon979e1a630502()
656 handle, x, y, width, height, (FrameworkFormat)fwkFormat, format, type, pixels, in __anon979e1a631f02()
DFrameBuffer.cpp1135 FrameworkFormat p_frameworkFormat) { in createColorBuffer()
1146 FrameworkFormat p_frameworkFormat, HandleType handle, in createColorBufferWithHandle()
1169 FrameworkFormat p_frameworkFormat, in createColorBufferWithHandleLocked()
1653 FrameworkFormat fwkFormat, GLenum format, in updateColorBufferFromFrameworkFormat()
1673 FrameworkFormat* frameworkFormat) { in getColorBufferInfo()
3740 FrameworkFormat format = static_cast<FrameworkFormat>(type); in createYUVTextures()
3812 format, type, static_cast<FrameworkFormat>(texture_type), textures); in swapTexturesAndUpdateColorBuffer()
DRenderControl.cpp830 (FrameworkFormat)frameworkFormat); in rcCreateColorBufferDMA()
/hardware/google/graphics/common/gralloc-headers/pixel-gralloc/
Dformat.h9 using FrameworkFormat = aidl::android::hardware::graphics::common::PixelFormat; variable
11 #define MapFormat(f) f = static_cast<uint32_t>(FrameworkFormat::f)
/hardware/google/gfxstream/host/vulkan/
DColorBufferVk.h29 GLenum format, FrameworkFormat frameworkFormat,
DColorBufferVk.cpp25 FrameworkFormat frameworkFormat, in create()
DVkCommonOperations.cpp1985 case FrameworkFormat::FRAMEWORK_FORMAT_GL_COMPATIBLE: in initializeVkColorBufferLocked()
1988 case FrameworkFormat::FRAMEWORK_FORMAT_NV12: in initializeVkColorBufferLocked()
1991 case FrameworkFormat::FRAMEWORK_FORMAT_P010: in initializeVkColorBufferLocked()
1994 case FrameworkFormat::FRAMEWORK_FORMAT_YV12: in initializeVkColorBufferLocked()
1995 case FrameworkFormat::FRAMEWORK_FORMAT_YUV_420_888: in initializeVkColorBufferLocked()
2191 FrameworkFormat frameworkFormat, uint32_t colorBufferHandle, in createVkColorBufferLocked()
2218 FrameworkFormat frameworkFormat, uint32_t colorBufferHandle, in createVkColorBuffer()
2354 if (colorBufferInfo.frameworkFormat != FrameworkFormat::FRAMEWORK_FORMAT_GL_COMPATIBLE) { in colorBufferNeedsUpdateBetweenGlAndVk()
3644 FrameworkFormat::FRAMEWORK_FORMAT_GL_COMPATIBLE, in findRepresentativeColorBufferMemoryTypeIndexLocked()
DVkCommonOperations.h479 FrameworkFormat frameworkFormat, uint32_t colorBufferHandle,