Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c305 mm_jpeg_encode_params_t *p_params = &p_obj->params; in encode_init() local
348 p_params->src_main_buf[i].buf_size = p_obj->input[i].size; in encode_init()
349 p_params->src_main_buf[i].buf_vaddr = p_obj->input[i].addr; in encode_init()
350 p_params->src_main_buf[i].fd = p_obj->input[i].p_pmem_fd; in encode_init()
351 p_params->src_main_buf[i].index = i; in encode_init()
352 p_params->src_main_buf[i].format = MM_JPEG_FMT_YUV; in encode_init()
353 p_params->src_main_buf[i].offset.mp[0].len = (uint32_t)size; in encode_init()
354 p_params->src_main_buf[i].offset.mp[0].stride = p_input->width; in encode_init()
355 p_params->src_main_buf[i].offset.mp[0].scanline = p_input->height; in encode_init()
356 p_params->src_main_buf[i].offset.mp[1].len = (uint32_t)(size >> 1); in encode_init()
[all …]
Dmm_jpegdec_test.c243 mm_jpeg_decode_params_t *p_params = &p_obj->params; in decode_init() local
270 p_params->jpeg_cb = mm_jpegdec_decode_callback; in decode_init()
271 p_params->userdata = p_obj; in decode_init()
272 p_params->color_format = p_input->format; in decode_init()
275 p_params->dest_buf[0].buf_size = p_obj->output.size; in decode_init()
276 p_params->dest_buf[0].buf_vaddr = p_obj->output.addr; in decode_init()
277 p_params->dest_buf[0].fd = p_obj->output.p_pmem_fd; in decode_init()
278 p_params->dest_buf[0].format = MM_JPEG_FMT_YUV; in decode_init()
279 p_params->dest_buf[0].offset.mp[0].len = (uint32_t)size; in decode_init()
280 p_params->dest_buf[0].offset.mp[1].len = in decode_init()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpegdec.c123 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; in mm_jpegdec_session_send_buffers() local
126 for (i = 0; i < p_params->num_src_bufs; i++) { in mm_jpegdec_session_send_buffers()
128 lbuffer_info.fd = (OMX_U32)p_params->src_main_buf[i].fd; in mm_jpegdec_session_send_buffers()
130 &lbuffer_info, p_params->src_main_buf[i].buf_size, in mm_jpegdec_session_send_buffers()
131 p_params->src_main_buf[i].buf_vaddr); in mm_jpegdec_session_send_buffers()
159 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; in mm_jpegdec_session_free_buffers() local
161 for (i = 0; i < p_params->num_src_bufs; i++) { in mm_jpegdec_session_free_buffers()
170 for (i = 0; i < p_params->num_dst_bufs; i++) { in mm_jpegdec_session_free_buffers()
286 mm_jpeg_decode_params_t *p_params = &p_session->dec_params; in mm_jpegdec_session_config_ports() local
290 &p_params->src_main_buf[p_jobparams->src_index]; in mm_jpegdec_session_config_ports()
[all …]
Dmm_jpeg.c124 mm_jpeg_encode_params_t *p_params = &p_session->params; in mm_jpeg_session_send_buffers() local
142 for (i = 0; i < p_params->num_src_bufs; i++) { in mm_jpeg_session_send_buffers()
144 lbuffer_info.fd = (OMX_U32)p_params->src_main_buf[i].fd; in mm_jpeg_session_send_buffers()
147 &lbuffer_info, p_params->src_main_buf[i].buf_size, in mm_jpeg_session_send_buffers()
148 p_params->src_main_buf[i].buf_vaddr); in mm_jpeg_session_send_buffers()
171 for (i = 0; i < p_params->num_tmb_bufs; i++) { in mm_jpeg_session_send_buffers()
173 lbuffer_info.fd = (OMX_U32)p_params->src_thumb_buf[i].fd; in mm_jpeg_session_send_buffers()
176 &lbuffer_info, p_params->src_thumb_buf[i].buf_size, in mm_jpeg_session_send_buffers()
177 p_params->src_thumb_buf[i].buf_vaddr); in mm_jpeg_session_send_buffers()
186 for (i = 0; i < p_params->num_dst_bufs; i++) { in mm_jpeg_session_send_buffers()
[all …]
Dmm_jpegdec_interface.c93 mm_jpeg_decode_params_t *p_params, in mm_jpegdec_intf_create_session() argument
98 if (0 == client_hdl || NULL == p_params || NULL == p_session_id) { in mm_jpegdec_intf_create_session()
111 rc = mm_jpegdec_create_session(g_jpegdec_obj, client_hdl, p_params, p_session_id); in mm_jpegdec_intf_create_session()
Dmm_jpeg_interface.c144 mm_jpeg_encode_params_t *p_params, in mm_jpeg_intf_create_session() argument
149 if (0 == client_hdl || NULL == p_params || NULL == p_session_id) { in mm_jpeg_intf_create_session()
162 rc = mm_jpeg_create_session(g_jpeg_obj, client_hdl, p_params, p_session_id); in mm_jpeg_intf_create_session()
/hardware/qcom/camera/msm8998/QCamera2/stack/common/
Dmm_jpeg_interface.h381 mm_jpeg_encode_params_t *p_params, uint32_t *p_session_id);
400 mm_jpeg_decode_params_t *p_params, uint32_t *p_session_id);
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h449 mm_jpeg_encode_params_t *p_params,
464 mm_jpeg_decode_params_t *p_params,
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp2845 DescribeColorFormatParams *p_params) in describe_color_format() argument
2849 if (p_params == NULL) in describe_color_format()
2856 MediaImage *p_img = &p_params->sMediaImage; in describe_color_format()
2858 switch (p_params->eColorFormat) in describe_color_format()
2868 p_img->mWidth = p_params->nFrameWidth; in describe_color_format()
2869 p_img->mHeight = p_params->nFrameHeight; in describe_color_format()
2907 p_img->mWidth = p_params->nFrameWidth; in describe_color_format()
2908 p_img->mHeight = p_params->nFrameHeight; in describe_color_format()
2942 p_params->eColorFormat); in describe_color_format()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h334 OMX_ERRORTYPE describe_color_format(DescribeColorFormatParams *p_params);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h332 OMX_ERRORTYPE describe_color_format(DescribeColorFormatParams *p_params);
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h339 OMX_ERRORTYPE describe_color_format(DescribeColorFormatParams *p_params);
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h344 OMX_ERRORTYPE describe_color_format(DescribeColorFormatParams *p_params);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp3151 DescribeColorFormatParams *p_params) in describe_color_format() argument
3155 if (p_params == NULL) in describe_color_format()
3163 MediaImage *p_img = &p_params->sMediaImage; in describe_color_format()
3165 switch (p_params->eColorFormat) in describe_color_format()
3175 p_img->mWidth = p_params->nFrameWidth; in describe_color_format()
3176 p_img->mHeight = p_params->nFrameHeight; in describe_color_format()
3223 p_params->eColorFormat); in describe_color_format()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp3188 DescribeColorFormatParams *p_params) in describe_color_format() argument
3192 if (p_params == NULL) in describe_color_format()
3200 MediaImage *p_img = &p_params->sMediaImage; in describe_color_format()
3202 switch (p_params->eColorFormat) in describe_color_format()
3212 p_img->mWidth = p_params->nFrameWidth; in describe_color_format()
3213 p_img->mHeight = p_params->nFrameHeight; in describe_color_format()
3260 p_params->eColorFormat); in describe_color_format()
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp3178 DescribeColorFormatParams *p_params) in describe_color_format() argument
3182 if (p_params == NULL) in describe_color_format()
3190 MediaImage *p_img = &p_params->sMediaImage; in describe_color_format()
3192 switch (p_params->eColorFormat) in describe_color_format()
3202 p_img->mWidth = p_params->nFrameWidth; in describe_color_format()
3203 p_img->mHeight = p_params->nFrameHeight; in describe_color_format()
3250 p_params->eColorFormat); in describe_color_format()