/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() 1221 RETURN_IF((NULL == pv_buf), IV_FAIL); in ihevcd_allocate_static_bufs() 1229 RETURN_IF((NULL == pv_buf), IV_FAIL); in ihevcd_allocate_static_bufs() 1236 RETURN_IF((NULL == pv_buf), IV_FAIL); in ihevcd_allocate_static_bufs() 1243 RETURN_IF((NULL == pv_buf), IV_FAIL); in ihevcd_allocate_static_bufs() 1250 RETURN_IF((NULL == pv_buf), IV_FAIL); in ihevcd_allocate_static_bufs() 1256 RETURN_IF((NULL == pv_buf), IV_FAIL); in ihevcd_allocate_static_bufs() 1263 RETURN_IF((NULL == pv_buf), IV_FAIL); in ihevcd_allocate_static_bufs() [all …]
|
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_nal.c | 339 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_nal_unit()
|
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()
|
D | ihevcd_decode.c | 518 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_decode()
|
D | ihevcd_parse_headers.c | 937 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_parse_vui_parameters() 1828 RETURN_IF((ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS), ret); in ihevcd_parse_sps()
|
/external/libavc/decoder/ |
D | ih264d_api.c | 1234 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs() 1241 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs() 1272 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs() 1278 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() 1290 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs() 1296 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs() 1302 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs() 1308 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs() 1314 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs() [all …]
|
D | ih264d_utils.c | 1867 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs() 1873 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs() 1879 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs() 1894 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs() 1901 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs() 1907 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs() 1914 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs() 1925 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs() 1932 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_dynamic_bufs() 1943 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 | 2578 RETURN_IF((ps_codec->pv_proc_jobq == NULL), IV_FAIL); in ih264e_init() 2586 RETURN_IF((ps_codec->pv_entropy_jobq == NULL), IV_FAIL); in ih264e_init()
|