Home
last modified time | relevance | path

Searched refs:omx_handle (Results 1 – 9 of 9) sorted by relevance

/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/src/
Dmm_jpeg.c82 rc = OMX_GetHandle(&my_obj->omx_handle, in mm_jpeg_omx_load()
112 OMX_SendCommand(my_obj->omx_handle, OMX_CommandStateSet, OMX_StateIdle, NULL); in mm_jpeg_clean_omx_job()
113 OMX_SendCommand(my_obj->omx_handle, OMX_CommandStateSet, OMX_StateLoaded, NULL); in mm_jpeg_clean_omx_job()
119 OMX_FreeBuffer(my_obj->omx_handle, in mm_jpeg_clean_omx_job()
125 OMX_FreeBuffer(my_obj->omx_handle, in mm_jpeg_clean_omx_job()
136 OMX_SendCommand(my_obj->omx_handle, OMX_CommandFlush, 0, NULL); in mm_jpeg_omx_abort_job()
158 OMX_GetExtensionIndex(my_obj->omx_handle, in mm_jpeg_omx_config_main_buffer_offset()
182 OMX_SetParameter(my_obj->omx_handle, buf_offset_idx, &buffer_offset); in mm_jpeg_omx_config_main_buffer_offset()
191 … OMX_GetExtensionIndex(my_obj->omx_handle,"omx.qcom.jpeg.exttype.acbcr_offset",&buf_offset_idx); in mm_jpeg_omx_config_main_buffer_offset()
192 OMX_SetParameter(my_obj->omx_handle, buf_offset_idx, &buffer_offset); in mm_jpeg_omx_config_main_buffer_offset()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c99 ret = OMX_UseBuffer(p_session->omx_handle, &(p_session->p_in_omx_buf[i]), 0, in mm_jpeg_session_send_buffers()
111 ret = OMX_UseBuffer(p_session->omx_handle, in mm_jpeg_session_send_buffers()
123 ret = OMX_UseBuffer(p_session->omx_handle, &(p_session->p_out_omx_buf[i]), in mm_jpeg_session_send_buffers()
158 ret = OMX_FreeBuffer(p_session->omx_handle, 0, p_session->p_in_omx_buf[i]); in mm_jpeg_session_free_buffers()
167 ret = OMX_FreeBuffer(p_session->omx_handle, 2, p_session->p_in_omx_thumb_buf[i]); in mm_jpeg_session_free_buffers()
176 ret = OMX_FreeBuffer(p_session->omx_handle, 1, p_session->p_out_omx_buf[i]); in mm_jpeg_session_free_buffers()
215 ret = OMX_GetState(p_session->omx_handle, &current_state); in mm_jpeg_session_change_state()
229 ret = OMX_SendCommand(p_session->omx_handle, OMX_CommandStateSet, in mm_jpeg_session_change_state()
300 rc = OMX_GetHandle(&p_session->omx_handle, in mm_jpeg_session_create()
335 if (NULL == p_session->omx_handle) { in mm_jpeg_session_destroy()
[all …]
Dmm_jpegdec.c135 ret = OMX_UseBuffer(p_session->omx_handle, &(p_session->p_in_omx_buf[i]), 0, in mm_jpegdec_session_send_buffers()
170 ret = OMX_FreeBuffer(p_session->omx_handle, 0, p_session->p_in_omx_buf[i]); in mm_jpegdec_session_free_buffers()
179 ret = OMX_FreeBuffer(p_session->omx_handle, 1, p_session->p_out_omx_buf[i]); in mm_jpegdec_session_free_buffers()
222 rc = OMX_GetHandle(&p_session->omx_handle, in mm_jpegdec_session_create()
251 if (NULL == p_session->omx_handle) { in mm_jpegdec_session_destroy()
267 rc = OMX_FreeHandle(p_session->omx_handle); in mm_jpegdec_session_destroy()
271 p_session->omx_handle = NULL; in mm_jpegdec_session_destroy()
304 ret = OMX_GetParameter(p_session->omx_handle, OMX_IndexParamPortDefinition, in mm_jpegdec_session_config_ports()
311 ret = OMX_GetParameter(p_session->omx_handle, OMX_IndexParamPortDefinition, in mm_jpegdec_session_config_ports()
331 ret = OMX_SetParameter(p_session->omx_handle, OMX_IndexParamPortDefinition, in mm_jpegdec_session_config_ports()
[all …]
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c273 ret = OMX_UseBuffer(p_session->omx_handle, &(p_session->p_in_omx_buf[i]), 0, in mm_jpeg_session_send_buffers()
285 ret = OMX_UseBuffer(p_session->omx_handle, in mm_jpeg_session_send_buffers()
297 ret = OMX_UseBuffer(p_session->omx_handle, &(p_session->p_out_omx_buf[i]), in mm_jpeg_session_send_buffers()
331 ret = OMX_FreeBuffer(p_session->omx_handle, 0, p_session->p_in_omx_buf[i]); in mm_jpeg_session_free_buffers()
340 ret = OMX_FreeBuffer(p_session->omx_handle, 2, p_session->p_in_omx_thumb_buf[i]); in mm_jpeg_session_free_buffers()
349 ret = OMX_FreeBuffer(p_session->omx_handle, 1, p_session->p_out_omx_buf[i]); in mm_jpeg_session_free_buffers()
385 ret = OMX_GetState(p_session->omx_handle, &current_state); in mm_jpeg_session_change_state()
398 ret = OMX_SendCommand(p_session->omx_handle, OMX_CommandStateSet, in mm_jpeg_session_change_state()
461 rc = OMX_GetHandle(&p_session->omx_handle, in mm_jpeg_session_create()
490 if (NULL == p_session->omx_handle) { in mm_jpeg_session_destroy()
[all …]
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c292 ret = OMX_UseBuffer(p_session->omx_handle, &(p_session->p_in_omx_buf[i]), 0, in mm_jpeg_session_send_buffers()
304 ret = OMX_UseBuffer(p_session->omx_handle, in mm_jpeg_session_send_buffers()
316 ret = OMX_UseBuffer(p_session->omx_handle, &(p_session->p_out_omx_buf[i]), in mm_jpeg_session_send_buffers()
350 ret = OMX_FreeBuffer(p_session->omx_handle, 0, p_session->p_in_omx_buf[i]); in mm_jpeg_session_free_buffers()
359 ret = OMX_FreeBuffer(p_session->omx_handle, 2, p_session->p_in_omx_thumb_buf[i]); in mm_jpeg_session_free_buffers()
368 ret = OMX_FreeBuffer(p_session->omx_handle, 1, p_session->p_out_omx_buf[i]); in mm_jpeg_session_free_buffers()
404 ret = OMX_GetState(p_session->omx_handle, &current_state); in mm_jpeg_session_change_state()
417 ret = OMX_SendCommand(p_session->omx_handle, OMX_CommandStateSet, in mm_jpeg_session_change_state()
481 rc = OMX_GetHandle(&p_session->omx_handle, in mm_jpeg_session_create()
510 if (NULL == p_session->omx_handle) { in mm_jpeg_session_destroy()
[all …]
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h131 OMX_HANDLETYPE omx_handle; /* handle to omx engine */ member
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h91 OMX_HANDLETYPE omx_handle; /* handle to omx engine */ member
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h92 OMX_HANDLETYPE omx_handle; /* handle to omx engine */ member
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h280 OMX_HANDLETYPE omx_handle; /* handle to omx engine */ member