Home
last modified time | relevance | path

Searched refs:padded_size (Results 1 – 2 of 2) sorted by relevance

/device/lge/mako/camera/mm-camera-interface/
Dmm_jpeg_encoder.c284 uint32_t padded_size = width * CEILING16(height); in mm_jpeg_encoder_get_buffer_offset() local
288 *p_y_offset = padded_size - actual_size; in mm_jpeg_encoder_get_buffer_offset()
289 *p_cbcr_offset = ((padded_size - actual_size) >> 1); in mm_jpeg_encoder_get_buffer_offset()
291 *p_buf_size = padded_size * 3/2; in mm_jpeg_encoder_get_buffer_offset()
321 int actual_size = 0, padded_size = 0; in mm_jpeg_encoder_encode() local
412 padded_size = dimension->thumbnail_width * in mm_jpeg_encoder_encode()
414 cbcroffset = padded_size; in mm_jpeg_encoder_encode()
432 …jpeg_buffer_set_start_offset(tn_img_info.p_fragments[0].color.yuv.luma_buf, (padded_size - actual_… in mm_jpeg_encoder_encode()
433 …jpeg_buffer_set_start_offset(tn_img_info.p_fragments[0].color.yuv.chroma_buf, ((padded_size - actu… in mm_jpeg_encoder_encode()
465 padded_size = 0; in mm_jpeg_encoder_encode()
[all …]
Dmm_omx_jpeg_encoder.c247 uint32_t padded_size = width * CEILING16(height); in mm_jpeg_encoder_get_buffer_offset() local
252 *p_y_offset = padded_size - actual_size; in mm_jpeg_encoder_get_buffer_offset()
253 *p_cbcr_offset = ((padded_size - actual_size) >> 1); in mm_jpeg_encoder_get_buffer_offset()
255 *p_buf_size = (padded_size + (padded_size - actual_size)) * 3/2; in mm_jpeg_encoder_get_buffer_offset()