Home
last modified time | relevance | path

Searched refs:RETURN_IF (Results 1 – 17 of 17) 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()
1179 RETURN_IF((NULL == pv_buf), IV_FAIL); in ihevcd_allocate_static_bufs()
1208 RETURN_IF((NULL == pv_buf), IV_FAIL); in ihevcd_allocate_static_bufs()
1222 RETURN_IF((NULL == pv_buf), IV_FAIL); in ihevcd_allocate_static_bufs()
1235 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_allocate_static_bufs()
1238 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_allocate_static_bufs()
1243 RETURN_IF((NULL == pv_buf), IV_FAIL); in ihevcd_allocate_static_bufs()
1256 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_allocate_static_bufs()
1259 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_allocate_static_bufs()
1267 RETURN_IF((NULL == pv_buf), IV_FAIL); in ihevcd_allocate_static_bufs()
[all …]
Dihevcd_utils.c849 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_parse_pic_init()
852 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_parse_pic_init()
859 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_parse_pic_init()
1253 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_parse_pic_init()
1259 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_parse_pic_init()
Dihevcd_decode.c522 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_decode()
912 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_decode()
921 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_decode()
Dihevcd_nal.c339 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_nal_unit()
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_parse_headers.c937 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_parse_vui_parameters()
1841 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_parse_sps()
/external/libavc/decoder/
Dih264d_api.c1412 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1419 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1450 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1456 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1462 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1468 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1474 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1480 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1486 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1492 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
[all …]
Dih264d_utils.c1936 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs()
1942 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs()
1948 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs()
1963 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs()
1970 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs()
1976 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs()
1983 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs()
1994 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs()
2001 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs()
2012 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.c3093 RETURN_IF((ps_codec->pv_proc_jobq == NULL), IV_FAIL); in ih264e_init()
3101 RETURN_IF((ps_codec->pv_entropy_jobq == NULL), IV_FAIL); in ih264e_init()