Searched refs:max_count (Results 1 – 9 of 9) sorted by relevance
| /rockchip-linux_mpp/mpp/codec/rc/ |
| H A D | rc_api.c | 208 MPP_RET rc_api_get_all(MppRcApiSrv *srv, RcApiBrief *brief, RK_S32 *count, RK_S32 max_count) in rc_api_get_all() argument 216 if (cnt >= max_count) in rc_api_get_all() 229 RK_S32 max_count, MppCodingType type) in rc_api_get_by_type() argument 237 if (cnt >= max_count) in rc_api_get_by_type() 257 RK_S32 max_count; in rc_brief_get_all() local 269 max_count = query->max_count; in rc_brief_get_all() 271 if (!brief || max_count <= 0) { in rc_brief_get_all() 272 mpp_err_f("invalide brief buffer %p max count %d\n", brief, max_count); in rc_brief_get_all() 276 return rc_api_get_all(srv, brief, count, max_count); in rc_brief_get_all() 284 RK_S32 max_count; in rc_brief_get_by_type() local [all …]
|
| /rockchip-linux_mpp/osal/ |
| H A D | mpp_time.c | 428 rk_s32 max_count; member 458 impl->max_count = 8; in mpp_stopwatch_get() 493 if (impl->filled_count >= impl->max_count) { in mpp_stopwatch_record() 494 rk_s32 max_count = impl->max_count * 2; in mpp_stopwatch_record() local 496 max_count); in mpp_stopwatch_record() 500 impl->max_count = max_count; in mpp_stopwatch_record() 504 if (impl->filled_count < impl->max_count) { in mpp_stopwatch_record()
|
| /rockchip-linux_mpp/inc/ |
| H A D | mpp_rc_api.h | 227 RK_S32 max_count; member 236 RK_S32 max_count; member
|
| /rockchip-linux_mpp/mpp/base/ |
| H A D | mpp_buffer_impl.c | 140 static MppBufLogs *buf_logs_init(rk_u32 max_count) in buf_logs_init() argument 144 if (!max_count) in buf_logs_init() 147 logs = mpp_malloc_size(MppBufLogs, sizeof(MppBufLogs) + max_count * sizeof(MppBufLog)); in buf_logs_init() 149 mpp_err_f("failed to create %d buf logs\n", max_count); in buf_logs_init() 162 logs->max_count = max_count; in buf_logs_init() 192 if (logs->log_write >= logs->max_count) in buf_logs_write() 195 if (logs->log_count < logs->max_count) in buf_logs_write() 199 if (logs->log_read >= logs->max_count) in buf_logs_write() 219 if (logs->log_read >= logs->max_count) in buf_logs_dump()
|
| H A D | mpp_buf_slot.c | 174 RK_U16 max_count; member 511 static MppBufSlotLogs *buf_slot_logs_init(RK_U32 max_count) in buf_slot_logs_init() argument 515 if (!max_count) in buf_slot_logs_init() 519 max_count * sizeof(MppBufSlotLog)); in buf_slot_logs_init() 521 mpp_err_f("failed to create %d buf slot logs\n", max_count); in buf_slot_logs_init() 525 logs->max_count = max_count; in buf_slot_logs_init() 549 if (logs->log_write >= logs->max_count) in buf_slot_logs_write() 552 if (logs->log_count < logs->max_count) in buf_slot_logs_write() 556 if (logs->log_read >= logs->max_count) in buf_slot_logs_write() 570 if (logs->log_read >= logs->max_count) in buf_slot_logs_dump()
|
| /rockchip-linux_mpp/mpp/codec/rc/test/ |
| H A D | rc_api_test.c | 63 query.max_count = MAX_QUERY_COUNT; in main()
|
| /rockchip-linux_mpp/utils/ |
| H A D | mpp_enc_roi_utils.c | 133 RK_S32 max_count; member 669 impl->max_count = count; in mpp_enc_roi_init() 834 if (impl->count >= impl->max_count) { in mpp_enc_roi_add_region() 835 mpp_err("can not add more region with max %d\n", impl->max_count); in mpp_enc_roi_add_region()
|
| /rockchip-linux_mpp/mpp/base/inc/ |
| H A D | mpp_buffer_impl.h | 58 RK_U16 max_count; member
|
| /rockchip-linux_mpp/mpp/codec/dec/vp9/ |
| H A D | vp9d_parser.c | 1385 RK_S32 max_count, RK_S32 update_factor) in adapt_prob() argument 1395 ct = MPP_MIN(ct, (RK_U32)max_count); in adapt_prob() 1396 update_factor = FASTDIV(update_factor * ct, max_count); in adapt_prob()
|