Searched refs:ref_count (Results 1 – 13 of 13) sorted by relevance
/hardware/intel/common/wrs_omxil_core/utils/src/ |
D | module.c | 135 existing->ref_count++; in module_open() 146 new->ref_count = 1; in module_open() 162 existing->ref_count++; in module_open() 218 module->ref_count--; in module_close() 219 ret = module->ref_count; in module_close() 221 LOGV("module %s decrease refcont (%d)\n", module->name, module->ref_count); in module_close() 223 if (!module->ref_count) { in module_close()
|
/hardware/intel/common/wrs_omxil_core/base/src/ |
D | cmodule.cpp | 53 int ref_count; in ~CModule() local 55 while ((ref_count = Unload())); in ~CModule() 103 int ref_count; in Unload() local 105 ref_count = module_close(module); in Unload() 106 if (!ref_count) { in Unload() 113 return ref_count; in Unload()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
D | vp9_onyxc_int.h | 61 int ref_count; member 217 if (cm->frame_bufs[i].ref_count == 0) in get_free_fb() 221 cm->frame_bufs[i].ref_count = 1; in get_free_fb() 228 if (ref_index >= 0 && bufs[ref_index].ref_count > 0) in ref_cnt_fb() 229 bufs[ref_index].ref_count--; in ref_cnt_fb() 233 bufs[new_idx].ref_count++; in ref_cnt_fb()
|
D | vp9_alloccommon.c | 95 if (cm->frame_bufs[i].ref_count > 0 && in vp9_free_frame_buffers() 98 cm->frame_bufs[i].ref_count = 0; in vp9_free_frame_buffers() 172 cm->frame_bufs[i].ref_count = 0; in vp9_alloc_frame_buffers() 179 cm->frame_bufs[cm->new_fb_idx].ref_count = 1; in vp9_alloc_frame_buffers() 183 cm->frame_bufs[i].ref_count = 1; in vp9_alloc_frame_buffers()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
D | vp9_decoder.c | 243 cm->frame_bufs[free_fb].ref_count--; in vp9_set_reference_dec() 275 if (old_idx >= 0 && cm->frame_bufs[old_idx].ref_count == 0) in swap_frame_buffers() 283 cm->frame_bufs[cm->new_fb_idx].ref_count--; in swap_frame_buffers() 313 if (cm->new_fb_idx >= 0 && cm->frame_bufs[cm->new_fb_idx].ref_count == 0) in vp9_receive_compressed_data() 331 if (cm->frame_bufs[cm->new_fb_idx].ref_count > 0) in vp9_receive_compressed_data() 332 cm->frame_bufs[cm->new_fb_idx].ref_count--; in vp9_receive_compressed_data() 344 if (cm->frame_bufs[cm->new_fb_idx].ref_count > 0) in vp9_receive_compressed_data() 345 cm->frame_bufs[cm->new_fb_idx].ref_count--; in vp9_receive_compressed_data()
|
D | vp9_decodeframe.c | 1035 if (cm->frame_bufs[frame_to_show].ref_count < 1) in read_uncompressed_header()
|
/hardware/intel/common/libva/test/common/ |
D | va_display_wayland.c | 41 unsigned int ref_count; member 77 d->ref_count++; in va_open_display_wayland() 96 d->ref_count = 1; in va_open_display_wayland() 107 if (!d || --d->ref_count > 0) in va_close_display_wayland()
|
/hardware/intel/common/wrs_omxil_core/utils/inc/ |
D | module.h | 36 int ref_count; member
|
/hardware/libhardware/modules/audio_remote_submix/ |
D | audio_hw.cpp | 194 volatile int32_t ref_count; member 460 const_cast<struct submix_stream_in*>(in)->ref_count--; in audio_config_compare() 461 if (in->ref_count == 0) { in audio_config_compare() 464 ALOGV("submix_audio_device_destroy_pipe(): input ref_count %d", in->ref_count); in audio_config_compare() 1407 in->ref_count++; in audio_config_compare() 1414 in->ref_count); in audio_config_compare() 1417 ALOGD(" Non-NULL sink when opening input stream, refcount=%d", in->ref_count); in audio_config_compare() 1420 ALOGE("NULL sink when opening input stream, refcount=%d", in->ref_count); in audio_config_compare() 1431 in->ref_count = 1; in audio_config_compare() 1483 if (in->ref_count == 0) free(in); in audio_config_compare()
|
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/ |
D | omx_vdec.h | 309 OMX_U32 ref_count; member
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_onyx_if.c | 2144 cm->frame_bufs[idx].ref_count++; 2154 cm->frame_bufs[cpi->scaled_ref_idx[i]].ref_count--; 3164 cm->frame_bufs[cm->new_fb_idx].ref_count--;
|
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_msm8974.cpp | 9942 out_dynamic_list[i].ref_count++; in buf_ref_add() 9944 … (unsigned int)out_dynamic_list[i].fd, (unsigned int)out_dynamic_list[i].ref_count); in buf_ref_add() 9956 out_dynamic_list[i].ref_count++; in buf_ref_add() 9958 … (unsigned int)out_dynamic_list[i].fd, (unsigned int)out_dynamic_list[i].ref_count); in buf_ref_add() 9975 out_dynamic_list[i].ref_count--; in buf_ref_remove() 9976 if (out_dynamic_list[i].ref_count == 0) { in buf_ref_remove() 9979 … (unsigned int)out_dynamic_list[i].fd, (unsigned int)out_dynamic_list[i].ref_count); in buf_ref_remove()
|
D | omx_vdec_hevc_swvdec.cpp | 6308 if (out_dynamic_list[nPortIndex].ref_count == 0) { in fill_this_buffer() 9597 out_dynamic_list[index].ref_count++; in buf_ref_add() 9599 out_dynamic_list[index].fd, out_dynamic_list[index].ref_count); in buf_ref_add() 9612 out_dynamic_list[i].ref_count--; in buf_ref_remove() 9613 if (out_dynamic_list[i].ref_count == 0) { in buf_ref_remove() 9616 out_dynamic_list[i].fd, out_dynamic_list[i].ref_count); in buf_ref_remove()
|