Searched refs:ref_count (Results 1 – 12 of 12) sorted by relevance
| /rockchip-linux_mpp/mpp/base/ |
| H A D | mpp_buffer_impl.c | 178 MppBufOps ops, rk_s32 ref_count, const char *caller) in buf_logs_write() argument 188 log->ref_count = ref_count; in buf_logs_write() 214 ops2str[log->ops], log->ref_count, log->caller); in buf_logs_dump() 231 ops2str[ops], buffer->ref_count, caller); in buf_add_log() 235 ops, buffer->ref_count, caller); in buf_add_log() 252 buffer->ref_count, buffer->discard, buffer->caller); in dump_buffer_info() 302 mpp_assert(buffer->ref_count == 0); in service_put_buffer() 303 if (buffer->ref_count > 0) { in service_put_buffer() 392 buffer->ref_count++; in inc_buffer_ref() 495 p->ref_count++; in mpp_buffer_create() [all …]
|
| H A D | mpp_meta.c | 288 impl->ref_count = 1; in get_meta() 320 RK_S32 ref_count; in put_meta() local 325 ref_count = MPP_SUB_FETCH(&meta->ref_count, 1); in put_meta() 326 if (ref_count > 0) in put_meta() 329 if (ref_count < 0) { in put_meta() 330 mpp_err_f("invalid negative ref_count %d\n", ref_count); in put_meta() 385 MPP_FETCH_ADD(&impl->ref_count, 1); in mpp_meta_inc_ref()
|
| /rockchip-linux_mpp/mpp/base/inc/ |
| H A D | mpp_buffer_impl.h | 52 RK_S32 ref_count; member 102 RK_S32 ref_count; member
|
| H A D | mpp_meta_impl.h | 43 RK_S32 ref_count; member
|
| /rockchip-linux_mpp/mpp/codec/dec/vp8/ |
| H A D | vp8d_parser.h | 81 RK_S8 ref_count; member
|
| H A D | vp8d_parser.c | 256 if (NULL == frame || frame->ref_count <= 0 in vp8d_unref_frame() 263 frame->ref_count--; in vp8d_unref_frame() 264 if (!frame->ref_count) { in vp8d_unref_frame() 655 p->frame_out->ref_count++; in vp8d_alloc_frame() 670 frame->ref_count++; in vp8d_ref_frame()
|
| /rockchip-linux_mpp/mpp/codec/dec/av1/ |
| H A D | av1d_parser.c | 573 if (!f->ref || f->ref->ref_count <= 0 || f->slot_index >= 0x7f) { in av1d_frame_unref() 578 f->ref->ref_count--; in av1d_frame_unref() 579 …EF, "ref %p, f->ref->ref_count %d, ref->invisible= %d", f->ref, f->ref->ref_count, f->ref->invisib… in av1d_frame_unref() 580 if (!f->ref->ref_count) { in av1d_frame_unref() 657 dst->ref->ref_count++; in av1d_frame_ref() 833 frame->ref->ref_count++; in get_current_frame()
|
| H A D | av1d_parser.h | 47 RK_S32 ref_count; member
|
| /rockchip-linux_mpp/mpp/codec/dec/vp9/ |
| H A D | vp9d_parser.h | 89 RK_S32 ref_count; member
|
| H A D | vp9d_parser.c | 267 dst->ref->ref_count++; in vp9_ref_frame() 268 vp9d_dbg(VP9D_DBG_REF, "get prop slot frame %p count %d", dst->f, dst->ref->ref_count); in vp9_ref_frame() 277 if (f->ref->ref_count <= 0 || f->slot_index >= 0x7f) { in vp9_unref_frame() 281 f->ref->ref_count--; in vp9_unref_frame() 282 if (!f->ref->ref_count) { in vp9_unref_frame() 432 frame->ref->ref_count++; in vp9_alloc_frame()
|
| /rockchip-linux_mpp/mpp/hal/vpu/av1d/ |
| H A D | hal_av1d_vdpu.c | 786 RK_S32 ref_count[AV1DEC_MAX_PIC_BUFFERS] = {0}; in vdpu_av1d_set_reference_frames() local 796 ref_count[dxva->frame_refs[i].Index]++; in vdpu_av1d_set_reference_frames() 800 if (ref_count[i]) in vdpu_av1d_set_reference_frames()
|
| /rockchip-linux_mpp/ |
| H A D | CHANGELOG.md | 464 - [mpp_buffer]: fix dec/inc ref_count in multi threads
|