Searched refs:p_input (Results 1 – 4 of 4) sorted by relevance
/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/linaro/hikey/hifi/xaf/host-apf/utest/ |
D | xaf-dec-mix-test.c | 123 static int read_input(void *p_buf, int buf_length, int *read_length, void *p_input) in read_input() argument 127 XAF_CHK_PTR(p_input); in read_input() 130 FILE *fp = p_input; in read_input() 140 void *p_input, *p_output; in comp_process_entry() local 151 p_input = (*arg_arr)[1]; in comp_process_entry() 168 XF_CHK_API(read_input(p_buf, size, &read_length, p_input)); in comp_process_entry() 204 void *p_input[MAX_INP_STRMS], *p_output; in main() local 289 p_input[i] = fp; in main() 321 XF_CHK_API(read_input(dec_inbuf[i][j], buf_length, &read_length, p_input[i])); in main() 341 XF_CHK_API(read_input(p_buf, size, &read_length, p_input[i])); in main() [all …]
|
D | xaf-dec-test.c | 41 void *p_input, *p_output; variable 112 static int read_input(void *p_buf, int buf_length, int *read_length, void *p_input) in read_input() argument 116 XAF_CHK_PTR(p_input); in read_input() 119 FILE *fp = p_input; in read_input() 134 XAF_CHK_PTR(p_input); in comp_process_entry() 154 XF_CHK_API(read_input(p_buf, size, &read_length, p_input)); in comp_process_entry() 261 p_input = fp; in main() 279 XF_CHK_API(read_input(dec_inbuf[i], buf_length, &read_length, p_input)); in main() 309 XF_CHK_API(read_input(p_buf, size, &read_length, p_input)); in main()
|