/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/ |
D | mm_jpeg_test.c | 249 mm_jpeg_encode_params_t *p_params = &p_obj->params; in encode_init() local 278 p_params->src_main_buf[i].buf_size = p_obj->input[i].size; in encode_init() 279 p_params->src_main_buf[i].buf_vaddr = p_obj->input[i].addr; in encode_init() 280 p_params->src_main_buf[i].fd = p_obj->input[i].p_pmem_fd; in encode_init() 281 p_params->src_main_buf[i].index = i; in encode_init() 282 p_params->src_main_buf[i].format = MM_JPEG_FMT_YUV; in encode_init() 283 p_params->src_main_buf[i].offset.mp[0].len = size; in encode_init() 284 p_params->src_main_buf[i].offset.mp[0].stride = p_input->width; in encode_init() 285 p_params->src_main_buf[i].offset.mp[0].scanline = p_input->height; in encode_init() 286 p_params->src_main_buf[i].offset.mp[1].len = size >> 1; in encode_init() [all …]
|
D | mm_jpegdec_test.c | 234 mm_jpeg_decode_params_t *p_params = &p_obj->params; in decode_init() local 261 p_params->jpeg_cb = mm_jpegdec_decode_callback; in decode_init() 262 p_params->userdata = p_obj; in decode_init() 263 p_params->color_format = p_input->format; in decode_init() 266 p_params->dest_buf[0].buf_size = p_obj->output.size; in decode_init() 267 p_params->dest_buf[0].buf_vaddr = p_obj->output.addr; in decode_init() 268 p_params->dest_buf[0].fd = p_obj->output.p_pmem_fd; in decode_init() 269 p_params->dest_buf[0].format = MM_JPEG_FMT_YUV; in decode_init() 270 p_params->dest_buf[0].offset.mp[0].len = size; in decode_init() 271 p_params->dest_buf[0].offset.mp[1].len = size * (cScale-1.0); in decode_init() [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/test/ |
D | mm_jpeg_test.c | 249 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 = (uint32_t)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 = (uint32_t)(size >> 1); in encode_init() [all …]
|
D | mm_jpegdec_test.c | 235 mm_jpeg_decode_params_t *p_params = &p_obj->params; in decode_init() local 262 p_params->jpeg_cb = mm_jpegdec_decode_callback; in decode_init() 263 p_params->userdata = p_obj; in decode_init() 264 p_params->color_format = p_input->format; in decode_init() 267 p_params->dest_buf[0].buf_size = p_obj->output.size; in decode_init() 268 p_params->dest_buf[0].buf_vaddr = p_obj->output.addr; in decode_init() 269 p_params->dest_buf[0].fd = p_obj->output.p_pmem_fd; in decode_init() 270 p_params->dest_buf[0].format = MM_JPEG_FMT_YUV; in decode_init() 271 p_params->dest_buf[0].offset.mp[0].len = (uint32_t)size; in decode_init() 272 p_params->dest_buf[0].offset.mp[1].len = in decode_init() [all …]
|
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/test/ |
D | mm_jpeg_test.c | 249 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 = (uint32_t)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 = (uint32_t)(size >> 1); in encode_init() [all …]
|
D | mm_jpegdec_test.c | 235 mm_jpeg_decode_params_t *p_params = &p_obj->params; in decode_init() local 262 p_params->jpeg_cb = mm_jpegdec_decode_callback; in decode_init() 263 p_params->userdata = p_obj; in decode_init() 264 p_params->color_format = p_input->format; in decode_init() 267 p_params->dest_buf[0].buf_size = p_obj->output.size; in decode_init() 268 p_params->dest_buf[0].buf_vaddr = p_obj->output.addr; in decode_init() 269 p_params->dest_buf[0].fd = p_obj->output.p_pmem_fd; in decode_init() 270 p_params->dest_buf[0].format = MM_JPEG_FMT_YUV; in decode_init() 271 p_params->dest_buf[0].offset.mp[0].len = (uint32_t)size; in decode_init() 272 p_params->dest_buf[0].offset.mp[1].len = in decode_init() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpegdec.c | 128 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 …]
|
D | mm_jpeg.c | 92 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 …]
|
D | mm_jpegdec_interface.c | 99 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()
|
D | mm_jpeg_interface.c | 143 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/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpegdec.c | 127 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; in mm_jpegdec_session_send_buffers() local 130 for (i = 0; i < p_params->num_src_bufs; i++) { in mm_jpegdec_session_send_buffers() 132 lbuffer_info.fd = (OMX_U32)p_params->src_main_buf[i].fd; in mm_jpegdec_session_send_buffers() 134 &lbuffer_info, p_params->src_main_buf[i].buf_size, in mm_jpegdec_session_send_buffers() 135 p_params->src_main_buf[i].buf_vaddr); in mm_jpegdec_session_send_buffers() 163 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; in mm_jpegdec_session_free_buffers() local 165 for (i = 0; i < p_params->num_src_bufs; i++) { in mm_jpegdec_session_free_buffers() 174 for (i = 0; i < p_params->num_dst_bufs; i++) { in mm_jpegdec_session_free_buffers() 290 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; in mm_jpegdec_session_config_ports() local 294 &p_params->src_main_buf[p_jobparams->src_index]; in mm_jpegdec_session_config_ports() [all …]
|
D | mm_jpeg.c | 104 mm_jpeg_encode_params_t *p_params = &p_session->params; in mm_jpeg_session_send_buffers() local 107 for (i = 0; i < p_params->num_src_bufs; i++) { in mm_jpeg_session_send_buffers() 109 lbuffer_info.fd = (OMX_U32)p_params->src_main_buf[i].fd; in mm_jpeg_session_send_buffers() 111 &lbuffer_info, p_params->src_main_buf[i].buf_size, in mm_jpeg_session_send_buffers() 112 p_params->src_main_buf[i].buf_vaddr); in mm_jpeg_session_send_buffers() 119 for (i = 0; i < p_params->num_tmb_bufs; i++) { in mm_jpeg_session_send_buffers() 121 lbuffer_info.fd = (OMX_U32)p_params->src_thumb_buf[i].fd; in mm_jpeg_session_send_buffers() 124 &lbuffer_info, p_params->src_thumb_buf[i].buf_size, in mm_jpeg_session_send_buffers() 125 p_params->src_thumb_buf[i].buf_vaddr); in mm_jpeg_session_send_buffers() 132 for (i = 0; i < p_params->num_dst_bufs; i++) { in mm_jpeg_session_send_buffers() [all …]
|
D | mm_jpegdec_interface.c | 96 mm_jpeg_decode_params_t *p_params, in mm_jpegdec_intf_create_session() argument 101 if (0 == client_hdl || NULL == p_params || NULL == p_session_id) { in mm_jpegdec_intf_create_session() 114 rc = mm_jpegdec_create_session(g_jpegdec_obj, client_hdl, p_params, p_session_id); in mm_jpegdec_intf_create_session()
|
D | mm_jpeg_interface.c | 145 mm_jpeg_encode_params_t *p_params, in mm_jpeg_intf_create_session() argument 150 if (0 == client_hdl || NULL == p_params || NULL == p_session_id) { in mm_jpeg_intf_create_session() 163 rc = mm_jpeg_create_session(g_jpeg_obj, client_hdl, p_params, p_session_id); in mm_jpeg_intf_create_session()
|
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpegdec.c | 127 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; in mm_jpegdec_session_send_buffers() local 130 for (i = 0; i < p_params->num_src_bufs; i++) { in mm_jpegdec_session_send_buffers() 132 lbuffer_info.fd = (OMX_U32)p_params->src_main_buf[i].fd; in mm_jpegdec_session_send_buffers() 134 &lbuffer_info, p_params->src_main_buf[i].buf_size, in mm_jpegdec_session_send_buffers() 135 p_params->src_main_buf[i].buf_vaddr); in mm_jpegdec_session_send_buffers() 163 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; in mm_jpegdec_session_free_buffers() local 165 for (i = 0; i < p_params->num_src_bufs; i++) { in mm_jpegdec_session_free_buffers() 174 for (i = 0; i < p_params->num_dst_bufs; i++) { in mm_jpegdec_session_free_buffers() 290 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; in mm_jpegdec_session_config_ports() local 294 &p_params->src_main_buf[p_jobparams->src_index]; in mm_jpegdec_session_config_ports() [all …]
|
D | mm_jpeg.c | 104 mm_jpeg_encode_params_t *p_params = &p_session->params; in mm_jpeg_session_send_buffers() local 107 for (i = 0; i < p_params->num_src_bufs; i++) { in mm_jpeg_session_send_buffers() 109 lbuffer_info.fd = (OMX_U32)p_params->src_main_buf[i].fd; in mm_jpeg_session_send_buffers() 111 &lbuffer_info, p_params->src_main_buf[i].buf_size, in mm_jpeg_session_send_buffers() 112 p_params->src_main_buf[i].buf_vaddr); in mm_jpeg_session_send_buffers() 119 for (i = 0; i < p_params->num_tmb_bufs; i++) { in mm_jpeg_session_send_buffers() 121 lbuffer_info.fd = (OMX_U32)p_params->src_thumb_buf[i].fd; in mm_jpeg_session_send_buffers() 124 &lbuffer_info, p_params->src_thumb_buf[i].buf_size, in mm_jpeg_session_send_buffers() 125 p_params->src_thumb_buf[i].buf_vaddr); in mm_jpeg_session_send_buffers() 132 for (i = 0; i < p_params->num_dst_bufs; i++) { in mm_jpeg_session_send_buffers() [all …]
|
D | mm_jpegdec_interface.c | 96 mm_jpeg_decode_params_t *p_params, in mm_jpegdec_intf_create_session() argument 101 if (0 == client_hdl || NULL == p_params || NULL == p_session_id) { in mm_jpegdec_intf_create_session() 114 rc = mm_jpegdec_create_session(g_jpegdec_obj, client_hdl, p_params, p_session_id); in mm_jpegdec_intf_create_session()
|
D | mm_jpeg_interface.c | 145 mm_jpeg_encode_params_t *p_params, in mm_jpeg_intf_create_session() argument 150 if (0 == client_hdl || NULL == p_params || NULL == p_session_id) { in mm_jpeg_intf_create_session() 163 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/ |
D | mm_jpeg_interface.h | 269 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/lge/bullhead/camera/QCamera2/stack/common/ |
D | mm_jpeg_interface.h | 282 mm_jpeg_encode_params_t *p_params, uint32_t *p_session_id); 300 mm_jpeg_decode_params_t *p_params, uint32_t *p_session_id);
|
/device/huawei/angler/camera/QCamera2/stack/common/ |
D | mm_jpeg_interface.h | 282 mm_jpeg_encode_params_t *p_params, uint32_t *p_session_id); 300 mm_jpeg_decode_params_t *p_params, uint32_t *p_session_id);
|
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg.h | 419 mm_jpeg_encode_params_t *p_params, 434 mm_jpeg_decode_params_t *p_params,
|
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg.h | 419 mm_jpeg_encode_params_t *p_params, 434 mm_jpeg_decode_params_t *p_params,
|
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg.h | 410 mm_jpeg_encode_params_t *p_params, 425 mm_jpeg_decode_params_t *p_params,
|