/device/amlogic/yukawa/hal/gralloc/ |
D | mali_gralloc_bufferallocation.cpp | 103 static void get_rgb_stride_and_size(int width, int height, int pixel_size, int *pixel_stride, int *… in get_rgb_stride_and_size() argument 108 stride = width * pixel_size; in get_rgb_stride_and_size() 138 w_aligned = GRALLOC_ALIGN(width, AFBC_TILED_HEADERS_BASIC_WIDTH_ALIGN); in get_rgb_stride_and_size() 144 w_aligned = GRALLOC_ALIGN(width, AFBC_TILED_HEADERS_WIDEBLK_WIDTH_ALIGN); in get_rgb_stride_and_size() 150 w_aligned = GRALLOC_ALIGN(width, 64); in get_rgb_stride_and_size() 154 w_aligned = GRALLOC_ALIGN(width, AFBC_WIDEBLK_WIDTH_ALIGN); in get_rgb_stride_and_size() 159 w_aligned = GRALLOC_ALIGN(width, AFBC_NORMAL_WIDTH_ALIGN); in get_rgb_stride_and_size() 197 static bool get_afbc_yuv420_8bit_stride_and_size(int width, int height, int *pixel_stride, int *byt… in get_afbc_yuv420_8bit_stride_and_size() argument 226 width = GRALLOC_ALIGN(width, AFBC_TILED_HEADERS_BASIC_WIDTH_ALIGN); in get_afbc_yuv420_8bit_stride_and_size() 232 width = GRALLOC_ALIGN(width, AFBC_TILED_HEADERS_WIDEBLK_WIDTH_ALIGN); in get_afbc_yuv420_8bit_stride_and_size() [all …]
|
/device/linaro/hikey/gralloc960/ |
D | mali_gralloc_bufferallocation.cpp | 103 static void get_rgb_stride_and_size(int width, int height, int pixel_size, int *pixel_stride, int *… in get_rgb_stride_and_size() argument 108 stride = width * pixel_size; in get_rgb_stride_and_size() 138 w_aligned = GRALLOC_ALIGN(width, AFBC_TILED_HEADERS_BASIC_WIDTH_ALIGN); in get_rgb_stride_and_size() 144 w_aligned = GRALLOC_ALIGN(width, AFBC_TILED_HEADERS_WIDEBLK_WIDTH_ALIGN); in get_rgb_stride_and_size() 150 w_aligned = GRALLOC_ALIGN(width, 64); in get_rgb_stride_and_size() 154 w_aligned = GRALLOC_ALIGN(width, AFBC_WIDEBLK_WIDTH_ALIGN); in get_rgb_stride_and_size() 159 w_aligned = GRALLOC_ALIGN(width, AFBC_NORMAL_WIDTH_ALIGN); in get_rgb_stride_and_size() 197 static bool get_afbc_yuv420_8bit_stride_and_size(int width, int height, int *pixel_stride, int *byt… in get_afbc_yuv420_8bit_stride_and_size() argument 226 width = GRALLOC_ALIGN(width, AFBC_TILED_HEADERS_BASIC_WIDTH_ALIGN); in get_afbc_yuv420_8bit_stride_and_size() 232 width = GRALLOC_ALIGN(width, AFBC_TILED_HEADERS_WIDEBLK_WIDTH_ALIGN); in get_afbc_yuv420_8bit_stride_and_size() [all …]
|
/device/generic/vulkan-cereal/stream-servers/tests/ |
D | TextureDraw_unittest.cpp | 31 const int width = viewport[2]; in TestTextureDrawBasic() local 35 const int bytes = width * height * bpp; in TestTextureDrawBasic() 50 for (int j = 0; j < width; j++) { in TestTextureDrawBasic() 51 pixels[i * width * bpp + j * bpp + 0] = (0xaa + i) % 0x100; in TestTextureDrawBasic() 52 pixels[i * width * bpp + j * bpp + 1] = (0x00 + j) % 0x100; in TestTextureDrawBasic() 53 pixels[i * width * bpp + j * bpp + 2] = (0x11 + i) % 0x100; in TestTextureDrawBasic() 54 pixels[i * width * bpp + j * bpp + 3] = (0xff + j) % 0x100; in TestTextureDrawBasic() 59 gl->glTexImage2D(GL_TEXTURE_2D, 0, internalformat, width, height, 0, in TestTextureDrawBasic() 79 gl->glReadPixels(0, 0, width, height, format, type, pixelsOut.data()); in TestTextureDrawBasic() 83 size_t rowBytes = width * bpp; in TestTextureDrawBasic() [all …]
|
D | GLTestUtils.cpp | 36 testing::AssertionResult ImageMatches(int width, int height, int bpp, int rowLength, in ImageMatches() argument 43 size_t rowBytes = width * bpp; in ImageMatches() 69 TestTexture createTestPatternRGB888(int width, int height) { in createTestPatternRGB888() argument 72 TestTexture res(bpp * width * height); in createTestPatternRGB888() 75 for (int j = 0; j < width; j++) { in createTestPatternRGB888() 76 res[i * bpp * width + j * bpp + 0] = i % 0x100; in createTestPatternRGB888() 77 res[i * bpp * width + j * bpp + 1] = j % 0x100; in createTestPatternRGB888() 78 res[i * bpp * width + j * bpp + 2] = (i * width + j) % 0x100; in createTestPatternRGB888() 85 TestTexture createTestPatternRGBA8888(int width, int height) { in createTestPatternRGBA8888() argument 88 TestTexture res(bpp * width * height); in createTestPatternRGBA8888() [all …]
|
/device/google/sunfish-kernel/sm7150/kernel-headers/media/ |
D | msm_media_info.h | 899 static __inline__ unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument 902 (void)width; in VENUS_EXTRADATA_SIZE() 918 static __inline__ unsigned int VENUS_Y_STRIDE(int color_fmt, int width) in VENUS_Y_STRIDE() argument 922 if (!width) in VENUS_Y_STRIDE() 931 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE() 935 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE() 939 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE() 944 stride = MSM_MEDIA_ALIGN(width * 2, alignment); in VENUS_Y_STRIDE() 948 stride = MSM_MEDIA_ALIGN(width*2, alignment); in VENUS_Y_STRIDE() 964 static __inline__ unsigned int VENUS_UV_STRIDE(int color_fmt, int width) in VENUS_UV_STRIDE() argument [all …]
|
/device/google/coral-kernel/sm8150/original-kernel-headers/media/ |
D | msm_media_info.h | 899 static __inline__ unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument 902 (void)width; in VENUS_EXTRADATA_SIZE() 918 static __inline__ unsigned int VENUS_Y_STRIDE(int color_fmt, int width) in VENUS_Y_STRIDE() argument 922 if (!width) in VENUS_Y_STRIDE() 931 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE() 935 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE() 939 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE() 944 stride = MSM_MEDIA_ALIGN(width * 2, alignment); in VENUS_Y_STRIDE() 948 stride = MSM_MEDIA_ALIGN(width*2, alignment); in VENUS_Y_STRIDE() 964 static __inline__ unsigned int VENUS_UV_STRIDE(int color_fmt, int width) in VENUS_UV_STRIDE() argument [all …]
|
/device/google/coral-kernel/sm8150/kernel-headers/media/ |
D | msm_media_info.h | 899 static __inline__ unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument 902 (void)width; in VENUS_EXTRADATA_SIZE() 918 static __inline__ unsigned int VENUS_Y_STRIDE(int color_fmt, int width) in VENUS_Y_STRIDE() argument 922 if (!width) in VENUS_Y_STRIDE() 931 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE() 935 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE() 939 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE() 944 stride = MSM_MEDIA_ALIGN(width * 2, alignment); in VENUS_Y_STRIDE() 948 stride = MSM_MEDIA_ALIGN(width*2, alignment); in VENUS_Y_STRIDE() 964 static __inline__ unsigned int VENUS_UV_STRIDE(int color_fmt, int width) in VENUS_UV_STRIDE() argument [all …]
|
/device/google/sunfish-kernel/sm7150/original-kernel-headers/media/ |
D | msm_media_info.h | 899 static __inline__ unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument 902 (void)width; in VENUS_EXTRADATA_SIZE() 918 static __inline__ unsigned int VENUS_Y_STRIDE(int color_fmt, int width) in VENUS_Y_STRIDE() argument 922 if (!width) in VENUS_Y_STRIDE() 931 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE() 935 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE() 939 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE() 944 stride = MSM_MEDIA_ALIGN(width * 2, alignment); in VENUS_Y_STRIDE() 948 stride = MSM_MEDIA_ALIGN(width*2, alignment); in VENUS_Y_STRIDE() 964 static __inline__ unsigned int VENUS_UV_STRIDE(int color_fmt, int width) in VENUS_UV_STRIDE() argument [all …]
|
/device/google/redbull-kernel/sm7250/kernel-headers/media/ |
D | msm_media_info.h | 775 unsigned int width) in VENUS_Y_STRIDE() argument 779 if (!width) in VENUS_Y_STRIDE() 787 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE() 791 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE() 795 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE() 801 stride = MSM_MEDIA_ALIGN(width * 2, alignment); in VENUS_Y_STRIDE() 818 unsigned int width) in VENUS_UV_STRIDE() argument 822 if (!width) in VENUS_UV_STRIDE() 830 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE() 834 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE() [all …]
|
/device/google/redbull-kernel/sm7250/original-kernel-headers/media/ |
D | msm_media_info.h | 775 unsigned int width) in VENUS_Y_STRIDE() argument 779 if (!width) in VENUS_Y_STRIDE() 787 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE() 791 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE() 795 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE() 801 stride = MSM_MEDIA_ALIGN(width * 2, alignment); in VENUS_Y_STRIDE() 818 unsigned int width) in VENUS_UV_STRIDE() argument 822 if (!width) in VENUS_UV_STRIDE() 830 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE() 834 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE() [all …]
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
D | FormatConversions.cpp | 34 static int get_rgb_offset(int row, int width, int rgbStride) { in get_rgb_offset() argument 35 return row * width * rgbStride; in get_rgb_offset() 53 void get_yv12_offsets(int width, int height, in get_yv12_offsets() argument 58 uint32_t yStride = (width + (align - 1)) & ~(align-1); in get_yv12_offsets() 68 void get_yuv420p_offsets(int width, int height, in get_yuv420p_offsets() argument 73 uint32_t yStride = (width + (align - 1)) & ~(align-1); in get_yuv420p_offsets() 92 void rgb565_to_yv12(char* dest, char* src, int width, int height, in rgb565_to_yv12() argument 97 int yStride = (width + (align -1)) & ~(align-1); in rgb565_to_yv12() 109 uint16_t *rgb_ptr = rgb_ptr0 + get_rgb_offset(j, width, rgb_stride) / 2; in rgb565_to_yv12() 132 void rgb888_to_yv12(char* dest, char* src, int width, int height, in rgb888_to_yv12() argument [all …]
|
D | FormatConversions.h | 23 void get_yv12_offsets(int width, int height, 27 void get_yuv420p_offsets(int width, int height, 32 void rgb565_to_yv12(char* dest, char* src, int width, int height, 34 void rgb888_to_yv12(char* dest, char* src, int width, int height, 36 void rgb888_to_yuv420p(char* dest, char* src, int width, int height, 38 void yv12_to_rgb565(char* dest, char* src, int width, int height, 40 void yv12_to_rgb888(char* dest, char* src, int width, int height, 42 void yuv420p_to_rgb888(char* dest, char* src, int width, int height, 46 int width, int height, int top, int left,
|
/device/generic/goldfish/camera/ |
D | yuv.cpp | 28 void copyCbCrPlane(uint8_t* dst, const size_t width, size_t height, in copyCbCrPlane() argument 33 for (size_t rem = width & 15; rem; --rem, ++dst, p += srcStep) { in copyCbCrPlane() 37 for (size_t width16 = width >> 4; width16; --width16) { in copyCbCrPlane() 60 size_t NV21size(const size_t width, const size_t height) { in NV21size() argument 61 LOG_ALWAYS_FATAL_IF((width & 1) || (height & 1)); in NV21size() 62 return width * height * 3 / 2; in NV21size() 65 android_ycbcr NV21init(const size_t width, const size_t height, void* data) { in NV21init() argument 66 LOG_ALWAYS_FATAL_IF((width & 1) || (height & 1)); in NV21init() 68 const size_t area = width * height; in NV21init() 74 nv21.ystride = width; in NV21init() [all …]
|
/device/generic/goldfish-opengl/system/GLESv2_enc/ |
D | IOStream2.cpp | 11 void IOStream::readbackPixels(void* context, int width, int height, unsigned int format, unsigned i… in readbackPixels() argument 21 ctx->state()->getPackingOffsets2D(width, height, format, type, in readbackPixels() 30 width, height, 1, format, type, 1 /* is pack */); in readbackPixels() 36 } else if (pixelRowSize == totalRowSize && (pixelRowSize == width * bpp)) { in readbackPixels() 54 if (pixelRowSize > width * bpp) { in readbackPixels() 55 size_t rowSlack = pixelRowSize - width * bpp; in readbackPixels() 57 readback(start, width * bpp); in readbackPixels() 70 void IOStream::uploadPixels(void* context, int width, int height, int depth, unsigned int format, u… in uploadPixels() argument 81 ctx->state()->getUnpackingOffsets2D(width, height, format, type, in uploadPixels() 90 width, height, 1, format, type, 0 /* is unpack */); in uploadPixels() [all …]
|
/device/generic/opengl-transport/host/libs/virglrenderer/libOpenglRender/ |
D | YUVConverter.cpp | 30 static void getPlanarYUVSizes(int width, int height, in getPlanarYUVSizes() argument 57 uint32_t yStride = (width + (align - 1)) & ~(align - 1); in getPlanarYUVSizes() 71 static void getYUVSizes(int width, int height, in getYUVSizes() argument 80 getPlanarYUVSizes(width, height, format, in getYUVSizes() 91 static void getPlanarYUVOffsets(int width, int height, FrameworkFormat format, in getPlanarYUVOffsets() argument 98 getYUVSizes(width, height, format, &totalSize, &yStride, &cStride, &cHeight); in getPlanarYUVOffsets() 135 static void getYUVOffsets(int width, int height, FrameworkFormat format, in getYUVOffsets() argument 141 getPlanarYUVOffsets(width, height, format, in getYUVOffsets() 162 GLsizei width, in createYUVGLTex() argument 173 width, height, 0, in createYUVGLTex() [all …]
|
/device/generic/vulkan-cereal/stream-servers/gl/OpenGLESDispatch/ |
D | gles_common_dispatch_logging_wrappers.impl | 79 …LoggingWrapper(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, G… 80 …evel:%d, internalformat:0x%X, width:%d, height:%d, border:%d, imageSize:%d, data:%p)", target, lev… 81 …GLDispatch::glCompressedTexImage2D_underlying(target, level, internalformat, width, height, border… 84 …Wrapper(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, G… 85 …%d, xoffset:%d, yoffset:%d, width:%d, height:%d, format:0x%X, imageSize:%d, data:%p)", target, lev… 86 …GLDispatch::glCompressedTexSubImage2D_underlying(target, level, xoffset, yoffset, width, height, f… 89 …num target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, G… 90 …:%d, internalFormat:0x%X, x:%d, y:%d, width:%d, height:%d, border:%d)", target, level, internalFor… 91 …GLDispatch::glCopyTexImage2D_underlying(target, level, internalFormat, x, y, width, height, border… 94 …rget, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) { [all …]
|
/device/generic/vulkan-cereal/stream-servers/gl/ |
D | YUVConverter.cpp | 309 static void getYUVOffsets(int width, in getYUVOffsets() argument 329 *yWidth = width; in getYUVOffsets() 333 *yStridePixels = alignToPower2(width, 32); in getYUVOffsets() 337 *vWidth = width / 2; in getYUVOffsets() 343 *uWidth = width / 2; in getYUVOffsets() 352 *yWidth = width; in getYUVOffsets() 355 *yStridePixels = width; in getYUVOffsets() 358 *vWidth = width / 2; in getYUVOffsets() 364 *uWidth = width / 2; in getYUVOffsets() 370 *yWidth = width; in getYUVOffsets() [all …]
|
/device/generic/vulkan-cereal/stream-servers/vulkan/ |
D | VkFormatUtils_unittest.cpp | 33 return ExplainMatchResult(AllOf(Field("width", &VkExtent3D::width, Eq(expected.width)), 74 const uint32_t width = 16; in TEST() local 76 ASSERT_THAT(getFormatTransferInfo(format, width, height, nullptr, nullptr), IsFalse()); in TEST() 81 const uint32_t width = 16; in TEST() local 86 ASSERT_THAT(getFormatTransferInfo(format, width, height, &bufferCopySize, &bufferImageCopies), in TEST() 108 .width = 16, in TEST() 117 const uint32_t width = 16; in TEST() local 122 ASSERT_THAT(getFormatTransferInfo(format, width, height, &bufferCopySize, &bufferImageCopies), in TEST() 145 .width = 16, in TEST() 169 .width = 8, in TEST() [all …]
|
/device/generic/vulkan-cereal/stream-servers/ |
D | gfxstream_unittest.cpp | 40 static constexpr uint32_t width = 256; member in GfxStreamBackendTest 55 {STREAM_RENDERER_PARAM_WIN0_WIDTH, width}, in GfxStreamBackendTest() 78 window->initialize("GfxStreamBackendTestWindow", width, height); in SetUp() 116 width, height, width, height); in TEST_F() 129 .width = width, in TEST_F() 141 auto fb = std::make_unique<uint32_t[]>(width * height); in TEST_F() 143 stream_renderer_flush_resource_and_readback(res_id, 0, 0, width, height, in TEST_F() 144 fb.get(), width * height); in TEST_F() 158 .width = width, in TEST_F() 170 auto fb = std::make_unique<uint32_t[]>(width * height); in TEST_F() [all …]
|
D | ColorBuffer.cpp | 41 ColorBuffer::ColorBuffer(HandleType handle, uint32_t width, uint32_t height, GLenum format, in ColorBuffer() argument 44 mWidth(width), in ColorBuffer() 51 vk::VkEmulation* emulationVk, uint32_t width, in create() argument 56 new ColorBuffer(handle, width, height, format, frameworkFormat)); in create() 60 emulationGl->createColorBuffer(width, height, format, frameworkFormat, handle); in create() 71 vk::ColorBufferVk::create(handle, width, height, format, frameworkFormat, vulkanOnly, in create() 108 const auto width = static_cast<uint32_t>(stream->getBe32()); in onLoad() local 114 new ColorBuffer(handle, width, height, format, frameworkFormat)); in onLoad() 147 void ColorBuffer::readToBytes(int x, int y, int width, int height, GLenum pixelsFormat, in readToBytes() argument 152 mColorBufferGl->readPixels(x, y, width, height, pixelsFormat, pixelsType, outPixels); in readToBytes() [all …]
|
/device/generic/vulkan-cereal/include/OpenGLESDispatch/ |
D | gles_common_functions.h | 26 …nalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data), (… 27 …yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data), (t… 28 …alFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border), (target, level, internal… 29 … GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height), (target, level, xoffset, yoffset… 63 X(void, glLineWidth, (GLfloat width), (width)) \ 66 …dPixels, (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * pi… 67 …izei samples, GLenum internalformat, GLsizei width, GLsizei height), (target, samples, internalfor… 69 X(void, glScissor, (GLint x, GLint y, GLsizei width, GLsizei height), (x, y, width, height)) \ 73 …mat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * pixel… 76 …t yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels), (tar… [all …]
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
D | GLESTextureUtils.cpp | 240 static int computePackingOffset(GLenum format, GLenum type, GLsizei width, GLsizei height, int alig… in computePackingOffset() argument 241 GLsizei alignedPitch = computePitch(width, format, type, align); in computePackingOffset() 250 GLsizei width, GLsizei height, GLsizei depth, in computeTextureStartEnd() argument 262 GLsizei inputWidth = (unpackRowLength == 0) ? width : unpackRowLength; in computeTextureStartEnd() 266 …ALOGV("%s: input idim %d %d %d w p h %d %d %d:", __FUNCTION__, width, height, depth, inputWidth, i… in computeTextureStartEnd() 276 endVal += computePitch(std::min(width, inputWidth), format, type, 1); in computeTextureStartEnd() 289 GLsizei width, GLsizei height, GLsizei depth, in computeTotalImageSize() argument 300 width, height, depth, in computeTotalImageSize() 315 GLsizei width, GLsizei height, GLsizei depth, in computeNeededBufferSize() argument 327 width, height, depth, in computeNeededBufferSize() [all …]
|
/device/generic/vulkan-cereal/fake-android-guest/androidImpl/ |
D | GraphicBuffer.cpp | 41 width = in GraphicBuffer() 112 static_cast<int>(inWidth) == width && in reallocate() 128 if (static_cast<int>(inWidth) != width) return true; in needsReallocation() 146 width = static_cast<int>(inWidth); in initWithSize() 159 ANativeWindowBuffer::width = static_cast<int>(inWidth); in initWithHandle() 187 const Rect lockBounds(width, height); in lock() 193 if (rect.left < 0 || rect.right > width || in lock() 197 width, height); in lock() 205 const Rect lockBounds(width, height); in lockYCbCr() 212 if (rect.left < 0 || rect.right > width || in lockYCbCr() [all …]
|
/device/generic/vulkan-cereal/gl-host-common/opengl/ |
D | GpuFrameBridge.cpp | 44 int width; member 50 : width(w), height(h), pixels(NULL), isValid(true) { in Frame() 121 virtual void postRecordFrame(int width, in postRecordFrame() argument 124 postFrame(width, height, pixels, true); in postRecordFrame() 127 virtual void postRecordFrameAsync(int width, in postRecordFrameAsync() argument 130 postFrame(width, height, pixels, false); in postRecordFrameAsync() 137 mRecFrame->width * mRecFrame->height * 4); in getRecordFrame() 147 mRecFrame->width * mRecFrame->height * 4, in getRecordFrameAsync() 177 void postFrame(int width, int height, const void* pixels, bool copy) { in postFrame() argument 181 mRecFrame = new Frame(width, height, pixels); in postFrame() [all …]
|
/device/generic/goldfish-opengl/system/renderControl_enc/ |
D | renderControl_entry.cpp | 18 uint32_t rcCreateWindowSurface(uint32_t config, uint32_t width, uint32_t height); 20 uint32_t rcCreateColorBuffer(uint32_t width, uint32_t height, GLenum internalFormat); 31 …void rcReadColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum f… 32 …int rcUpdateColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum … 42 …int rcUpdateColorBufferDMA(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLen… 43 …uint32_t rcCreateColorBufferDMA(uint32_t width, uint32_t height, GLenum internalFormat, int framew… 54 …void rcReadColorBufferYUV(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, void*… 56 …void rcCreateColorBufferWithHandle(uint32_t width, uint32_t height, GLenum internalFormat, uint32_… 72 …int rcReadColorBufferDMA(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum… 146 uint32_t rcCreateWindowSurface(uint32_t config, uint32_t width, uint32_t height) in rcCreateWindowSurface() argument [all …]
|