Lines Matching refs:ret

173     IH264_ERROR_T ret = IH264_SUCCESS;  in ih264_buf_mgr_yield()  local
184 return ret; in ih264_buf_mgr_yield()
208 WORD32 ret; in ih264_buf_mgr_free() local
209 ret = ithread_mutex_destroy(ps_buf_mgr->pv_mutex); in ih264_buf_mgr_free()
211 if(0 == ret) in ih264_buf_mgr_free()
293 IH264_ERROR_T ret = IH264_SUCCESS; in ih264_buf_mgr_add() local
294 ret = ih264_buf_mgr_lock(ps_buf_mgr); in ih264_buf_mgr_add()
295 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_buf_mgr_add()
300 ret = ih264_buf_mgr_unlock(ps_buf_mgr); in ih264_buf_mgr_add()
301 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_buf_mgr_add()
310 ret = ih264_buf_mgr_unlock(ps_buf_mgr); in ih264_buf_mgr_add()
311 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_buf_mgr_add()
318 ret = ih264_buf_mgr_unlock(ps_buf_mgr); in ih264_buf_mgr_add()
319 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_buf_mgr_add()
321 return ret; in ih264_buf_mgr_add()
351 IH264_ERROR_T ret = IH264_SUCCESS; in ih264_buf_mgr_get_next_free() local
352 ret = ih264_buf_mgr_lock(ps_buf_mgr); in ih264_buf_mgr_get_next_free()
353 RETURN_IF((ret != IH264_SUCCESS), NULL); in ih264_buf_mgr_get_next_free()
368 ret = ih264_buf_mgr_unlock(ps_buf_mgr); in ih264_buf_mgr_get_next_free()
369 RETURN_IF((ret != IH264_SUCCESS), NULL); in ih264_buf_mgr_get_next_free()
397 IH264_ERROR_T ret = IH264_SUCCESS; in ih264_buf_mgr_check_free() local
400 RETURN_IF((rettmp != IH264_SUCCESS), ret); in ih264_buf_mgr_check_free()
402 ret = IH264_FAIL; in ih264_buf_mgr_check_free()
408 ret = IH264_SUCCESS; in ih264_buf_mgr_check_free()
413 RETURN_IF((rettmp != IH264_SUCCESS), ret); in ih264_buf_mgr_check_free()
415 return ret; in ih264_buf_mgr_check_free()
450 IH264_ERROR_T ret = IH264_SUCCESS; in ih264_buf_mgr_release() local
451 ret = ih264_buf_mgr_lock(ps_buf_mgr); in ih264_buf_mgr_release()
452 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_buf_mgr_release()
458 ret = ih264_buf_mgr_unlock(ps_buf_mgr); in ih264_buf_mgr_release()
459 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_buf_mgr_release()
473 ret = ih264_buf_mgr_unlock(ps_buf_mgr); in ih264_buf_mgr_release()
474 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_buf_mgr_release()
476 return ret; in ih264_buf_mgr_release()
512 IH264_ERROR_T ret = IH264_SUCCESS; in ih264_buf_mgr_set_status() local
513 ret = ih264_buf_mgr_lock(ps_buf_mgr); in ih264_buf_mgr_set_status()
514 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_buf_mgr_set_status()
518 ret = ih264_buf_mgr_unlock(ps_buf_mgr); in ih264_buf_mgr_set_status()
519 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_buf_mgr_set_status()
526 ret = ih264_buf_mgr_unlock(ps_buf_mgr); in ih264_buf_mgr_set_status()
527 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_buf_mgr_set_status()
532 ret = ih264_buf_mgr_unlock(ps_buf_mgr); in ih264_buf_mgr_set_status()
533 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_buf_mgr_set_status()
535 return ret; in ih264_buf_mgr_set_status()
563 IH264_ERROR_T ret = IH264_SUCCESS; in ih264_buf_mgr_get_status() local
566 ret = ih264_buf_mgr_lock(ps_buf_mgr); in ih264_buf_mgr_get_status()
567 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_buf_mgr_get_status()
571 ret = ih264_buf_mgr_unlock(ps_buf_mgr); in ih264_buf_mgr_get_status()
572 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_buf_mgr_get_status()
602 IH264_ERROR_T ret = IH264_SUCCESS; in ih264_buf_mgr_get_buf() local
604 ret = ih264_buf_mgr_lock(ps_buf_mgr); in ih264_buf_mgr_get_buf()
605 RETURN_IF((ret != IH264_SUCCESS), NULL); in ih264_buf_mgr_get_buf()
609 ret = ih264_buf_mgr_unlock(ps_buf_mgr); in ih264_buf_mgr_get_buf()
610 RETURN_IF((ret != IH264_SUCCESS), NULL); in ih264_buf_mgr_get_buf()
643 IH264_ERROR_T ret = IH264_SUCCESS; in ih264_buf_mgr_get_bufid() local
644 ret = ih264_buf_mgr_lock(ps_buf_mgr); in ih264_buf_mgr_get_bufid()
645 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_buf_mgr_get_bufid()
655 ret = ih264_buf_mgr_unlock(ps_buf_mgr); in ih264_buf_mgr_get_bufid()
656 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_buf_mgr_get_bufid()
684 IH264_ERROR_T ret = IH264_SUCCESS; in ih264_buf_mgr_get_num_active_buf() local
688 ret = ih264_buf_mgr_lock(ps_buf_mgr); in ih264_buf_mgr_get_num_active_buf()
689 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_buf_mgr_get_num_active_buf()
692 ret = ih264_buf_mgr_unlock(ps_buf_mgr); in ih264_buf_mgr_get_num_active_buf()
693 RETURN_IF((ret != IH264_SUCCESS), ret); in ih264_buf_mgr_get_num_active_buf()