/external/libavc/common/ |
D | ih264_buf_mgr.c | 177 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 …]
|
D | ih264_list.c | 186 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 …]
|
D | ih264_macros.h | 42 #define RETURN_IF(cond, retval) if(cond) {return (retval);} macro
|
/external/libmpeg2/common/ |
D | impeg2_job_queue.c | 166 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 …]
|
D | icv_macros.h | 67 #define RETURN_IF(cond, retval) if(cond) {return (retval);} macro
|
D | impeg2_macros.h | 53 #define RETURN_IF(cond, retval) if(cond) {return (retval);} macro
|
/external/libhevc/decoder/ |
D | ihevcd_job_queue.c | 169 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 …]
|
D | ihevcd_api.c | 1171 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 …]
|
D | ihevcd_utils.c | 849 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()
|
D | ihevcd_decode.c | 522 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()
|
D | ihevcd_nal.c | 339 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_nal_unit()
|
D | ihevcd_parse_slice.c | 221 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 …]
|
D | ihevcd_parse_headers.c | 937 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/ |
D | ih264d_api.c | 1412 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 …]
|
D | ih264d_utils.c | 1936 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/ |
D | ihevc_macros.h | 37 #define RETURN_IF(cond, retval) if(cond) {return (retval);} macro
|
/external/libavc/encoder/ |
D | ih264e_api.c | 3093 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()
|