Home
last modified time | relevance | path

Searched refs:omx_handle (Results 1 – 11 of 11) 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/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c110 ret = OMX_UseBuffer(p_session->omx_handle, &(p_session->p_in_omx_buf[i]), 0, in mm_jpeg_session_send_buffers()
122 ret = OMX_UseBuffer(p_session->omx_handle, in mm_jpeg_session_send_buffers()
134 ret = OMX_UseBuffer(p_session->omx_handle, &(p_session->p_out_omx_buf[i]), in mm_jpeg_session_send_buffers()
168 ret = OMX_FreeBuffer(p_session->omx_handle, 0, p_session->p_in_omx_buf[i]); in mm_jpeg_session_free_buffers()
177 ret = OMX_FreeBuffer(p_session->omx_handle, 2, p_session->p_in_omx_thumb_buf[i]); in mm_jpeg_session_free_buffers()
186 ret = OMX_FreeBuffer(p_session->omx_handle, 1, p_session->p_out_omx_buf[i]); in mm_jpeg_session_free_buffers()
225 ret = OMX_GetState(p_session->omx_handle, &current_state); in mm_jpeg_session_change_state()
239 ret = OMX_SendCommand(p_session->omx_handle, OMX_CommandStateSet, in mm_jpeg_session_change_state()
314 rc = OMX_GetHandle(&p_session->omx_handle, in mm_jpeg_session_create()
349 if (NULL == p_session->omx_handle) { in mm_jpeg_session_destroy()
[all …]
Dmm_jpegdec.c133 ret = OMX_UseBuffer(p_session->omx_handle, &(p_session->p_in_omx_buf[i]), 0, in mm_jpegdec_session_send_buffers()
167 ret = OMX_FreeBuffer(p_session->omx_handle, 0, p_session->p_in_omx_buf[i]); in mm_jpegdec_session_free_buffers()
176 ret = OMX_FreeBuffer(p_session->omx_handle, 1, p_session->p_out_omx_buf[i]); in mm_jpegdec_session_free_buffers()
218 rc = OMX_GetHandle(&p_session->omx_handle, in mm_jpegdec_session_create()
247 if (NULL == p_session->omx_handle) { in mm_jpegdec_session_destroy()
263 rc = OMX_FreeHandle(p_session->omx_handle); in mm_jpegdec_session_destroy()
267 p_session->omx_handle = NULL; in mm_jpegdec_session_destroy()
300 ret = OMX_GetParameter(p_session->omx_handle, OMX_IndexParamPortDefinition, in mm_jpegdec_session_config_ports()
307 ret = OMX_GetParameter(p_session->omx_handle, OMX_IndexParamPortDefinition, in mm_jpegdec_session_config_ports()
327 ret = OMX_SetParameter(p_session->omx_handle, OMX_IndexParamPortDefinition, in mm_jpegdec_session_config_ports()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c110 ret = OMX_UseBuffer(p_session->omx_handle, &(p_session->p_in_omx_buf[i]), 0, in mm_jpeg_session_send_buffers()
122 ret = OMX_UseBuffer(p_session->omx_handle, in mm_jpeg_session_send_buffers()
134 ret = OMX_UseBuffer(p_session->omx_handle, &(p_session->p_out_omx_buf[i]), in mm_jpeg_session_send_buffers()
168 ret = OMX_FreeBuffer(p_session->omx_handle, 0, p_session->p_in_omx_buf[i]); in mm_jpeg_session_free_buffers()
177 ret = OMX_FreeBuffer(p_session->omx_handle, 2, p_session->p_in_omx_thumb_buf[i]); in mm_jpeg_session_free_buffers()
186 ret = OMX_FreeBuffer(p_session->omx_handle, 1, p_session->p_out_omx_buf[i]); in mm_jpeg_session_free_buffers()
225 ret = OMX_GetState(p_session->omx_handle, &current_state); in mm_jpeg_session_change_state()
239 ret = OMX_SendCommand(p_session->omx_handle, OMX_CommandStateSet, in mm_jpeg_session_change_state()
314 rc = OMX_GetHandle(&p_session->omx_handle, in mm_jpeg_session_create()
349 if (NULL == p_session->omx_handle) { in mm_jpeg_session_destroy()
[all …]
Dmm_jpegdec.c133 ret = OMX_UseBuffer(p_session->omx_handle, &(p_session->p_in_omx_buf[i]), 0, in mm_jpegdec_session_send_buffers()
167 ret = OMX_FreeBuffer(p_session->omx_handle, 0, p_session->p_in_omx_buf[i]); in mm_jpegdec_session_free_buffers()
176 ret = OMX_FreeBuffer(p_session->omx_handle, 1, p_session->p_out_omx_buf[i]); in mm_jpegdec_session_free_buffers()
218 rc = OMX_GetHandle(&p_session->omx_handle, in mm_jpegdec_session_create()
247 if (NULL == p_session->omx_handle) { in mm_jpegdec_session_destroy()
263 rc = OMX_FreeHandle(p_session->omx_handle); in mm_jpegdec_session_destroy()
267 p_session->omx_handle = NULL; in mm_jpegdec_session_destroy()
300 ret = OMX_GetParameter(p_session->omx_handle, OMX_IndexParamPortDefinition, in mm_jpegdec_session_config_ports()
307 ret = OMX_GetParameter(p_session->omx_handle, OMX_IndexParamPortDefinition, in mm_jpegdec_session_config_ports()
327 ret = OMX_SetParameter(p_session->omx_handle, OMX_IndexParamPortDefinition, in mm_jpegdec_session_config_ports()
[all …]
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h131 OMX_HANDLETYPE omx_handle; /* handle to omx engine */ member
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h286 OMX_HANDLETYPE omx_handle; /* handle to omx engine */ member
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h286 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