Home
last modified time | relevance | path

Searched refs:p_params (Results 1 – 18 of 18) sorted by relevance

/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c251 mm_jpeg_encode_params_t *p_params = &p_obj->params; in encode_init() local
280 p_params->src_main_buf[i].buf_size = p_obj->input[i].size; in encode_init()
281 p_params->src_main_buf[i].buf_vaddr = p_obj->input[i].addr; in encode_init()
282 p_params->src_main_buf[i].fd = p_obj->input[i].p_pmem_fd; in encode_init()
283 p_params->src_main_buf[i].index = i; in encode_init()
284 p_params->src_main_buf[i].format = MM_JPEG_FMT_YUV; in encode_init()
285 p_params->src_main_buf[i].offset.mp[0].len = size; in encode_init()
286 p_params->src_main_buf[i].offset.mp[0].stride = p_input->width; in encode_init()
287 p_params->src_main_buf[i].offset.mp[0].scanline = p_input->height; in encode_init()
288 p_params->src_main_buf[i].offset.mp[1].len = size >> 1; in encode_init()
[all …]
Dmm_jpegdec_test.c240 mm_jpeg_decode_params_t *p_params = &p_obj->params; in decode_init() local
267 p_params->jpeg_cb = mm_jpegdec_decode_callback; in decode_init()
268 p_params->userdata = p_obj; in decode_init()
269 p_params->color_format = p_input->format; in decode_init()
272 p_params->dest_buf[0].buf_size = p_obj->output.size; in decode_init()
273 p_params->dest_buf[0].buf_vaddr = p_obj->output.addr; in decode_init()
274 p_params->dest_buf[0].fd = p_obj->output.p_pmem_fd; in decode_init()
275 p_params->dest_buf[0].format = MM_JPEG_FMT_YUV; in decode_init()
276 p_params->dest_buf[0].offset.mp[0].len = size; in decode_init()
277 p_params->dest_buf[0].offset.mp[1].len = size * (cScale-1.0); in decode_init()
[all …]
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c170 mm_jpeg_encode_params_t *p_params = &p_obj->params; in encode_init() local
204 p_params->jpeg_cb = mm_jpeg_encode_callback; in encode_init()
205 p_params->userdata = p_obj; in encode_init()
206 p_params->color_format = MM_JPEG_COLOR_FORMAT_YCRCBLP_H2V2; in encode_init()
209 p_params->dest_buf[0].buf_size = p_obj->output.size; in encode_init()
210 p_params->dest_buf[0].buf_vaddr = p_obj->output.addr; in encode_init()
211 p_params->dest_buf[0].fd = p_obj->output.p_pmem_fd; in encode_init()
212 p_params->dest_buf[0].index = 0; in encode_init()
213 p_params->num_dst_bufs = 1; in encode_init()
216 p_params->src_main_buf[0].buf_size = p_obj->input.size; in encode_init()
[all …]
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c170 mm_jpeg_encode_params_t *p_params = &p_obj->params; in encode_init() local
204 p_params->jpeg_cb = mm_jpeg_encode_callback; in encode_init()
205 p_params->userdata = p_obj; in encode_init()
206 p_params->color_format = MM_JPEG_COLOR_FORMAT_YCRCBLP_H2V2; in encode_init()
209 p_params->dest_buf[0].buf_size = p_obj->output.size; in encode_init()
210 p_params->dest_buf[0].buf_vaddr = p_obj->output.addr; in encode_init()
211 p_params->dest_buf[0].fd = p_obj->output.p_pmem_fd; in encode_init()
212 p_params->dest_buf[0].index = 0; in encode_init()
213 p_params->num_dst_bufs = 1; in encode_init()
216 p_params->src_main_buf[0].buf_size = p_obj->input.size; in encode_init()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpegdec.c128 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; in mm_jpegdec_session_send_buffers() local
132 for (i = 0; i < p_params->num_src_bufs; i++) { in mm_jpegdec_session_send_buffers()
134 lbuffer_info.fd = p_params->src_main_buf[i].fd; in mm_jpegdec_session_send_buffers()
136 &lbuffer_info, p_params->src_main_buf[i].buf_size, in mm_jpegdec_session_send_buffers()
137 p_params->src_main_buf[i].buf_vaddr); in mm_jpegdec_session_send_buffers()
165 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; in mm_jpegdec_session_free_buffers() local
168 for (i = 0; i < p_params->num_src_bufs; i++) { in mm_jpegdec_session_free_buffers()
177 for (i = 0; i < p_params->num_dst_bufs; i++) { in mm_jpegdec_session_free_buffers()
294 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; in mm_jpegdec_session_config_ports() local
298 &p_params->src_main_buf[p_jobparams->src_index]; in mm_jpegdec_session_config_ports()
[all …]
Dmm_jpeg.c92 mm_jpeg_encode_params_t *p_params = &p_session->params; in mm_jpeg_session_send_buffers() local
96 for (i = 0; i < p_params->num_src_bufs; i++) { in mm_jpeg_session_send_buffers()
98 lbuffer_info.fd = p_params->src_main_buf[i].fd; in mm_jpeg_session_send_buffers()
100 &lbuffer_info, p_params->src_main_buf[i].buf_size, in mm_jpeg_session_send_buffers()
101 p_params->src_main_buf[i].buf_vaddr); in mm_jpeg_session_send_buffers()
108 for (i = 0; i < p_params->num_tmb_bufs; i++) { in mm_jpeg_session_send_buffers()
110 lbuffer_info.fd = p_params->src_thumb_buf[i].fd; in mm_jpeg_session_send_buffers()
113 &lbuffer_info, p_params->src_thumb_buf[i].buf_size, in mm_jpeg_session_send_buffers()
114 p_params->src_thumb_buf[i].buf_vaddr); in mm_jpeg_session_send_buffers()
121 for (i = 0; i < p_params->num_dst_bufs; i++) { in mm_jpeg_session_send_buffers()
[all …]
Dmm_jpegdec_interface.c99 mm_jpeg_decode_params_t *p_params, in mm_jpegdec_intf_create_session() argument
104 if (0 == client_hdl || NULL == p_params || NULL == p_session_id) { in mm_jpegdec_intf_create_session()
117 rc = mm_jpegdec_create_session(g_jpegdec_obj, client_hdl, p_params, p_session_id); in mm_jpegdec_intf_create_session()
Dmm_jpeg_interface.c143 mm_jpeg_encode_params_t *p_params, in mm_jpeg_intf_create_session() argument
148 if (0 == client_hdl || NULL == p_params || NULL == p_session_id) { in mm_jpeg_intf_create_session()
161 rc = mm_jpeg_create_session(g_jpeg_obj, client_hdl, p_params, p_session_id); in mm_jpeg_intf_create_session()
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c266 mm_jpeg_encode_params_t *p_params = &p_session->params; in mm_jpeg_session_send_buffers() local
270 for (i = 0; i < p_params->num_src_bufs; i++) { in mm_jpeg_session_send_buffers()
272 lbuffer_info.fd = p_params->src_main_buf[i].fd; in mm_jpeg_session_send_buffers()
274 &lbuffer_info, p_params->src_main_buf[i].buf_size, in mm_jpeg_session_send_buffers()
275 p_params->src_main_buf[i].buf_vaddr); in mm_jpeg_session_send_buffers()
282 for (i = 0; i < p_params->num_tmb_bufs; i++) { in mm_jpeg_session_send_buffers()
284 lbuffer_info.fd = p_params->src_thumb_buf[i].fd; in mm_jpeg_session_send_buffers()
287 &lbuffer_info, p_params->src_thumb_buf[i].buf_size, in mm_jpeg_session_send_buffers()
288 p_params->src_thumb_buf[i].buf_vaddr); in mm_jpeg_session_send_buffers()
295 for (i = 0; i < p_params->num_dst_bufs; i++) { in mm_jpeg_session_send_buffers()
[all …]
Dmm_jpeg_interface.c141 mm_jpeg_encode_params_t *p_params, in mm_jpeg_intf_create_session() argument
146 if (0 == client_hdl || NULL == p_params || NULL == p_session_id) { in mm_jpeg_intf_create_session()
159 rc = mm_jpeg_create_session(g_jpeg_obj, client_hdl, p_params, p_session_id); in mm_jpeg_intf_create_session()
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c285 mm_jpeg_encode_params_t *p_params = &p_session->params; in mm_jpeg_session_send_buffers() local
289 for (i = 0; i < p_params->num_src_bufs; i++) { in mm_jpeg_session_send_buffers()
291 lbuffer_info.fd = p_params->src_main_buf[i].fd; in mm_jpeg_session_send_buffers()
293 &lbuffer_info, p_params->src_main_buf[i].buf_size, in mm_jpeg_session_send_buffers()
294 p_params->src_main_buf[i].buf_vaddr); in mm_jpeg_session_send_buffers()
301 for (i = 0; i < p_params->num_tmb_bufs; i++) { in mm_jpeg_session_send_buffers()
303 lbuffer_info.fd = p_params->src_thumb_buf[i].fd; in mm_jpeg_session_send_buffers()
306 &lbuffer_info, p_params->src_thumb_buf[i].buf_size, in mm_jpeg_session_send_buffers()
307 p_params->src_thumb_buf[i].buf_vaddr); in mm_jpeg_session_send_buffers()
314 for (i = 0; i < p_params->num_dst_bufs; i++) { in mm_jpeg_session_send_buffers()
[all …]
Dmm_jpeg_interface.c141 mm_jpeg_encode_params_t *p_params, in mm_jpeg_intf_create_session() argument
146 if (0 == client_hdl || NULL == p_params || NULL == p_session_id) { in mm_jpeg_intf_create_session()
159 rc = mm_jpeg_create_session(g_jpeg_obj, client_hdl, p_params, p_session_id); in mm_jpeg_intf_create_session()
/device/moto/shamu/camera/QCamera2/stack/common/
Dmm_jpeg_interface.h269 mm_jpeg_encode_params_t *p_params, uint32_t *p_session_id);
287 mm_jpeg_decode_params_t *p_params, uint32_t *p_session_id);
/device/asus/flo/camera/QCamera2/stack/common/
Dmm_jpeg_interface.h175 mm_jpeg_encode_params_t *p_params, uint32_t *p_session_id);
/device/lge/hammerhead/camera/QCamera2/stack/common/
Dmm_jpeg_interface.h190 mm_jpeg_encode_params_t *p_params, uint32_t *p_session_id);
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h410 mm_jpeg_encode_params_t *p_params,
425 mm_jpeg_decode_params_t *p_params,
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h175 mm_jpeg_encode_params_t *p_params,
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h177 mm_jpeg_encode_params_t *p_params,