Searched refs:ref_count (Results 1 - 25 of 26) sorted by relevance

12

/hardware/intel/common/wrs_omxil_core/utils/inc/
H A Dmodule.h36 int ref_count; member in struct:module
/hardware/intel/common/wrs_omxil_core/base/src/
H A Dcmodule.cpp53 int ref_count; local
55 while ((ref_count = Unload()));
103 int ref_count; local
105 ref_count = module_close(module);
106 if (!ref_count) {
113 return ref_count;
/hardware/intel/common/wrs_omxil_core/utils/src/
H A Dmodule.c134 existing->ref_count++;
145 new->ref_count = 1;
161 existing->ref_count++;
216 module->ref_count--;
217 ret = module->ref_count;
219 LOGV("module %s decrease refcont (%d)\n", module->name, module->ref_count);
221 if (!module->ref_count) {
/hardware/intel/common/libva/test/common/
H A Dva_display_wayland.c41 unsigned int ref_count; member in struct:display
77 d->ref_count++;
96 d->ref_count = 1;
107 if (!d || --d->ref_count > 0)
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
H A Dvp9_onyxc_int.h61 int ref_count; member in struct:__anon1130
217 if (cm->frame_bufs[i].ref_count == 0)
221 cm->frame_bufs[i].ref_count = 1;
228 if (ref_index >= 0 && bufs[ref_index].ref_count > 0)
229 bufs[ref_index].ref_count--;
233 bufs[new_idx].ref_count++;
H A Dvp9_alloccommon.c95 if (cm->frame_bufs[i].ref_count > 0 &&
98 cm->frame_bufs[i].ref_count = 0;
172 cm->frame_bufs[i].ref_count = 0;
179 cm->frame_bufs[cm->new_fb_idx].ref_count = 1;
183 cm->frame_bufs[i].ref_count = 1;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
H A Dvp9_decoder.c241 // Decrease ref_count since it will be increased again in
243 cm->frame_bufs[free_fb].ref_count--;
275 if (old_idx >= 0 && cm->frame_bufs[old_idx].ref_count == 0)
283 cm->frame_bufs[cm->new_fb_idx].ref_count--;
313 if (cm->new_fb_idx >= 0 && cm->frame_bufs[cm->new_fb_idx].ref_count == 0)
331 if (cm->frame_bufs[cm->new_fb_idx].ref_count > 0)
332 cm->frame_bufs[cm->new_fb_idx].ref_count--;
344 if (cm->frame_bufs[cm->new_fb_idx].ref_count > 0)
345 cm->frame_bufs[cm->new_fb_idx].ref_count--;
H A Dvp9_decodeframe.c1035 if (cm->frame_bufs[frame_to_show].ref_count < 1)
/hardware/qcom/bt/msm8909/libbt-vendor/src/
H A Dbt_vendor_qcom.c231 char ref_count[PROPERTY_VALUE_MAX]; local
235 property_get("wc_transport.ref_count", ref_count, "0");
237 value = atoi(ref_count);
238 ALOGV("%s: ref_count: %s\n",__func__, ref_count);
270 snprintf(ref_count, 3, "%d", value);
271 ALOGV("%s: updated ref_count is: %s", __func__, ref_count);
273 ret = property_set("wc_transport.ref_count", ref_coun
[all...]
/hardware/qcom/bt/msm8992/libbt-vendor/src/
H A Dbt_vendor_qcom.c225 char ref_count[PROPERTY_VALUE_MAX]; local
228 property_get("wc_transport.ref_count", ref_count, "0");
230 value = atoi(ref_count);
231 ALOGV("%s: ref_count: %s\n",__func__, ref_count);
258 snprintf(ref_count, 3, "%d", value);
259 ALOGV("%s: updated ref_count is: %s", __func__, ref_count);
261 ret = property_set("wc_transport.ref_count", ref_coun
[all...]
/hardware/qcom/bt/msm8996/libbt-vendor/src/
H A Dbt_vendor_qcom.c225 char ref_count[PROPERTY_VALUE_MAX]; local
228 property_get("wc_transport.ref_count", ref_count, "0");
230 value = atoi(ref_count);
231 ALOGV("%s: ref_count: %s\n",__func__, ref_count);
258 snprintf(ref_count, 3, "%d", value);
259 ALOGV("%s: updated ref_count is: %s", __func__, ref_count);
261 ret = property_set("wc_transport.ref_count", ref_coun
[all...]
/hardware/qcom/camera/QCamera2/stack/common/
H A Dmm_jpeg_interface.h251 int32_t ref_count; member in struct:__anon2544
/hardware/libhardware/modules/audio_remote_submix/
H A Daudio_hw.cpp202 volatile int32_t ref_count; member in struct:android::submix_stream_in
495 const_cast<struct submix_stream_in*>(in)->ref_count--;
498 if (in->ref_count == 0) {
501 ALOGV("submix_audio_device_destroy_pipe_l(): input ref_count %d", in->ref_count);
1592 in->ref_count++;
1599 in->ref_count);
1602 ALOGD(" Non-NULL sink when opening input stream, refcount=%d", in->ref_count);
1605 ALOGE("NULL sink when opening input stream, refcount=%d", in->ref_count);
1615 in->ref_count
[all...]
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
H A Dmm_camera_interface.c396 my_obj->ref_count--;
398 if(my_obj->ref_count > 0) {
400 LOGD("ref_count=%d\n", my_obj->ref_count);
2021 g_cam_ctrl.cam_obj[camera_idx]->ref_count++;
2039 cam_obj->ref_count++;
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
H A Dmm_jpeg.c609 p_encode_job->ref_count++;
611 LOGD("ref_count %d p_out_buf %p",
612 p_encode_job->ref_count, p_out_buf);
651 p_encode_job->ref_count) {
655 p_encode_job->ref_count--;
657 } else if (p_encode_job->ref_count) {
658 p_encode_job->ref_count--;
660 LOGW("Buffer already released %d", p_encode_job->ref_count);
663 LOGD("ref_count %d p_out_buf %p",
664 p_encode_job->ref_count, p_encode_jo
[all...]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
H A Domx_swvdec.h130 unsigned int ref_count; ///< reference count member in struct:__anon3751
H A Domx_vdec.h312 OMX_U32 ref_count; member in struct:dynamic_buf_list
H A Domx_vdec_hevc_swvdec.h310 OMX_U32 ref_count; member in struct:dynamic_buf_list
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/inc/
H A Dmm_camera.h517 int ref_count; member in struct:mm_camera_obj
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
H A Domx_vdec.h316 OMX_U32 ref_count; member in struct:dynamic_buf_list
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
H A Domx_swvdec.cpp2031 if (m_meta_buffer_array[ii].ref_count == 0)
4069 m_meta_buffer_array[index].ref_count++;
4093 m_meta_buffer_array[ii].ref_count--;
4095 if (m_meta_buffer_array[ii].ref_count == 0)
H A Domx_vdec_hevc_swvdec.cpp6515 if (out_dynamic_list[nPortIndex].ref_count == 0) {
9799 out_dynamic_list[index].ref_count++;
9800 DEBUG_PRINT_LOW("buf_ref_add: [ADDED] fd = %lu ref_count = %lu",
9801 out_dynamic_list[index].fd, out_dynamic_list[index].ref_count);
9814 out_dynamic_list[i].ref_count--;
9815 if (out_dynamic_list[i].ref_count == 0) {
9817 DEBUG_PRINT_LOW("buf_ref_remove: [REMOVED] fd = %lu ref_count = %lu",
9818 out_dynamic_list[i].fd, out_dynamic_list[i].ref_count);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
H A 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/msm8974/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_msm8974.cpp10551 out_dynamic_list[i].ref_count++;
10552 DEBUG_PRINT_LOW("buf_ref_add: [ALREADY PRESENT] fd = %u ref_count = %u",
10553 (unsigned int)out_dynamic_list[i].fd, (unsigned int)out_dynamic_list[i].ref_count);
10565 out_dynamic_list[i].ref_count++;
10566 DEBUG_PRINT_LOW("buf_ref_add: [ADDED] fd = %u ref_count = %u",
10567 (unsigned int)out_dynamic_list[i].fd, (unsigned int)out_dynamic_list[i].ref_count);
10594 out_dynamic_list[i].ref_count--;
10595 if (out_dynamic_list[i].ref_count == 0) {
10597 DEBUG_PRINT_LOW("buf_ref_remove: [REMOVED] fd = %u ref_count = %u",
10598 (unsigned int)out_dynamic_list[i].fd, (unsigned int)out_dynamic_list[i].ref_count);
[all...]
H A Domx_vdec_hevc_swvdec.cpp6308 if (out_dynamic_list[nPortIndex].ref_count == 0) {
9597 out_dynamic_list[index].ref_count++;
9598 DEBUG_PRINT_LOW("buf_ref_add: [ADDED] fd = %lu ref_count = %lu",
9599 out_dynamic_list[index].fd, out_dynamic_list[index].ref_count);
9612 out_dynamic_list[i].ref_count--;
9613 if (out_dynamic_list[i].ref_count == 0) {
9615 DEBUG_PRINT_LOW("buf_ref_remove: [REMOVED] fd = %lu ref_count = %lu",
9616 out_dynamic_list[i].fd, out_dynamic_list[i].ref_count);

Completed in 996 milliseconds

12