Home
last modified time | relevance | path

Searched refs:bytes_per_pixel (Results 1 – 7 of 7) sorted by relevance

/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedSensor.cpp1783 size_t bytes_per_pixel = output.planes.bytesPerPixel; in ProcessYUV420() local
1823 temp_yuv.reserve((input_width * input_height * 3 * bytes_per_pixel) / 2); in ProcessYUV420()
1828 temp_yuv_buffer + input_width * input_height * bytes_per_pixel, in ProcessYUV420()
1830 (input_width * input_height * bytes_per_pixel * 5) / 4, in ProcessYUV420()
1831 .y_stride = static_cast<uint32_t>(input_width * bytes_per_pixel), in ProcessYUV420()
1833 static_cast<uint32_t>(input_width * bytes_per_pixel) / 2, in ProcessYUV420()
1835 .bytesPerPixel = bytes_per_pixel}; in ProcessYUV420()
1845 temp_output_uv.resize(output.width * output.height * bytes_per_pixel / 2); in ProcessYUV420()
1849 temp_uv_buffer + output.width * output.height * bytes_per_pixel / 4; in ProcessYUV420()
1850 output_planes.cbcr_stride = output.width * bytes_per_pixel / 2; in ProcessYUV420()
[all …]
/hardware/qcom/sm7250/display/gralloc/
DQtiMapper.cpp188 auto bytes_per_pixel = gralloc::GetBpp(hnd->format); in lock() local
189 hidl_cb(err, out_data, bytes_per_pixel, hnd->width * bytes_per_pixel); in lock()
/hardware/google/aemu/host-common/include/host-common/
Ddisplay_agent.h57 int bytes_per_pixel; /* bytes per pixel */ member
/hardware/google/gfxstream/host/vulkan/
DVkDecoderSnapshotUtils.cpp42 uint32_t bytes_per_pixel(VkFormat format) { in bytes_per_pixel() function
154 imageCreateInfo.extent.depth * bytes_per_pixel(imageCreateInfo.format)), in saveImageContent()
268 bytes_per_pixel(imageCreateInfo.format); in saveImageContent()
352 imageCreateInfo.extent.depth * bytes_per_pixel(imageCreateInfo.format)), in loadImageContent()
/hardware/google/gfxstream/third-party/stb/include/stb/
Dstb_image.h1202 static void stbi__vertical_flip(void *image, int w, int h, int bytes_per_pixel) in stbi__vertical_flip() argument
1205 size_t bytes_per_row = (size_t)w * bytes_per_pixel; in stbi__vertical_flip()
1227 static void stbi__vertical_flip_slices(void *image, int w, int h, int z, int bytes_per_pixel) in stbi__vertical_flip_slices() argument
1230 int slice_size = w * h * bytes_per_pixel; in stbi__vertical_flip_slices()
1234 stbi__vertical_flip(bytes, w, h, bytes_per_pixel); in stbi__vertical_flip_slices()
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dstb_image.h1202 static void stbi__vertical_flip(void *image, int w, int h, int bytes_per_pixel) in stbi__vertical_flip() argument
1205 size_t bytes_per_row = (size_t)w * bytes_per_pixel; in stbi__vertical_flip()
1227 static void stbi__vertical_flip_slices(void *image, int w, int h, int z, int bytes_per_pixel) in stbi__vertical_flip_slices() argument
1230 int slice_size = w * h * bytes_per_pixel; in stbi__vertical_flip_slices()
1234 stbi__vertical_flip(bytes, w, h, bytes_per_pixel); in stbi__vertical_flip_slices()
Dwuffs-v0.3.c4259 uint64_t bytes_per_pixel = bits_per_pixel / 8; in wuffs_base__pixel_config__pixbuf_len() local
4263 if (n > (UINT64_MAX / bytes_per_pixel)) { in wuffs_base__pixel_config__pixbuf_len()
4266 n *= bytes_per_pixel; in wuffs_base__pixel_config__pixbuf_len()
4790 uint64_t bytes_per_pixel = bits_per_pixel / 8; in wuffs_base__pixel_buffer__set_interleaved() local
4793 ((uint64_t)pixcfg->private_impl.width) * bytes_per_pixel; in wuffs_base__pixel_buffer__set_interleaved()
4834 uint64_t bytes_per_pixel = bits_per_pixel / 8; in wuffs_base__pixel_buffer__set_from_slice() local
4862 if ((wh > (UINT64_MAX / bytes_per_pixel)) || in wuffs_base__pixel_buffer__set_from_slice()
4863 (width > (SIZE_MAX / bytes_per_pixel))) { in wuffs_base__pixel_buffer__set_from_slice()
4866 wh *= bytes_per_pixel; in wuffs_base__pixel_buffer__set_from_slice()
4867 width = ((size_t)(width * bytes_per_pixel)); in wuffs_base__pixel_buffer__set_from_slice()
[all …]