Home
last modified time | relevance | path

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

/hardware/libhardware/modules/gralloc/
Dgralloc.cpp210 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()
235 size_t size = align(height, tileHeight) * stride * bytesPerPixel + 4; in gralloc_alloc()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_adreno_info.cpp137 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/
Dgr_adreno_info.cpp136 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/
DVtsHalGraphicsMapperV3_0TargetTest.cpp285 int32_t bytesPerPixel = -1; in TEST_P() local
289 &bytesPerPixel, &bytesPerStride))); in TEST_P()
292 EXPECT_GT(bytesPerPixel, -1); in TEST_P()
306 bytesPerPixel = -1; in TEST_P()
312 &bytesPerPixel, &bytesPerStride))); in TEST_P()
320 EXPECT_GT(bytesPerPixel, -1); in TEST_P()
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_adreno_info.cpp146 int bytesPerPixel = 0; in AlignCompressedRGB() local
153 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel); in AlignCompressedRGB()
/hardware/qcom/display/msm8909/gralloc/
Dgr_adreno_info.cpp146 int bytesPerPixel = 0; in AlignCompressedRGB() local
153 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel); in AlignCompressedRGB()
/hardware/qcom/sdm845/display/gralloc/
Dgr_adreno_info.cpp157 int bytesPerPixel = 0; in AlignCompressedRGB() local
164 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel); in AlignCompressedRGB()
/hardware/qcom/sm8150/display/gralloc/
Dgr_adreno_info.cpp157 int bytesPerPixel = 0; in AlignCompressedRGB() local
164 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel); in AlignCompressedRGB()
/hardware/interfaces/graphics/mapper/3.0/
DIMapper.hal199 * 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/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2ReadbackTest.cpp134 int32_t bytesPerPixel = GetBytesPerPixel(pixelFormat); in fillBuffer() local
135 ASSERT_NE(-1, bytesPerPixel); in fillBuffer()
141 int offset = (row * stride + col) * bytesPerPixel; in fillBuffer()
147 if (bytesPerPixel == 4) { in fillBuffer()
346 int32_t bytesPerPixel = GraphicsComposerReadbackTest::GetBytesPerPixel(mFormat); in checkReadbackBuffer() local
347 ASSERT_NE(-1, bytesPerPixel); in checkReadbackBuffer()
351 int offset = (row * mStride + col) * bytesPerPixel; in checkReadbackBuffer()
/hardware/interfaces/graphics/composer/2.1/utils/vts/
DComposerVts.cpp359 int32_t bytesPerPixel; in lock() local
361 return mGralloc3->lock(bufferHandle, cpuUsage, accessRegion, acquireFence, &bytesPerPixel, in lock()
/hardware/qcom/display/msm8226/libgralloc/
Dalloc_controller.cpp240 int bytesPerPixel = 0; in getAlignedWidthAndHeight() local
247 &aligned_w, &aligned_h, &bytesPerPixel); in getAlignedWidthAndHeight()
/hardware/qcom/display/msm8084/libgralloc/
Dalloc_controller.cpp246 int bytesPerPixel = 0; in getAlignedWidthAndHeight() local
253 &aligned_w, &aligned_h, &bytesPerPixel); in getAlignedWidthAndHeight()
/hardware/qcom/display/msm8994/libgralloc/
Dalloc_controller.cpp249 int bytesPerPixel = 0; in getAlignedWidthAndHeight() local
256 &aligned_w, &aligned_h, &bytesPerPixel); in getAlignedWidthAndHeight()
/hardware/qcom/display/msm8996/libgralloc/
Dalloc_controller.cpp305 int bytesPerPixel = 0; in getAlignedWidthAndHeight() local
312 &aligned_w, &aligned_h, &bytesPerPixel); in getAlignedWidthAndHeight()
/hardware/qcom/display/msm8909/libgralloc/
Dalloc_controller.cpp320 int bytesPerPixel = 0; in getAlignedWidthAndHeight() local
327 &aligned_w, &aligned_h, &bytesPerPixel); in getAlignedWidthAndHeight()
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dalloc_controller.cpp320 int bytesPerPixel = 0; in getAlignedWidthAndHeight() local
327 &aligned_w, &aligned_h, &bytesPerPixel); in getAlignedWidthAndHeight()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HWI.cpp5242 int bytesPerPixel = 0; in fillPbStreamConfig() local
5247 bytesPerPixel = 1; in fillPbStreamConfig()
5252 bytesPerPixel = 1; in fillPbStreamConfig()
5264 plane.stride = streamInfo->buf_planes.plane_info.mp[i].stride * bytesPerPixel; in fillPbStreamConfig()