Home
last modified time | relevance | path

Searched refs:ref_count (Results 1 – 13 of 13) sorted by relevance

/hardware/intel/common/wrs_omxil_core/utils/src/
Dmodule.c135 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/
Dcmodule.cpp53 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/
Dvp9_onyxc_int.h61 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()
Dvp9_alloccommon.c95 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/
Dvp9_decoder.c243 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()
Dvp9_decodeframe.c1035 if (cm->frame_bufs[frame_to_show].ref_count < 1) in read_uncompressed_header()
/hardware/intel/common/libva/test/common/
Dva_display_wayland.c41 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/
Dmodule.h36 int ref_count; member
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp194 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/
Domx_vdec.h309 OMX_U32 ref_count; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_onyx_if.c2144 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/
Domx_vdec_msm8974.cpp9942 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()
Domx_vdec_hevc_swvdec.cpp6308 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()