Searched refs:p_input (Results 1 – 6 of 6) sorted by relevance
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/test/ |
D | mm_jpegdec_test.c | 230 static int decode_init(jpeg_test_input_t *p_input, mm_jpegdec_intf_test_t *p_obj) in decode_init() argument 233 size_t size = (size_t)(CEILING16(p_input->width) * CEILING16(p_input->height)); in decode_init() 238 p_obj->filename = p_input->filename; in decode_init() 239 p_obj->width = p_input->width; in decode_init() 240 p_obj->height = p_input->height; in decode_init() 241 p_obj->out_filename = p_input->out_filename; in decode_init() 247 chromaScale(p_input->format, &cScale); in decode_init() 264 p_params->color_format = p_input->format; in decode_init() 274 p_params->dest_buf[0].offset.mp[0].stride = CEILING16(p_input->width); in decode_init() 275 p_params->dest_buf[0].offset.mp[0].scanline = CEILING16(p_input->height); in decode_init() [all …]
|
D | mm_jpeg_test.c | 245 static int encode_init(jpeg_test_input_t *p_input, mm_jpeg_intf_test_t *p_obj) in encode_init() argument 248 size_t size = (size_t)(p_input->width * p_input->height); in encode_init() 252 uint32_t burst_mode = p_input->burst_mode; in encode_init() 253 jpeg_test_input_t *p_in = p_input; in encode_init() 257 p_obj->width = p_input->width; in encode_init() 258 p_obj->height = p_input->height; in encode_init() 261 p_obj->min_out_bufs = p_input->min_out_bufs; in encode_init() 264 p_obj->input[i].size = size * (size_t)p_input->col_fmt.mult.numerator / in encode_init() 265 (size_t)p_input->col_fmt.mult.denominator; in encode_init() 286 p_params->src_main_buf[i].offset.mp[0].stride = p_input->width; in encode_init() [all …]
|
/device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/test/ |
D | mm_jpegdec_test.c | 238 static int decode_init(jpeg_test_input_t *p_input, mm_jpegdec_intf_test_t *p_obj) in decode_init() argument 241 size_t size = (size_t)(CEILING16(p_input->width) * CEILING16(p_input->height)); in decode_init() 246 p_obj->filename = p_input->filename; in decode_init() 247 p_obj->width = p_input->width; in decode_init() 248 p_obj->height = p_input->height; in decode_init() 249 p_obj->out_filename = p_input->out_filename; in decode_init() 255 chromaScale(p_input->format, &cScale); in decode_init() 272 p_params->color_format = p_input->format; in decode_init() 282 p_params->dest_buf[0].offset.mp[0].stride = CEILING16(p_input->width); in decode_init() 283 p_params->dest_buf[0].offset.mp[0].scanline = CEILING16(p_input->height); in decode_init() [all …]
|
D | mm_jpeg_test.c | 300 static int encode_init(jpeg_test_input_t *p_input, mm_jpeg_intf_test_t *p_obj, in encode_init() argument 304 size_t size = (size_t)(p_input->width * p_input->height); in encode_init() 308 uint32_t burst_mode = p_input->burst_mode; in encode_init() 309 jpeg_test_input_t *p_in = p_input; in encode_init() 313 p_obj->width = p_input->width; in encode_init() 314 p_obj->height = p_input->height; in encode_init() 317 p_obj->min_out_bufs = p_input->min_out_bufs; in encode_init() 320 p_obj->input[i].size = size * (size_t)p_input->col_fmt.mult.numerator / in encode_init() 321 (size_t)p_input->col_fmt.mult.denominator; in encode_init() 335 mm_jpeg_test_read_qtable(p_input->qtable_luma_file, false); in encode_init() [all …]
|
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/test/ |
D | mm_jpegdec_test.c | 230 static int decode_init(jpeg_test_input_t *p_input, mm_jpegdec_intf_test_t *p_obj) in decode_init() argument 233 size_t size = (size_t)(CEILING16(p_input->width) * CEILING16(p_input->height)); in decode_init() 238 p_obj->filename = p_input->filename; in decode_init() 239 p_obj->width = p_input->width; in decode_init() 240 p_obj->height = p_input->height; in decode_init() 241 p_obj->out_filename = p_input->out_filename; in decode_init() 247 chromaScale(p_input->format, &cScale); in decode_init() 264 p_params->color_format = p_input->format; in decode_init() 274 p_params->dest_buf[0].offset.mp[0].stride = CEILING16(p_input->width); in decode_init() 275 p_params->dest_buf[0].offset.mp[0].scanline = CEILING16(p_input->height); in decode_init() [all …]
|
D | mm_jpeg_test.c | 245 static int encode_init(jpeg_test_input_t *p_input, mm_jpeg_intf_test_t *p_obj) in encode_init() argument 248 size_t size = (size_t)(p_input->width * p_input->height); in encode_init() 252 uint32_t burst_mode = p_input->burst_mode; in encode_init() 253 jpeg_test_input_t *p_in = p_input; in encode_init() 257 p_obj->width = p_input->width; in encode_init() 258 p_obj->height = p_input->height; in encode_init() 261 p_obj->min_out_bufs = p_input->min_out_bufs; in encode_init() 264 p_obj->input[i].size = size * (size_t)p_input->col_fmt.mult.numerator / in encode_init() 265 (size_t)p_input->col_fmt.mult.denominator; in encode_init() 286 p_params->src_main_buf[i].offset.mp[0].stride = p_input->width; in encode_init() [all …]
|