Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c238 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 …]
Dmm_jpeg_test.c300 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 …]