/hardware/interfaces/graphics/composer/aidl/vts/ |
D | RenderEngineVts.cpp | 79 int32_t bytesPerPixel = -1; in checkColorBuffer() local 82 &bufferData, &bytesPerPixel, &bytesPerStride)); in checkColorBuffer() 83 const uint32_t stride = (bytesPerPixel > 0 && bytesPerStride > 0) in checkColorBuffer() 84 ? static_cast<uint32_t>(bytesPerStride / bytesPerPixel) in checkColorBuffer() 96 int32_t bytesPerPixel = -1; in checkColorBuffer() local 99 &renderedBufferData, &bytesPerPixel, &bytesPerStride)); in checkColorBuffer() 100 const uint32_t renderedStride = (bytesPerPixel > 0 && bytesPerStride > 0) in checkColorBuffer() 101 ? static_cast<uint32_t>(bytesPerStride / bytesPerPixel) in checkColorBuffer() 106 &bytesPerPixel, &bytesPerStride)); in checkColorBuffer() 107 const uint32_t bufferStride = (bytesPerPixel > 0 && bytesPerStride > 0) in checkColorBuffer() [all …]
|
D | ReadbackVts.cpp | 125 int32_t bytesPerPixel = GetBytesPerPixel(pixelFormat); in fillBuffer() local 126 ASSERT_NE(-1, bytesPerPixel); in fillBuffer() 132 int offset = (row * static_cast<int32_t>(stride) + col) * bytesPerPixel; in fillBuffer() 138 if (bytesPerPixel == 4) { in fillBuffer() 180 const int32_t bytesPerPixel = ReadbackHelper::GetBytesPerPixel(pixelFormat); in compareColorBuffers() local 181 ASSERT_NE(-1, bytesPerPixel); in compareColorBuffers() 185 int offset = (row * static_cast<int32_t>(stride) + col) * bytesPerPixel; in compareColorBuffers() 198 const int32_t bytesPerPixel = ReadbackHelper::GetBytesPerPixel(pixelFormat); in compareColorBuffers() local 199 ASSERT_NE(-1, bytesPerPixel); in compareColorBuffers() 202 int offset = (row * static_cast<int32_t>(stride) + col) * bytesPerPixel; in compareColorBuffers() [all …]
|
/hardware/libhardware/modules/gralloc/ |
D | gralloc.cpp | 210 int bytesPerPixel = 0; in gralloc_alloc() local 213 bytesPerPixel = 8; in gralloc_alloc() 218 bytesPerPixel = 4; in gralloc_alloc() 221 bytesPerPixel = 3; in gralloc_alloc() 225 bytesPerPixel = 2; in gralloc_alloc() 228 bytesPerPixel = 1; in gralloc_alloc() 239 size_t size = align(height, tileHeight) * stride * bytesPerPixel + 4; in gralloc_alloc()
|
/hardware/google/gfxstream/host/tests/ |
D | GLSnapshotTestDispatch.cpp | 136 GLuint width, height, bytesPerPixel; in testDraw() local 139 bytesPerPixel = glUtilsPixelBitSize(GL_RGBA, GL_UNSIGNED_BYTE) / 8; in testDraw() 141 prePixels.resize(width * height * bytesPerPixel); in testDraw() 165 postPixels.resize(width * height * bytesPerPixel); in testDraw() 169 EXPECT_TRUE(ImageMatches(width, height, bytesPerPixel, width, in testDraw()
|
D | X11TestingSupport.cpp | 41 void* createNativePixmap(int width, int height, int bytesPerPixel) { in createNativePixmap() argument 44 auto res = XCreatePixmap(x->display, x->window, width, height, bytesPerPixel * 8); in createNativePixmap()
|
D | X11TestingSupport.h | 18 void* createNativePixmap(int width, int height, int bytesPerPixel);
|
/hardware/google/gfxstream/host/gl/ |
D | ColorBufferGl.cpp | 113 int* bytesPerPixel, in sGetFormatParameters() argument 128 *bytesPerPixel = 3; in sGetFormatParameters() 134 *bytesPerPixel = 2; in sGetFormatParameters() 143 *bytesPerPixel = 4; in sGetFormatParameters() 149 *bytesPerPixel = 4; in sGetFormatParameters() 155 *bytesPerPixel = 4; in sGetFormatParameters() 161 *bytesPerPixel = 6; in sGetFormatParameters() 167 *bytesPerPixel = 8; in sGetFormatParameters() 173 *bytesPerPixel = 1; in sGetFormatParameters() 180 *bytesPerPixel = 4; in sGetFormatParameters() [all …]
|
/hardware/interfaces/graphics/composer/2.2/utils/vts/ |
D | ReadbackVts.cpp | 114 int32_t bytesPerPixel = GetBytesPerPixel(pixelFormat); in fillBuffer() local 115 ASSERT_NE(-1, bytesPerPixel); in fillBuffer() 121 int offset = (row * stride + col) * bytesPerPixel; in fillBuffer() 127 if (bytesPerPixel == 4) { in fillBuffer() 174 const int32_t bytesPerPixel = ReadbackHelper::GetBytesPerPixel(pixelFormat); in compareColorBuffers() local 175 ASSERT_NE(-1, bytesPerPixel); in compareColorBuffers() 179 int offset = (row * stride + col) * bytesPerPixel; in compareColorBuffers()
|
/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_adreno_info.cpp | 137 int bytesPerPixel = 0; in AlignCompressedRGB() local 144 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel); in AlignCompressedRGB()
|
/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_adreno_info.cpp | 136 int bytesPerPixel = 0; in AlignCompressedRGB() local 143 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel); in AlignCompressedRGB()
|
/hardware/interfaces/graphics/mapper/3.0/vts/functional/ |
D | VtsHalGraphicsMapperV3_0TargetTest.cpp | 286 int32_t bytesPerPixel = -1; in TEST_P() local 290 &bytesPerPixel, &bytesPerStride))); in TEST_P() 293 EXPECT_GT(bytesPerPixel, -1); in TEST_P() 307 bytesPerPixel = -1; in TEST_P() 313 &bytesPerPixel, &bytesPerStride))); in TEST_P() 321 EXPECT_GT(bytesPerPixel, -1); in TEST_P()
|
/hardware/qcom/display/msm8909/gralloc/ |
D | gr_adreno_info.cpp | 146 int bytesPerPixel = 0; in AlignCompressedRGB() local 153 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel); in AlignCompressedRGB()
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
D | gr_adreno_info.cpp | 146 int bytesPerPixel = 0; in AlignCompressedRGB() local 153 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel); in AlignCompressedRGB()
|
/hardware/qcom/sm8150/display/gralloc/ |
D | gr_adreno_info.cpp | 152 int bytesPerPixel = 0; in AlignCompressedRGB() local 159 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel); in AlignCompressedRGB()
|
/hardware/google/camera/devices/EmulatedCamera/hwl/ |
D | Base.h | 40 size_t bytesPerPixel = 1; member
|
D | EmulatedSensor.cpp | 1698 if (yuv_layout.bytesPerPixel == 1) { in CaptureYUV420() 1700 } else if (yuv_layout.bytesPerPixel == 2) { in CaptureYUV420() 1704 yuv_layout.bytesPerPixel); in CaptureYUV420() 1707 px_y += yuv_layout.bytesPerPixel; in CaptureYUV420() 1716 if (yuv_layout.bytesPerPixel == 1) { in CaptureYUV420() 1719 } else if (yuv_layout.bytesPerPixel == 2) { in CaptureYUV420() 1724 yuv_layout.bytesPerPixel); in CaptureYUV420() 1783 size_t bytes_per_pixel = output.planes.bytesPerPixel; in ProcessYUV420() 1835 .bytesPerPixel = bytes_per_pixel}; in ProcessYUV420()
|
/hardware/qcom/sm7250/display/gralloc/ |
D | gr_adreno_info.cpp | 153 int bytesPerPixel = 0; in AlignCompressedRGB() local 159 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel); in AlignCompressedRGB()
|
/hardware/google/aemu/host-common/include/host-common/ |
D | display_agent.h | 251 void (*getFrameBuffer)(int* w, int* h, int* lineSize, int* bytesPerPixel,
|
/hardware/interfaces/graphics/mapper/3.0/ |
D | IMapper.hal | 199 * On success, bytesPerPixel must contain the number of bytes per pixel in 200 * the buffer. If the bytesPerPixel is unknown or variable, a value of -1 223 * @return bytesPerPixel the number of bytes per pixel in the buffer 232 int32_t bytesPerPixel,
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | alloc_controller.cpp | 240 int bytesPerPixel = 0; in getAlignedWidthAndHeight() local 247 &aligned_w, &aligned_h, &bytesPerPixel); in getAlignedWidthAndHeight()
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | alloc_controller.cpp | 246 int bytesPerPixel = 0; in getAlignedWidthAndHeight() local 253 &aligned_w, &aligned_h, &bytesPerPixel); in getAlignedWidthAndHeight()
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | alloc_controller.cpp | 249 int bytesPerPixel = 0; in getAlignedWidthAndHeight() local 256 &aligned_w, &aligned_h, &bytesPerPixel); in getAlignedWidthAndHeight()
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | alloc_controller.cpp | 305 int bytesPerPixel = 0; in getAlignedWidthAndHeight() local 312 &aligned_w, &aligned_h, &bytesPerPixel); in getAlignedWidthAndHeight()
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | alloc_controller.cpp | 320 int bytesPerPixel = 0; in getAlignedWidthAndHeight() local 327 &aligned_w, &aligned_h, &bytesPerPixel); in getAlignedWidthAndHeight()
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
D | alloc_controller.cpp | 320 int bytesPerPixel = 0; in getAlignedWidthAndHeight() local 327 &aligned_w, &aligned_h, &bytesPerPixel); in getAlignedWidthAndHeight()
|