/external/libaom/libaom/av1/encoder/ |
D | ratectrl.h | 147 struct AV1_COMP; 191 struct AV1_COMP *cpi, uint8_t *const frame_update_type, 194 struct AV1_COMP *cpi, uint8_t *const frame_update_type, 199 void av1_rc_postencode_update(struct AV1_COMP *cpi, uint64_t bytes_used); 201 void av1_rc_postencode_update_drop_frame(struct AV1_COMP *cpi); 205 void av1_rc_update_rate_correction_factors(struct AV1_COMP *cpi, int width, 210 int av1_rc_drop_frame(struct AV1_COMP *cpi); 213 void av1_rc_compute_frame_size_bounds(const struct AV1_COMP *cpi, 219 int av1_rc_pick_q_and_bounds(struct AV1_COMP *cpi, int width, int height, 223 int av1_rc_regulate_q(const struct AV1_COMP *cpi, int target_bits_per_frame, [all …]
|
D | aq_cyclicrefresh.h | 30 struct AV1_COMP; 41 int av1_cyclic_refresh_estimate_bits_at_q(const struct AV1_COMP *cpi, 46 int av1_cyclic_refresh_rc_bits_per_mb(const struct AV1_COMP *cpi, int i, 52 void av1_cyclic_refresh_update_segment(const struct AV1_COMP *cpi, 58 void av1_cyclic_refresh_postencode(struct AV1_COMP *const cpi); 61 void av1_cyclic_refresh_set_golden_update(struct AV1_COMP *const cpi); 64 void av1_cyclic_refresh_update_parameters(struct AV1_COMP *const cpi); 67 void av1_cyclic_refresh_setup(struct AV1_COMP *const cpi); 71 void av1_cyclic_refresh_reset_resize(struct AV1_COMP *const cpi);
|
D | encodeframe.h | 27 struct AV1_COMP; 34 void av1_encode_frame(struct AV1_COMP *cpi); 36 void av1_alloc_tile_data(struct AV1_COMP *cpi); 37 void av1_init_tile_data(struct AV1_COMP *cpi); 38 void av1_encode_tile(struct AV1_COMP *cpi, struct ThreadData *td, int tile_row, 40 void av1_encode_sb_row(struct AV1_COMP *cpi, struct ThreadData *td,
|
D | encoder.h | 714 typedef struct AV1_COMP { struct 1000 } AV1_COMP; argument 1048 struct AV1_COMP *av1_create_compressor(AV1EncoderConfig *oxcf, 1050 void av1_remove_compressor(AV1_COMP *cpi); 1052 void av1_change_config(AV1_COMP *cpi, const AV1EncoderConfig *oxcf); 1056 int av1_receive_raw_frame(AV1_COMP *cpi, aom_enc_frame_flags_t frame_flags, 1060 int av1_get_compressed_data(AV1_COMP *cpi, unsigned int *frame_flags, 1065 int av1_encode(AV1_COMP *const cpi, uint8_t *const dest, 1070 int av1_get_preview_raw_frame(AV1_COMP *cpi, YV12_BUFFER_CONFIG *dest); 1072 int av1_get_last_show_frame(AV1_COMP *cpi, YV12_BUFFER_CONFIG *frame); [all …]
|
D | mcomp.h | 78 struct AV1_COMP; 87 unsigned int av1_int_pro_motion_estimation(const struct AV1_COMP *cpi, 93 int av1_full_pixel_diamond(const struct AV1_COMP *cpi, MACROBLOCK *x, 137 int av1_full_pixel_search(const struct AV1_COMP *cpi, MACROBLOCK *x, 144 int av1_obmc_full_pixel_search(const struct AV1_COMP *cpi, MACROBLOCK *x, 157 unsigned int av1_compute_motion_cost(const struct AV1_COMP *cpi, 160 unsigned int av1_refine_warped_mv(const struct AV1_COMP *cpi, 168 void av1_simple_motion_search(struct AV1_COMP *const cpi, MACROBLOCK *x, 173 void av1_simple_motion_sse_var(struct AV1_COMP *cpi, MACROBLOCK *x, int mi_row,
|
D | partition_strategy.h | 29 AV1_COMP *const cpi, MACROBLOCK *x, int mi_row, int mi_col, 38 AV1_COMP *const cpi, MACROBLOCK *x, PC_TREE *pc_tree, int mi_row, 51 AV1_COMP *const cpi, MACROBLOCK *x, PC_TREE *pc_tree, int mi_row, 58 void av1_firstpass_simple_motion_search_early_term(AV1_COMP *const cpi, 68 void av1_get_max_min_partition_features(AV1_COMP *const cpi, MACROBLOCK *x, 73 BLOCK_SIZE av1_predict_max_partition(AV1_COMP *const cpi, MACROBLOCK *const x, 78 static INLINE void set_offsets_for_motion_search(const AV1_COMP *const cpi, in set_offsets_for_motion_search() 140 static INLINE int use_auto_max_partition(AV1_COMP *const cpi, in use_auto_max_partition()
|
D | pass2_strategy.h | 19 struct AV1_COMP; 22 void av1_init_second_pass(struct AV1_COMP *cpi); 24 void av1_get_second_pass_params(struct AV1_COMP *cpi, 28 void av1_twopass_postencode_update(struct AV1_COMP *cpi);
|
D | aq_variance.h | 21 void av1_vaq_frame_setup(AV1_COMP *cpi); 23 int av1_log_block_var(const AV1_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bs); 24 int av1_compute_deltaq_from_energy_level(const AV1_COMP *const cpi, 26 int av1_block_wavelet_energy_level(const AV1_COMP *cpi, MACROBLOCK *x,
|
D | rdopt.h | 71 int64_t av1_dist_8x8(const struct AV1_COMP *const cpi, const MACROBLOCK *x, 108 void av1_rd_pick_intra_mode_sb(const struct AV1_COMP *cpi, struct macroblock *x, 113 unsigned int av1_get_sby_perpixel_variance(const struct AV1_COMP *cpi, 116 unsigned int av1_high_get_sby_perpixel_variance(const struct AV1_COMP *cpi, 120 void av1_rd_pick_inter_mode_sb(struct AV1_COMP *cpi, 126 void av1_nonrd_pick_inter_mode_sb(struct AV1_COMP *cpi, 134 const struct AV1_COMP *cpi, struct TileDataEnc *tile_data,
|
D | firstpass.h | 170 struct AV1_COMP; 174 void av1_init_first_pass(struct AV1_COMP *cpi); 175 void av1_rc_get_first_pass_params(struct AV1_COMP *cpi); 176 void av1_first_pass(struct AV1_COMP *cpi, const int64_t ts_duration); 177 void av1_end_first_pass(struct AV1_COMP *cpi);
|
D | ethread.h | 19 struct AV1_COMP; 24 struct AV1_COMP *cpi; 44 void av1_encode_tiles_mt(struct AV1_COMP *cpi); 45 void av1_encode_tiles_row_mt(struct AV1_COMP *cpi);
|
D | encodetxb.h | 49 void av1_alloc_txb_buf(AV1_COMP *cpi); 50 void av1_free_txb_buf(AV1_COMP *cpi); 62 void av1_update_txb_context(const AV1_COMP *cpi, ThreadData *td, 74 void av1_set_coeff_buffer(const AV1_COMP *const cpi, MACROBLOCK *const x, 78 int av1_optimize_txb_new(const struct AV1_COMP *cpi, MACROBLOCK *x, int plane,
|
D | rd.h | 385 struct AV1_COMP; 388 int av1_compute_rd_mult_based_on_qindex(const struct AV1_COMP *cpi, int qindex); 390 int av1_compute_rd_mult(const struct AV1_COMP *cpi, int qindex); 392 void av1_initialize_rd_consts(struct AV1_COMP *cpi); 396 void av1_initialize_me_consts(const struct AV1_COMP *cpi, MACROBLOCK *x, 416 YV12_BUFFER_CONFIG *av1_get_scaled_ref_frame(const struct AV1_COMP *cpi, 428 void av1_set_rd_speed_thresholds(struct AV1_COMP *cpi); 439 void av1_mv_pred(const struct AV1_COMP *cpi, MACROBLOCK *x, 464 int av1_get_adaptive_rdmult(const struct AV1_COMP *cpi, double beta);
|
D | encode_strategy.c | 35 void av1_configure_buffer_updates(AV1_COMP *const cpi, in av1_configure_buffer_updates() 143 static INLINE void update_keyframe_counters(AV1_COMP *cpi) { in update_keyframe_counters() 156 static INLINE int is_frame_droppable(const AV1_COMP *const cpi) { in is_frame_droppable() 162 static INLINE void update_frames_till_gf_update(AV1_COMP *cpi) { in update_frames_till_gf_update() 174 static INLINE void update_twopass_gf_group_index(AV1_COMP *cpi) { in update_twopass_gf_group_index() 185 static void update_rc_counts(AV1_COMP *cpi) { in update_rc_counts() 191 static void check_show_existing_frame(AV1_COMP *const cpi, in check_show_existing_frame() 214 static void set_ext_overrides(AV1_COMP *const cpi, in set_ext_overrides() 242 static int get_ref_frame_flags(const AV1_COMP *const cpi) { in get_ref_frame_flags() 317 const AV1_COMP *const cpi, const EncodeFrameParams *const frame_params) { in get_current_frame_ref_type() [all …]
|
D | picklpf.h | 22 struct AV1_COMP; 23 int av1_get_max_filter_level(const AV1_COMP *cpi); 25 struct AV1_COMP *cpi, LPF_PICK_METHOD method);
|
D | aq_complexity.h | 21 struct AV1_COMP; 25 void av1_caq_select_segment(const struct AV1_COMP *cpi, struct macroblock *, 31 void av1_setup_in_frame_q_adj(struct AV1_COMP *cpi);
|
D | bitstream.h | 26 uint32_t write_sequence_header_obu(AV1_COMP *cpi, uint8_t *const dst); 30 uint32_t av1_write_obu_header(AV1_COMP *const cpi, OBU_TYPE obu_type, 36 int av1_pack_bitstream(AV1_COMP *const cpi, uint8_t *dst, size_t *size,
|
D | ratectrl.c | 91 static double resize_rate_factor(const AV1_COMP *cpi, int width, int height) { in resize_rate_factor() 174 int av1_rc_clamp_pframe_target_size(const AV1_COMP *const cpi, int target, in av1_rc_clamp_pframe_target_size() 203 int av1_rc_clamp_iframe_target_size(const AV1_COMP *const cpi, int target) { in av1_rc_clamp_iframe_target_size() 216 static void update_buffer_level(AV1_COMP *cpi, int encoded_frame_size) { in update_buffer_level() 314 int av1_rc_drop_frame(AV1_COMP *cpi) { in av1_rc_drop_frame() 366 static double get_rate_correction_factor(const AV1_COMP *cpi, int width, in get_rate_correction_factor() 389 static void set_rate_correction_factor(AV1_COMP *cpi, double factor, int width, in set_rate_correction_factor() 414 void av1_rc_update_rate_correction_factors(AV1_COMP *cpi, int width, in av1_rc_update_rate_correction_factors() 489 static int get_bits_per_mb(const AV1_COMP *cpi, int use_cyclic_refresh, in get_bits_per_mb() 503 const AV1_COMP *cpi, in find_closest_qindex_by_rate() [all …]
|
D | encodemb.h | 31 const struct AV1_COMP *cpi; 48 void av1_encode_sb(const struct AV1_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bsize, 67 int av1_optimize_b(const struct AV1_COMP *cpi, MACROBLOCK *mb, int plane, 87 void av1_encode_intra_block_plane(const struct AV1_COMP *cpi, MACROBLOCK *x,
|
D | level.h | 17 struct AV1_COMP; 74 void av1_update_level_info(struct AV1_COMP *cpi, size_t size, int64_t ts_start, 78 aom_codec_err_t av1_get_seq_level_idx(const struct AV1_COMP *cpi,
|
D | aq_cyclicrefresh.c | 120 static int compute_deltaq(const AV1_COMP *cpi, int q, double rate_factor) { in compute_deltaq() 136 int av1_cyclic_refresh_estimate_bits_at_q(const AV1_COMP *cpi, in av1_cyclic_refresh_estimate_bits_at_q() 169 int av1_cyclic_refresh_rc_bits_per_mb(const AV1_COMP *cpi, int i, in av1_cyclic_refresh_rc_bits_per_mb() 199 void av1_cyclic_refresh_update_segment(const AV1_COMP *cpi, in av1_cyclic_refresh_update_segment() 252 void av1_cyclic_refresh_postencode(AV1_COMP *const cpi) { in av1_cyclic_refresh_postencode() 272 void av1_cyclic_refresh_set_golden_update(AV1_COMP *const cpi) { in av1_cyclic_refresh_set_golden_update() 290 static void cyclic_refresh_update_map(AV1_COMP *const cpi) { in cyclic_refresh_update_map() 359 void av1_cyclic_refresh_update_parameters(AV1_COMP *const cpi) { in av1_cyclic_refresh_update_parameters() 427 void av1_cyclic_refresh_setup(AV1_COMP *const cpi) { in av1_cyclic_refresh_setup() 516 void av1_cyclic_refresh_reset_resize(AV1_COMP *const cpi) { in av1_cyclic_refresh_reset_resize()
|
D | tokenize.h | 29 struct AV1_COMP; 34 const struct AV1_COMP *cpi; 50 void av1_tokenize_sb_vartx(const struct AV1_COMP *cpi, struct ThreadData *td,
|
D | av1_quantize.h | 88 struct AV1_COMP; 91 void av1_frame_init_quantizer(struct AV1_COMP *cpi); 93 void av1_init_plane_quantizers(const struct AV1_COMP *cpi, MACROBLOCK *x, 101 void av1_init_quantizer(struct AV1_COMP *cpi);
|
D | mbgraph.c | 27 static unsigned int do_16x16_motion_iteration(AV1_COMP *cpi, const MV *ref_mv, in do_16x16_motion_iteration() 84 static int do_16x16_motion_search(AV1_COMP *cpi, const MV *ref_mv, int mb_row, in do_16x16_motion_search() 121 static int do_16x16_zerozero_search(AV1_COMP *cpi, int_mv *dst_mv) { in do_16x16_zerozero_search() 135 static int find_best_16x16_intra(AV1_COMP *cpi, PREDICTION_MODE *pbest_mode) { in find_best_16x16_intra() 167 static void update_mbgraph_mb_stats(AV1_COMP *cpi, MBGRAPH_MB_STATS *stats, in update_mbgraph_mb_stats() 220 static void update_mbgraph_frame_stats(AV1_COMP *cpi, in update_mbgraph_frame_stats() 287 static void separate_arf_mbs(AV1_COMP *cpi) { in separate_arf_mbs() 364 void av1_update_mbgraph_stats(AV1_COMP *cpi) { in av1_update_mbgraph_stats()
|
D | ethread.c | 32 static void update_delta_lf_for_row_mt(AV1_COMP *cpi) { in update_delta_lf_for_row_mt() 208 static int get_next_job(AV1_COMP *const cpi, int *current_mi_row, in get_next_job() 223 static void switch_tile_and_get_next_job(AV1_COMP *const cpi, int *cur_tile_id, in switch_tile_and_get_next_job() 283 AV1_COMP *const cpi = thread_data->cpi; in enc_row_mt_worker_hook() 354 AV1_COMP *const cpi = thread_data->cpi; in enc_worker_hook() 377 static void create_enc_workers(AV1_COMP *cpi, int num_workers) { in create_enc_workers() 484 static void launch_enc_workers(AV1_COMP *cpi, int num_workers) { in launch_enc_workers() 501 static void sync_enc_workers(AV1_COMP *cpi, int num_workers) { in sync_enc_workers() 516 static void accumulate_counters_enc_workers(AV1_COMP *cpi, int num_workers) { in accumulate_counters_enc_workers() 533 static void prepare_enc_workers(AV1_COMP *cpi, AVxWorkerHook hook, in prepare_enc_workers() [all …]
|