Searched refs:PAD_TO_SIZE (Results 1 – 3 of 3) sorted by relevance
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 2497 stride = PAD_TO_SIZE(dim->width, width_padding); in mm_stream_calc_offset_preview() 2498 scanline = PAD_TO_SIZE(dim->height, height_padding); in mm_stream_calc_offset_preview() 2509 stride = PAD_TO_SIZE(dim->width, width_padding); in mm_stream_calc_offset_preview() 2510 scanline = PAD_TO_SIZE(dim->height / 2, height_padding); in mm_stream_calc_offset_preview() 2522 PAD_TO_SIZE(buf_planes->plane_info.mp[0].len + in mm_stream_calc_offset_preview() 2531 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_32); in mm_stream_calc_offset_preview() 2532 scanline = PAD_TO_SIZE(dim->height, CAM_PAD_TO_32); in mm_stream_calc_offset_preview() 2534 stride = PAD_TO_SIZE(dim->width, padding->width_padding); in mm_stream_calc_offset_preview() 2535 scanline = PAD_TO_SIZE(dim->height, padding->height_padding); in mm_stream_calc_offset_preview() 2539 PAD_TO_SIZE((uint32_t)(stride * scanline), CAM_PAD_TO_4K); in mm_stream_calc_offset_preview() [all …]
|
/device/google/marlin/camera/QCamera2/stack/common/ |
D | mm_camera_interface.h | 45 #define PAD_TO_SIZE(size, padding) \ macro
|
/device/google/marlin/camera/QCamera2/HAL/ |
D | QCamera2HWI.cpp | 1895 metadataAllocArgs.size = PAD_TO_SIZE(sizeof(metadata_buffer_t), in openCamera() 3230 size = PAD_TO_SIZE((streamInfo->num_bufs * streamInfo->user_buf_info.size), in allocateStreamUserBuf()
|