Home
last modified time | relevance | path

Searched refs:pixelFormat (Results 1 – 25 of 43) sorted by relevance

12

/hardware/interfaces/graphics/composer/2.2/utils/vts/
DReadbackVts.cpp99 int32_t ReadbackHelper::GetBytesPerPixel(PixelFormat pixelFormat) { in GetBytesPerPixel() argument
100 switch (pixelFormat) { in GetBytesPerPixel()
111 PixelFormat pixelFormat, in fillBuffer() argument
113 ASSERT_TRUE(pixelFormat == PixelFormat::RGB_888 || pixelFormat == PixelFormat::RGBA_8888); in fillBuffer()
114 int32_t bytesPerPixel = GetBytesPerPixel(pixelFormat); in fillBuffer()
155 bool ReadbackHelper::readbackSupported(const PixelFormat& pixelFormat, const Dataspace& dataspace, in readbackSupported() argument
161 if (pixelFormat != PixelFormat::RGB_888 && pixelFormat != PixelFormat::RGBA_8888) { in readbackSupported()
173 const PixelFormat pixelFormat) { in compareColorBuffers() argument
174 const int32_t bytesPerPixel = ReadbackHelper::GetBytesPerPixel(pixelFormat); in compareColorBuffers()
190 uint32_t width, uint32_t height, PixelFormat pixelFormat, in ReadbackBuffer() argument
[all …]
DRenderEngineVts.cpp32 mFormat = static_cast<common::V1_1::PixelFormat>(args.pixelFormat); in TestRenderEngine()
/hardware/interfaces/graphics/composer/aidl/vts/
DReadbackVts.cpp109 int32_t ReadbackHelper::GetBytesPerPixel(common::PixelFormat pixelFormat) { in GetBytesPerPixel() argument
110 switch (pixelFormat) { in GetBytesPerPixel()
121 common::PixelFormat pixelFormat, in fillBuffer() argument
123 ASSERT_TRUE(pixelFormat == common::PixelFormat::RGB_888 || in fillBuffer()
124 pixelFormat == common::PixelFormat::RGBA_8888); in fillBuffer()
125 int32_t bytesPerPixel = GetBytesPerPixel(pixelFormat); in fillBuffer()
165 bool ReadbackHelper::readbackSupported(const common::PixelFormat& pixelFormat, in readbackSupported() argument
167 if (pixelFormat != common::PixelFormat::RGB_888 && in readbackSupported()
168 pixelFormat != common::PixelFormat::RGBA_8888) { in readbackSupported()
179 const uint32_t height, common::PixelFormat pixelFormat) { in compareColorBuffers() argument
[all …]
DReadbackVts.h175 static int32_t GetBytesPerPixel(PixelFormat pixelFormat);
178 PixelFormat pixelFormat, std::vector<Color> desiredPixelColors);
186 static bool readbackSupported(const PixelFormat& pixelFormat, const Dataspace& dataspace);
193 const uint32_t height, PixelFormat pixelFormat);
196 PixelFormat pixelFormat);
202 int32_t height, common::PixelFormat pixelFormat, common::Dataspace dataspace);
DRenderEngineVts.cpp27 mFormat = static_cast<common::PixelFormat>(args.pixelFormat); in TestRenderEngine()
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/
DReadbackVts.h148 static int32_t GetBytesPerPixel(PixelFormat pixelFormat);
151 PixelFormat pixelFormat,
160 static bool readbackSupported(const PixelFormat& pixelFormat, const Dataspace& dataspace,
168 const uint32_t height, const PixelFormat pixelFormat);
174 uint32_t height, PixelFormat pixelFormat, Dataspace dataspace);
/hardware/google/gfxstream/host/gl/glestranslator/EGL/
DEglOsApi_wgl.cpp533 …explicit WinSurface(HPBUFFERARB pb, const EglOS::PixelFormat* pixelFormat, const WglExtensionsDisp… in WinSurface() argument
536 m_pixelFormat(pixelFormat), in WinSurface()
1004 const EglOS::PixelFormat* pixelFormat, in checkWindowPixelFormatMatch() argument
1014 const WinPixelFormat* format = WinPixelFormat::from(pixelFormat); in checkWindowPixelFormatMatch()
1024 const EglOS::PixelFormat* pixelFormat, in createContext() argument
1029 const WinPixelFormat* format = WinPixelFormat::from(pixelFormat); in createContext()
1058 const EglOS::PixelFormat* pixelFormat, in createPbufferSurface() argument
1065 auto& freeElts = mFreePbufs[pixelFormat]; in createPbufferSurface()
1081 int toCreate = std::max((int)mLivePbufs[pixelFormat].size(), kPbufPrimingCount); in createPbufferSurface()
1083 freeElts.push_back(createPbufferSurfaceImpl(pixelFormat)); in createPbufferSurface()
[all …]
DEglOsApi_darwin.cpp241 const EglOS::PixelFormat* pixelFormat, in checkWindowPixelFormatMatch() argument
246 const MacPixelFormat* format = MacPixelFormat::from(pixelFormat); in checkWindowPixelFormatMatch()
258 const EglOS::PixelFormat* pixelFormat, in createContext() argument
268 MacPixelFormat::from(pixelFormat)->handle()); in createContext()
276 MacPixelFormat::from(pixelFormat)->handle()); in createContext()
287 const EglOS::PixelFormat* pixelFormat, in createPbufferSurface() argument
DEglOsApi.h178 const PixelFormat* pixelFormat,
184 const PixelFormat* pixelFormat,
188 const PixelFormat* pixelFormat, const PbufferInfo* info) = 0;
DEglOsApi_glx.cpp380 const EglOS::PixelFormat* pixelFormat, in checkWindowPixelFormatMatch() argument
386 GLXFBConfig fbconfig = GlxPixelFormat::from(pixelFormat); in checkWindowPixelFormatMatch()
406 const EglOS::PixelFormat* pixelFormat, in createContext() argument
421 GlxPixelFormat::from(pixelFormat), in createContext()
428 GlxPixelFormat::from(pixelFormat), in createContext()
466 const EglOS::PixelFormat* pixelFormat, in createPbufferSurface() argument
471 GLXFBConfig config = GlxPixelFormat::from(pixelFormat); in createPbufferSurface()
DEglOsApi_egl.cpp303 const PixelFormat* pixelFormat,
305 Surface* createPbufferSurface(const PixelFormat* pixelFormat,
315 const PixelFormat* pixelFormat,
615 const PixelFormat* pixelFormat, in createContext() argument
620 const EglOsEglPixelFormat* format = (const EglOsEglPixelFormat*)pixelFormat; in createContext()
657 Surface* EglOsEglDisplay::createPbufferSurface(const PixelFormat* pixelFormat, in createPbufferSurface() argument
795 const PixelFormat* pixelFormat, in checkWindowPixelFormatMatch() argument
829 const EglOsEglPixelFormat* format = (EglOsEglPixelFormat*)pixelFormat; in checkWindowPixelFormatMatch()
DMacNative.m45 - (id) initWithFormat:(NSOpenGLPixelFormat *)pixelFormat shareContext:(NSOpenGLContext *)share;
50 - (id) initWithFormat:(NSOpenGLPixelFormat *)pixelFormat shareContext:(NSOpenGLContext *)share
52 self = [super initWithFormat:pixelFormat shareContext:share];
/hardware/interfaces/graphics/composer/aidl/android/hardware/graphics/composer3/
DClientTargetProperty.aidl21 android.hardware.graphics.common.PixelFormat pixelFormat;
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/3/android/hardware/graphics/composer3/
DClientTargetProperty.aidl37 android.hardware.graphics.common.PixelFormat pixelFormat;
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/1/android/hardware/graphics/composer3/
DClientTargetProperty.aidl37 android.hardware.graphics.common.PixelFormat pixelFormat;
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/2/android/hardware/graphics/composer3/
DClientTargetProperty.aidl37 android.hardware.graphics.common.PixelFormat pixelFormat;
/hardware/interfaces/graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/current/android/hardware/graphics/composer3/
DClientTargetProperty.aidl37 android.hardware.graphics.common.PixelFormat pixelFormat;
/hardware/interfaces/automotive/evs/1.1/default/
DConfigManagerUtil.h35 static bool convertToPixelFormat(const std::string& format, int32_t& pixelFormat);
/hardware/google/graphics/common/hwc3/impl/
DTranslateHwcAidl.h72 translate(in.pixelFormat, out.pixelFormat); in translate()
/hardware/interfaces/graphics/composer/2.4/utils/command-buffer/include/composer-command-buffer/2.4/
DComposerCommandBuffer.h52 writeSigned(static_cast<int32_t>(clientTargetProperty.pixelFormat)); in setClientTargetProperty()
/hardware/libhardware/include_all/hardware/
Dhwcomposer_defs.h135 int32_t pixelFormat; member
/hardware/libhardware/include/hardware/
Dhwcomposer_defs.h135 int32_t pixelFormat; member
/hardware/google/gfxstream/host/gl/
DYUVConverter.cpp463 const GLenum pixelFormat = getGlPixelFormat(format, yuv420888ToNv21, plane); in createYUVGLTex() local
465 …s_gles2.glTexImage2D(GL_TEXTURE_2D, 0, textureFormat, width, height, 0, pixelFormat, pixelType, NU… in createYUVGLTex()
484 const GLenum pixelFormat = getGlPixelFormat(format, yuv420888ToNv21, plane); in readYUVTex() local
487 s_gles2.glGetTexImage(GL_TEXTURE_2D, 0, pixelFormat, pixelType, pixels); in readYUVTex()
513 const GLenum pixelFormat = getGlPixelFormat(format, yuv420888ToNv21, plane); in subUpdateYUVGLTex() local
521 s_gles2.glTexSubImage2D(GL_TEXTURE_2D, 0, x, y, width, height, pixelFormat, pixelType, pixels); in subUpdateYUVGLTex()
/hardware/google/graphics/gs101/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplayModule.cpp160 hwc::PixelFormat pixelFormat; in getClientTargetProperty() local
163 if (!displayColorInterface->GetBlendingProperty(display, pixelFormat, dataspace, in getClientTargetProperty()
165 outClientTargetProperty->pixelFormat = toUnderlying(pixelFormat); in getClientTargetProperty()
/hardware/google/gfxstream/guest/GLESv2_enc/
DGLESv2Validation.h74 bool pixelFormat(GL2Encoder* ctx, GLenum format);

12