/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() 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 …]
|
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 | 708 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()
|
D | ihevcd_parse_headers.c | 752 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/ |
D | ih264d_api.c | 1237 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 …]
|
D | ih264d_utils.c | 1851 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/ |
D | ihevc_macros.h | 37 #define RETURN_IF(cond, retval) if(cond) {return (retval);} macro
|
/external/libavc/encoder/ |
D | ih264e_api.c | 2560 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()
|