Home
last modified time | relevance | path

Searched refs:MAX_LAG_BUFFERS (Results 1 – 22 of 22) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dlookahead.h22 #define MAX_LAG_BUFFERS 35 macro
24 #define MAX_TOTAL_BUFFERS (MAX_LAG_BUFFERS + MAX_LAP_BUFFERS)
Dencoder.h198 TplDepStats *tpl_stats_pool[MAX_LAG_BUFFERS];
202 YV12_BUFFER_CONFIG tpl_rec_pool[MAX_LAG_BUFFERS];
Dtpl_model.c965 for (int frame_idx = 0; frame_idx < MAX_LAG_BUFFERS; ++frame_idx) { in init_tpl_stats()
1140 if (tpl_idx >= MAX_LAG_BUFFERS) return; in av1_tpl_rdmult_setup_sb()
Dtemporal_filter.c1256 YV12_BUFFER_CONFIG *frames[MAX_LAG_BUFFERS] = { NULL }; in av1_temporal_filter()
Dencodeframe.c297 if (tpl_idx >= MAX_LAG_BUFFERS) return deltaq_rdmult; in get_hier_tpl_rdmult()
3913 if (cpi->gf_group.index >= MAX_LAG_BUFFERS) return orig_rdmult; in get_rdmult_delta()
3993 if (gf_group_index >= MAX_LAG_BUFFERS) return 0; in get_tpl_stats_b()
4066 if (cpi->gf_group.index >= MAX_LAG_BUFFERS) return base_qindex; in get_q_for_deltaq_objective()
4587 if (frame_idx >= MAX_LAG_BUFFERS) return; in init_ref_frame_space()
Dencoder.c2998 for (int frame = 0; frame < MAX_LAG_BUFFERS; ++frame) { in setup_tpl_buffers()
3150 assert(MAX_LAP_BUFFERS >= MAX_LAG_BUFFERS); in av1_create_compressor()
3151 int size = get_stats_buf_size(num_lap_buffers, MAX_LAG_BUFFERS); in av1_create_compressor()
3600 for (int frame = 0; frame < MAX_LAG_BUFFERS; ++frame) { in av1_remove_compressor()
Drdopt.c2129 if (tpl_idx >= MAX_LAG_BUFFERS || !tpl_frame->is_valid) { in get_block_level_tpl_stats()
2243 tpl_idx >= MAX_LAG_BUFFERS && tpl_frame->is_valid; in handle_inter_mode()
/external/libvpx/libvpx/vp8/encoder/
Dlookahead.c16 #define MAX_LAG_BUFFERS (CONFIG_REALTIME_ONLY ? 1 : 25) macro
61 } else if (depth > MAX_LAG_BUFFERS) { in vp8_lookahead_init()
62 depth = MAX_LAG_BUFFERS; in vp8_lookahead_init()
Donyx_int.h44 #define MAX_LAG_BUFFERS (CONFIG_REALTIME_ONLY ? 1 : 25) macro
444 ONEPASS_FRAMESTATS one_pass_frame_stats[MAX_LAG_BUFFERS];
607 YV12_BUFFER_CONFIG *frames[MAX_LAG_BUFFERS];
Dratectrl.c418 …int frames_to_scan = (cpi->max_gf_interval <= MAX_LAG_BUFFERS) ? cpi->max_gf_interval : MAX_LAG_BU… in calc_gf_params()
Donyx_if.c1707 else if (cpi->oxcf.lag_in_frames > MAX_LAG_BUFFERS) { in vp8_change_config()
1708 cpi->oxcf.lag_in_frames = MAX_LAG_BUFFERS; in vp8_change_config()
1829 for (i = 0; i < MAX_LAG_BUFFERS; ++i) in vp8_create_compressor()
3435 cpi->one_pass_frame_index = cm->current_video_frame % MAX_LAG_BUFFERS; in encode_frame_to_data_rate()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_lookahead.h22 #define MAX_LAG_BUFFERS 25 macro
Dvp9_svc_layercontext.h88 YV12_BUFFER_CONFIG scaled_frames[MAX_LAG_BUFFERS];
Dvp9_ratectrl.h175 uint64_t avg_source_sad[MAX_LAG_BUFFERS];
Dvp9_firstpass.h141 int arf_index_stack[MAX_LAG_BUFFERS * 2];
Dvp9_encoder.h496 YV12_BUFFER_CONFIG *frames[MAX_LAG_BUFFERS];
510 #define MAX_ARF_GOP_SIZE (2 * MAX_LAG_BUFFERS)
648 MBGRAPH_FRAME_STATS mbgraph_stats[MAX_LAG_BUFFERS];
Dvp9_mbgraph.c376 if (n_frames > MAX_LAG_BUFFERS) n_frames = MAX_LAG_BUFFERS; in vp9_update_mbgraph_stats()
Dvp9_lookahead.c55 depth = clamp(depth, 1, MAX_LAG_BUFFERS); in vp9_lookahead_init()
Dvp9_ratectrl.c404 for (i = 0; i < MAX_LAG_BUFFERS; ++i) rc->avg_source_sad[i] = 0; in vp9_rc_init()
2940 YV12_BUFFER_CONFIG *frames[MAX_LAG_BUFFERS] = { NULL }; in vp9_scene_detection_onepass()
Dvp9_encoder.c1061 for (i = 0; i < MAX_LAG_BUFFERS; ++i) { in dealloc_compressor_data()
1065 MAX_LAG_BUFFERS * sizeof(cpi->svc.scaled_frames[0])); in dealloc_compressor_data()
5883 for (; frame_idx < MAX_LAG_BUFFERS && extend_frame_count < 2; ++frame_idx) {
7190 stack_init(cpi->twopass.gf_group.arf_index_stack, MAX_LAG_BUFFERS * 2);
/external/libaom/libaom/av1/
Dav1_cx_iface.c388 RANGE_CHECK_HI(cfg, g_lag_in_frames, MAX_LAG_BUFFERS); in validate_config()
390 RANGE_CHECK_HI(extra_cfg, min_gf_interval, MAX_LAG_BUFFERS - 1); in validate_config()
391 RANGE_CHECK_HI(extra_cfg, max_gf_interval, MAX_LAG_BUFFERS - 1); in validate_config()
394 AOMMAX(2, extra_cfg->min_gf_interval), (MAX_LAG_BUFFERS - 1)); in validate_config()
753 oxcf->lag_in_frames = clamp(cfg->g_lag_in_frames, 0, MAX_LAG_BUFFERS); in set_encoder_config()
1826 int size = get_stats_buf_size(num_lap_buffers, MAX_LAG_BUFFERS); in create_stats_buffer()
1935 clamp(lap_lag_in_frames, 0, MAX_LAG_BUFFERS), in encoder_init()
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c196 RANGE_CHECK_HI(cfg, g_lag_in_frames, MAX_LAG_BUFFERS); in validate_config()
212 RANGE_CHECK(extra_cfg, min_gf_interval, 0, (MAX_LAG_BUFFERS - 1)); in validate_config()
213 RANGE_CHECK(extra_cfg, max_gf_interval, 0, (MAX_LAG_BUFFERS - 1)); in validate_config()
215 RANGE_CHECK(extra_cfg, max_gf_interval, 2, (MAX_LAG_BUFFERS - 1)); in validate_config()
219 (MAX_LAG_BUFFERS - 1)); in validate_config()