/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() 235 size_t size = align(height, tileHeight) * stride * bytesPerPixel + 4; in gralloc_alloc()
|
/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 | 285 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/ |
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/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/sdm845/display/gralloc/ |
D | gr_adreno_info.cpp | 157 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/ |
D | gr_adreno_info.cpp | 157 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/ |
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/interfaces/graphics/composer/2.2/vts/functional/ |
D | VtsHalGraphicsComposerV2_2ReadbackTest.cpp | 134 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/ |
D | ComposerVts.cpp | 359 int32_t bytesPerPixel; in lock() local 361 return mGralloc3->lock(bufferHandle, cpuUsage, accessRegion, acquireFence, &bytesPerPixel, in lock()
|
/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()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3HWI.cpp | 5242 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()
|