Searched refs:padded_size (Results 1 – 2 of 2) sorted by relevance
284 uint32_t padded_size = width * CEILING16(height); in mm_jpeg_encoder_get_buffer_offset() local288 *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() local412 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 …]
247 uint32_t padded_size = width * CEILING16(height); in mm_jpeg_encoder_get_buffer_offset() local252 *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()