Home
last modified time | relevance | path

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

/external/libavc/common/
Dih264_buf_mgr.c177 RETURN_IF((rettmp != IH264_SUCCESS), rettmp); in ih264_buf_mgr_yield()
183 RETURN_IF((rettmp != IH264_SUCCESS), rettmp); in ih264_buf_mgr_yield()
295 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_buf_mgr_add()
301 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_buf_mgr_add()
311 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_buf_mgr_add()
319 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_buf_mgr_add()
353 RETURN_IF((ret != IH264_SUCCESS), NULL); in ih264_buf_mgr_get_next_free()
369 RETURN_IF((ret != IH264_SUCCESS), NULL); in ih264_buf_mgr_get_next_free()
400 RETURN_IF((rettmp != IH264_SUCCESS), ret); in ih264_buf_mgr_check_free()
413 RETURN_IF((rettmp != IH264_SUCCESS), ret); in ih264_buf_mgr_check_free()
[all …]
Dih264_list.c186 RETURN_IF((rettmp != IH264_SUCCESS), rettmp); in ih264_list_yield()
194 RETURN_IF((rettmp != IH264_SUCCESS), rettmp); in ih264_list_yield()
313 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_list_reset()
320 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_list_reset()
350 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_list_deinit()
385 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_list_terminate()
390 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_list_terminate()
438 RETURN_IF((rettmp != IH264_SUCCESS), rettmp); in ih264_list_queue()
478 RETURN_IF((rettmp != IH264_SUCCESS), rettmp); in ih264_list_queue()
525 RETURN_IF((rettmp != IH264_SUCCESS), rettmp); in ih264_list_dequeue()
[all …]
Dih264_macros.h42 #define RETURN_IF(cond, retval) if(cond) {return (retval);} macro
/external/libmpeg2/common/
Dimpeg2_job_queue.c166 RETURN_IF((e_ret_tmp != IV_SUCCESS), e_ret_tmp); in impeg2_jobq_yield()
172 RETURN_IF((e_ret_tmp != IV_SUCCESS), e_ret_tmp); in impeg2_jobq_yield()
278 RETURN_IF((e_ret != IV_SUCCESS), e_ret); in impeg2_jobq_reset()
284 RETURN_IF((e_ret != IV_SUCCESS), e_ret); in impeg2_jobq_reset()
314 RETURN_IF((e_ret != IV_SUCCESS), e_ret); in impeg2_jobq_deinit()
349 RETURN_IF((e_ret != IV_SUCCESS), e_ret); in impeg2_jobq_terminate()
354 RETURN_IF((e_ret != IV_SUCCESS), e_ret); in impeg2_jobq_terminate()
403 RETURN_IF((e_ret_tmp != IV_SUCCESS), e_ret_tmp); in impeg2_jobq_queue()
426 RETURN_IF((e_ret_tmp != IV_SUCCESS), e_ret_tmp); in impeg2_jobq_queue()
475 RETURN_IF((e_ret_tmp != IV_SUCCESS), e_ret_tmp); in impeg2_jobq_dequeue()
[all …]
Dicv_macros.h67 #define RETURN_IF(cond, retval) if(cond) {return (retval);} macro
Dimpeg2_macros.h53 #define RETURN_IF(cond, retval) if(cond) {return (retval);} macro
/external/libhevc/decoder/
Dihevcd_job_queue.c169 RETURN_IF((rettmp != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), rettmp); in ihevcd_jobq_yield()
175 RETURN_IF((rettmp != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), rettmp); in ihevcd_jobq_yield()
281 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_jobq_reset()
287 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_jobq_reset()
317 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_jobq_deinit()
352 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_jobq_terminate()
357 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_jobq_terminate()
400 RETURN_IF((rettmp != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), rettmp); in ihevcd_jobq_queue()
421 RETURN_IF((rettmp != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), rettmp); in ihevcd_jobq_queue()
464 RETURN_IF((rettmp != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), rettmp); in ihevcd_jobq_dequeue()
[all …]
Dihevcd_api.c1171 RETURN_IF((NULL == pv_buf), IV_FAIL); in ihevcd_allocate_static_bufs()
1178 RETURN_IF((NULL == pv_buf), IV_FAIL); in ihevcd_allocate_static_bufs()
1207 RETURN_IF((NULL == pv_buf), IV_FAIL); in ihevcd_allocate_static_bufs()
1219 RETURN_IF((NULL == pv_buf), IV_FAIL); in ihevcd_allocate_static_bufs()
1226 RETURN_IF((NULL == pv_buf), IV_FAIL); in ihevcd_allocate_static_bufs()
1232 RETURN_IF((NULL == pv_buf), IV_FAIL); in ihevcd_allocate_static_bufs()
1238 RETURN_IF((NULL == pv_buf), IV_FAIL); in ihevcd_allocate_static_bufs()
1244 RETURN_IF((NULL == pv_buf), IV_FAIL); in ihevcd_allocate_static_bufs()
1249 RETURN_IF((NULL == pv_buf), IV_FAIL); in ihevcd_allocate_static_bufs()
1255 RETURN_IF((NULL == pv_buf), IV_FAIL); in ihevcd_allocate_static_bufs()
[all …]
Dihevcd_parse_slice.c221 RETURN_IF((IHEVCD_ERROR_T)IHEVCD_SUCCESS != ret, ret); in ihevcd_parse_transform_tree()
225 RETURN_IF((IHEVCD_ERROR_T)IHEVCD_SUCCESS != ret, ret); in ihevcd_parse_transform_tree()
229 RETURN_IF((IHEVCD_ERROR_T)IHEVCD_SUCCESS != ret, ret); in ihevcd_parse_transform_tree()
233 RETURN_IF((IHEVCD_ERROR_T)IHEVCD_SUCCESS != ret, ret); in ihevcd_parse_transform_tree()
1613 RETURN_IF((IHEVCD_ERROR_T)IHEVCD_SUCCESS != ret, ret); in ihevcd_parse_coding_unit()
1830 RETURN_IF((IHEVCD_ERROR_T)IHEVCD_SUCCESS != ret, ret); in ihevcd_parse_coding_quadtree()
1836 RETURN_IF((IHEVCD_ERROR_T)IHEVCD_SUCCESS != ret, ret); in ihevcd_parse_coding_quadtree()
1842 RETURN_IF((IHEVCD_ERROR_T)IHEVCD_SUCCESS != ret, ret); in ihevcd_parse_coding_quadtree()
1849 RETURN_IF((IHEVCD_ERROR_T)IHEVCD_SUCCESS != ret, ret); in ihevcd_parse_coding_quadtree()
1873 RETURN_IF((IHEVCD_ERROR_T)IHEVCD_SUCCESS != ret, ret); in ihevcd_parse_coding_quadtree()
[all …]
Dihevcd_nal.c339 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_nal_unit()
Dihevcd_utils.c708 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_parse_pic_init()
711 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_parse_pic_init()
Dihevcd_parse_headers.c752 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_parse_vui_parameters()
1504 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_parse_sps()
/external/libavc/decoder/
Dih264d_api.c1237 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1243 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1274 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1279 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1284 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1289 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1294 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1299 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1304 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1309 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
[all …]
Dih264d_utils.c1851 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs()
1856 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs()
1861 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs()
1875 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs()
1882 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs()
1887 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs()
1893 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs()
1899 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs()
1905 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs()
1915 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs()
[all …]
/external/libhevc/common/
Dihevc_macros.h37 #define RETURN_IF(cond, retval) if(cond) {return (retval);} macro
/external/libavc/encoder/
Dih264e_api.c2560 RETURN_IF((ps_codec->pv_proc_jobq == NULL), IV_FAIL); in ih264e_init()
2568 RETURN_IF((ps_codec->pv_entropy_jobq == NULL), IV_FAIL); in ih264e_init()