Searched refs:cpi (Results 1 - 25 of 109) sorted by relevance

12345

/external/libvpx/libvpx/vp8/encoder/
H A Dratectrl.c175 void vp8_save_coding_context(VP8_COMP *cpi) { argument
176 CODING_CONTEXT *const cc = &cpi->coding_context;
184 cc->frames_since_key = cpi->frames_since_key;
185 cc->filter_level = cpi->common.filter_level;
186 cc->frames_till_gf_update_due = cpi->frames_till_gf_update_due;
187 cc->frames_since_golden = cpi->frames_since_golden;
189 vp8_copy(cc->mvc, cpi->common.fc.mvc);
190 vp8_copy(cc->mvcosts, cpi->rd_costs.mvcosts);
192 vp8_copy(cc->ymode_prob, cpi->common.fc.ymode_prob);
193 vp8_copy(cc->uv_mode_prob, cpi
211 vp8_restore_coding_context(VP8_COMP *cpi) argument
246 vp8_setup_key_frame(VP8_COMP *cpi) argument
294 calc_iframe_target_size(VP8_COMP *cpi) argument
381 calc_gf_params(VP8_COMP *cpi) argument
544 calc_pframe_target_size(VP8_COMP *cpi) argument
1029 vp8_update_rate_correction_factors(VP8_COMP *cpi, int damp_var) argument
1131 vp8_regulate_q(VP8_COMP *cpi, int target_bits_per_frame) argument
1273 estimate_keyframe_frequency(VP8_COMP *cpi) argument
1323 vp8_adjust_key_frame_context(VP8_COMP *cpi) argument
1357 vp8_compute_frame_size_bounds(VP8_COMP *cpi, int *frame_under_shoot_limit, int *frame_over_shoot_limit) argument
1426 vp8_pick_frame_size(VP8_COMP *cpi) argument
1448 vp8_drop_encodedframe_overshoot(VP8_COMP *cpi, int Q) argument
[all...]
H A Dratectrl.h20 extern void vp8_save_coding_context(VP8_COMP *cpi);
21 extern void vp8_restore_coding_context(VP8_COMP *cpi);
23 extern void vp8_setup_key_frame(VP8_COMP *cpi);
24 extern void vp8_update_rate_correction_factors(VP8_COMP *cpi, int damp_var);
25 extern int vp8_regulate_q(VP8_COMP *cpi, int target_bits_per_frame);
26 extern void vp8_adjust_key_frame_context(VP8_COMP *cpi);
27 extern void vp8_compute_frame_size_bounds(VP8_COMP *cpi,
32 extern int vp8_pick_frame_size(VP8_COMP *cpi);
34 extern int vp8_drop_encodedframe_overshoot(VP8_COMP *cpi, int Q);
H A Dmr_dissim.h19 extern void vp8_cal_low_res_mb_cols(VP8_COMP *cpi);
20 extern void vp8_cal_dissimilarity(VP8_COMP *cpi);
21 extern void vp8_store_drop_frame_info(VP8_COMP *cpi);
H A Donyx_if.c52 extern int vp8_update_coef_context(VP8_COMP *cpi);
53 extern void vp8_update_coef_probs(VP8_COMP *cpi);
56 extern void vp8cx_pick_filter_level_fast(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi);
57 extern void vp8cx_set_alt_lf_level(VP8_COMP *cpi, int filt_val);
58 extern void vp8cx_pick_filter_level(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi);
66 extern int vp8cx_create_encoder_threads(VP8_COMP *cpi);
67 extern void vp8cx_remove_encoder_threads(VP8_COMP *cpi);
69 int vp8_estimate_entropy_savings(VP8_COMP *cpi);
73 extern void vp8_temporal_filter_prepare_c(VP8_COMP *cpi, int distance);
75 static void set_default_lf_deltas(VP8_COMP *cpi);
193 save_layer_context(VP8_COMP *cpi) argument
229 restore_layer_context(VP8_COMP *cpi, const int layer) argument
273 init_temporal_layer_context(VP8_COMP *cpi, VP8_CONFIG *oxcf, const int layer, double prev_layer_framerate) argument
331 reset_temporal_layer_change(VP8_COMP *cpi, VP8_CONFIG *oxcf, const int prev_num_layers) argument
374 setup_features(VP8_COMP *cpi) argument
408 dealloc_compressor_data(VP8_COMP *cpi) argument
467 enable_segmentation(VP8_COMP *cpi) argument
473 disable_segmentation(VP8_COMP *cpi) argument
481 set_segmentation_map(VP8_COMP *cpi, unsigned char *segmentation_map) argument
504 set_segment_data(VP8_COMP *cpi, signed char *feature_data, unsigned char abs_delta) argument
512 cyclic_background_refresh(VP8_COMP *cpi, int Q, int lf_adjustment) argument
619 set_default_lf_deltas(VP8_COMP *cpi) argument
727 vp8_set_speed_features(VP8_COMP *cpi) argument
1050 alloc_raw_frame_buffers(VP8_COMP *cpi) argument
1074 dealloc_raw_frame_buffers(VP8_COMP *cpi) argument
1081 vp8_alloc_partition_data(VP8_COMP *cpi) argument
1094 vp8_alloc_compressor_data(VP8_COMP *cpi) argument
1249 vp8_new_framerate(VP8_COMP *cpi, double framerate) argument
1285 init_config(VP8_COMP *cpi, VP8_CONFIG *oxcf) argument
1363 update_layer_contexts(VP8_COMP *cpi) argument
1407 vp8_change_config(VP8_COMP *cpi, VP8_CONFIG *oxcf) argument
1731 VP8_COMP *cpi; local
2075 VP8_COMP *cpi = *ptr; local
2367 generate_psnr_packet(VP8_COMP *cpi) argument
2409 vp8_use_as_reference(VP8_COMP *cpi, int ref_frame_flags) argument
2415 vp8_update_reference(VP8_COMP *cpi, int ref_frame_flags) argument
2431 vp8_get_reference(VP8_COMP *cpi, enum vpx_ref_frame_type ref_frame_flag, YV12_BUFFER_CONFIG *sd) argument
2450 vp8_set_reference(VP8_COMP *cpi, enum vpx_ref_frame_type ref_frame_flag, YV12_BUFFER_CONFIG *sd) argument
2470 vp8_update_entropy(VP8_COMP *cpi, int update) argument
2505 scale_and_extend_source(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi) argument
2534 resize_key_frame(VP8_COMP *cpi) argument
2586 update_alt_ref_frame_stats(VP8_COMP *cpi) argument
2619 update_golden_frame_stats(VP8_COMP *cpi) argument
2703 update_rd_ref_frame_probs(VP8_COMP *cpi) argument
2746 decide_key_frame(VP8_COMP *cpi) argument
2811 Pass1Encode(VP8_COMP *cpi, size_t *size, unsigned char *dest, unsigned int *frame_flags) argument
2860 recode_loop_test(VP8_COMP *cpi, int high_limit, int low_limit, int q, int maxq, int minq) argument
2899 update_reference_frames(VP8_COMP *cpi) argument
3028 measure_square_diff_partial(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest, VP8_COMP *cpi) argument
3068 process_denoiser_mode_change(VP8_COMP *cpi) argument
3180 vp8_loopfilter_frame(VP8_COMP *cpi, VP8_COMMON *cm) argument
3251 encode_frame_to_data_rate(VP8_COMP *cpi, size_t *size, unsigned char *dest, unsigned char *dest_end, unsigned int *frame_flags) argument
4790 Pass2Encode(VP8_COMP *cpi, size_t *size, unsigned char *dest, unsigned char *dest_end, unsigned int *frame_flags) argument
4806 vp8_receive_raw_frame(VP8_COMP *cpi, unsigned int frame_flags, YV12_BUFFER_CONFIG *sd, int64_t time_stamp, int64_t end_time) argument
4831 frame_is_reference(const VP8_COMP *cpi) argument
4842 vp8_get_compressed_data(VP8_COMP *cpi, unsigned int *frame_flags, size_t *size, unsigned char *dest, unsigned char *dest_end, int64_t *time_stamp, int64_t *time_end, int flush) argument
5304 vp8_get_preview_raw_frame(VP8_COMP *cpi, YV12_BUFFER_CONFIG *dest, vp8_ppflags_t *flags) argument
5333 vp8_set_roimap(VP8_COMP *cpi, unsigned char *map, unsigned int rows, unsigned int cols, int delta_q[4], int delta_lf[4], unsigned int threshold[4]) argument
5402 vp8_set_active_map(VP8_COMP *cpi, unsigned char *map, unsigned int rows, unsigned int cols) argument
5418 vp8_set_internal_size(VP8_COMP *cpi, VPX_SCALING horiz_mode, VPX_SCALING vert_mode) argument
5459 vp8_get_quantizer(VP8_COMP *cpi) argument
[all...]
H A Dfirstpass.h18 extern void vp8_init_first_pass(VP8_COMP *cpi);
19 extern void vp8_first_pass(VP8_COMP *cpi);
20 extern void vp8_end_first_pass(VP8_COMP *cpi);
22 extern void vp8_init_second_pass(VP8_COMP *cpi);
23 extern void vp8_second_pass(VP8_COMP *cpi);
24 extern void vp8_end_second_pass(VP8_COMP *cpi);
H A Dfirstpass.c39 extern void vp8cx_frame_init_quantizer(VP8_COMP *cpi);
57 #define POW1 (double)cpi->oxcf.two_pass_vbrbias / 100.0
58 #define POW2 (double)cpi->oxcf.two_pass_vbrbias / 100.0
75 static void find_next_key_frame(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame);
80 static void reset_fpf_position(VP8_COMP *cpi, FIRSTPASS_STATS *Position) { argument
81 cpi->twopass.stats_in = Position;
84 static int lookup_next_frame_stats(VP8_COMP *cpi, FIRSTPASS_STATS *next_frame) { argument
85 if (cpi->twopass.stats_in >= cpi->twopass.stats_in_end) return EOF;
87 *next_frame = *cpi
92 read_frame_stats(VP8_COMP *cpi, FIRSTPASS_STATS *frame_stats, int offset) argument
107 input_stats(VP8_COMP *cpi, FIRSTPASS_STATS *fps) argument
116 output_stats(const VP8_COMP *cpi, struct vpx_codec_pkt_list *pktlist, FIRSTPASS_STATS *stats) argument
234 calculate_modified_err(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame) argument
316 frame_max_bits(VP8_COMP *cpi) argument
369 vp8_init_first_pass(VP8_COMP *cpi) argument
373 vp8_end_first_pass(VP8_COMP *cpi) argument
377 zz_motion_search(VP8_COMP *cpi, MACROBLOCK *x, YV12_BUFFER_CONFIG *raw_buffer, int *raw_motion_err, YV12_BUFFER_CONFIG *recon_buffer, int *best_motion_err, int recon_yoffset) argument
406 first_pass_motion_search(VP8_COMP *cpi, MACROBLOCK *x, int_mv *ref_mv, MV *best_mv, YV12_BUFFER_CONFIG *recon_buffer, int *best_motion_err, int recon_yoffset) argument
472 vp8_first_pass(VP8_COMP *cpi) argument
861 estimate_modemvcost(VP8_COMP *cpi, FIRSTPASS_STATS *fpstats) argument
918 estimate_max_q(VP8_COMP *cpi, FIRSTPASS_STATS *fpstats, int section_target_bandwitdh, int overhead_bits) argument
1033 estimate_cq(VP8_COMP *cpi, FIRSTPASS_STATS *fpstats, int section_target_bandwitdh, int overhead_bits) argument
1110 estimate_q(VP8_COMP *cpi, double section_err, int section_target_bandwitdh) argument
1155 estimate_kf_group_q(VP8_COMP *cpi, double section_err, int section_target_bandwitdh, double group_iiratio) argument
1255 vp8_init_second_pass(VP8_COMP *cpi) argument
1336 vp8_end_second_pass(VP8_COMP *cpi) argument
1341 get_prediction_decay_rate(VP8_COMP *cpi, FIRSTPASS_STATS *next_frame) argument
1382 detect_transition_to_still(VP8_COMP *cpi, int frame_interval, int still_interval, double loop_decay_rate, double decay_accumulator) argument
1420 detect_flash(VP8_COMP *cpi, int offset) argument
1454 accumulate_frame_motion_stats(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame, double *this_frame_mv_in_out, double *mv_in_out_accumulator, double *abs_mv_in_out_accumulator, double *mv_ratio_accumulator) argument
1494 calc_frame_boost(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame, double this_frame_mv_in_out) argument
1526 calc_arf_boost(VP8_COMP *cpi, int offset, int f_frames, int b_frames, int *f_boost, int *b_boost) argument
1625 define_gf_group(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame) argument
2200 assign_std_frame_bits(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame) argument
2253 vp8_second_pass(VP8_COMP *cpi) argument
2441 test_candidate_kf(VP8_COMP *cpi, FIRSTPASS_STATS *last_frame, FIRSTPASS_STATS *this_frame, FIRSTPASS_STATS *next_frame) argument
2527 find_next_key_frame(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame) argument
[all...]
H A Dquantize.h23 extern void vp8_set_quantizer(struct VP8_COMP *cpi, int Q);
24 extern void vp8cx_frame_init_quantizer(struct VP8_COMP *cpi);
25 extern void vp8_update_zbin_extra(struct VP8_COMP *cpi, struct macroblock *x);
26 extern void vp8cx_mb_init_quantizer(struct VP8_COMP *cpi, struct macroblock *x,
28 extern void vp8cx_init_quantizer(struct VP8_COMP *cpi);
H A Dvp8_quantize.c182 void vp8cx_init_quantizer(VP8_COMP *cpi) { argument
192 quant_val = vp8_dc_quant(Q, cpi->common.y1dc_delta_q);
193 cpi->Y1quant_fast[Q][0] = (1 << 16) / quant_val;
194 invert_quant(cpi->sf.improved_quant, cpi->Y1quant[Q] + 0,
195 cpi->Y1quant_shift[Q] + 0, quant_val);
196 cpi->Y1zbin[Q][0] = ((qzbin_factors[Q] * quant_val) + 64) >> 7;
197 cpi->Y1round[Q][0] = (qrounding_factors[Q] * quant_val) >> 7;
198 cpi->common.Y1dequant[Q][0] = quant_val;
199 cpi
290 vp8cx_mb_init_quantizer(VP8_COMP *cpi, MACROBLOCK *x, int ok_to_skip) argument
409 vp8_update_zbin_extra(VP8_COMP *cpi, MACROBLOCK *x) argument
432 vp8cx_frame_init_quantizer(VP8_COMP *cpi) argument
440 vp8_set_quantizer(struct VP8_COMP *cpi, int Q) argument
[all...]
H A Dencodeframe.h16 extern void vp8_activity_masking(VP8_COMP *cpi, MACROBLOCK *x);
22 extern void vp8_encode_frame(VP8_COMP *cpi);
24 extern int vp8cx_encode_inter_macroblock(VP8_COMP *cpi, MACROBLOCK *x,
29 extern int vp8cx_encode_intra_macroblock(VP8_COMP *cpi, MACROBLOCK *x,
H A Dencodeframe.c37 extern void vp8_stuff_mb(VP8_COMP *cpi, MACROBLOCK *x, TOKENEXTRA **t);
40 extern void vp8_convert_rfct_to_prob(VP8_COMP *const cpi);
41 extern void vp8cx_initialize_me_consts(VP8_COMP *cpi, int QIndex);
42 extern void vp8_auto_select_speed(VP8_COMP *cpi);
43 extern void vp8cx_init_mbrthread_data(VP8_COMP *cpi, MACROBLOCK *x,
45 static void adjust_act_zbin(VP8_COMP *cpi, MACROBLOCK *x);
75 static unsigned int tt_activity_measure(VP8_COMP *cpi, MACROBLOCK *x) { argument
78 (void)cpi;
97 static unsigned int alt_activity_measure(VP8_COMP *cpi, MACROBLOCK *x, argument
99 return vp8_encode_intra(cpi,
106 mb_activity_measure(VP8_COMP *cpi, MACROBLOCK *x, int mb_row, int mb_col) argument
127 calc_av_activity(VP8_COMP *cpi, int64_t activity_sum) argument
184 calc_activity_index(VP8_COMP *cpi, MACROBLOCK *x) argument
237 build_activity_map(VP8_COMP *cpi) argument
305 vp8_activity_masking(VP8_COMP *cpi, MACROBLOCK *x) argument
328 encode_mb_row(VP8_COMP *cpi, VP8_COMMON *cm, int mb_row, MACROBLOCK *x, MACROBLOCKD *xd, TOKENEXTRA **tp, int *segment_counts, int *totalrate) argument
579 init_encode_frame_mb_context(VP8_COMP *cpi) argument
670 vp8_encode_frame(VP8_COMP *cpi) argument
1030 sum_intra_stats(VP8_COMP *cpi, MACROBLOCK *x) argument
1061 adjust_act_zbin(VP8_COMP *cpi, MACROBLOCK *x) argument
1081 vp8cx_encode_intra_macroblock(VP8_COMP *cpi, MACROBLOCK *x, TOKENEXTRA **t) argument
1122 vp8cx_encode_inter_macroblock(VP8_COMP *cpi, MACROBLOCK *x, TOKENEXTRA **t, int recon_yoffset, int recon_uvoffset, int mb_row, int mb_col) argument
[all...]
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_bitstream.h34 int vp9_get_refresh_mask(VP9_COMP *cpi);
36 void vp9_bitstream_encode_tiles_buffer_dealloc(VP9_COMP *const cpi);
38 void vp9_pack_bitstream(VP9_COMP *cpi, uint8_t *dest, size_t *size);
40 static INLINE int vp9_preserve_existing_gf(VP9_COMP *cpi) { argument
41 return !cpi->multi_arf_allowed && cpi->refresh_golden_frame &&
42 cpi->rc.is_src_frame_alt_ref &&
43 (!cpi->use_svc || // Add spatial svc base layer case here
44 (is_two_pass_svc(cpi) && cpi
[all...]
H A Dvp9_svc_layercontext.c22 void vp9_init_layer_context(VP9_COMP *const cpi) { argument
23 SVC *const svc = &cpi->svc;
24 const VP9EncoderConfig *const oxcf = &cpi->oxcf;
25 int mi_rows = cpi->common.mi_rows;
26 int mi_cols = cpi->common.mi_cols;
49 if (cpi->oxcf.error_resilient_mode == 0 && cpi->oxcf.pass == 2) {
50 if (vpx_realloc_frame_buffer(&cpi->svc.empty_frame.img, SMALL_FRAME_WIDTH,
51 SMALL_FRAME_HEIGHT, cpi->common.subsampling_x,
52 cpi
147 vp9_update_layer_context_change_config(VP9_COMP *const cpi, const int target_bandwidth) argument
234 get_layer_context(VP9_COMP *const cpi) argument
245 vp9_update_temporal_layer_framerate(VP9_COMP *const cpi) argument
272 vp9_update_spatial_layer_framerate(VP9_COMP *const cpi, double framerate) argument
287 vp9_restore_layer_context(VP9_COMP *const cpi) argument
327 vp9_save_layer_context(VP9_COMP *const cpi) argument
354 vp9_init_second_pass_spatial_svc(VP9_COMP *cpi) argument
370 vp9_inc_frame_in_layer(VP9_COMP *const cpi) argument
380 vp9_is_upper_layer_key_frame(const VP9_COMP *const cpi) argument
410 set_flags_and_fb_idx_for_temporal_mode3(VP9_COMP *const cpi) argument
515 set_flags_and_fb_idx_for_temporal_mode2(VP9_COMP *const cpi) argument
571 set_flags_and_fb_idx_for_temporal_mode_noLayering( VP9_COMP *const cpi) argument
601 vp9_one_pass_cbr_svc_start_layer(VP9_COMP *const cpi) argument
689 vp9_svc_start_frame(VP9_COMP *const cpi) argument
800 vp9_svc_lookahead_pop(VP9_COMP *const cpi, struct lookahead_ctx *ctx, int drain) argument
816 vp9_free_svc_cyclic_refresh(VP9_COMP *const cpi) argument
832 vp9_svc_reset_key_frame(VP9_COMP *const cpi) argument
[all...]
H A Dvp9_alt_ref_aq.c37 struct VP9_COMP *const cpi) {
38 (void)cpi;
44 struct VP9_COMP *const cpi) {
45 (void)cpi;
49 // restore cpi->aq_mode
51 struct VP9_COMP *const cpi) {
52 (void)cpi;
36 vp9_alt_ref_aq_setup_mode(struct ALT_REF_AQ *const self, struct VP9_COMP *const cpi) argument
43 vp9_alt_ref_aq_setup_map(struct ALT_REF_AQ *const self, struct VP9_COMP *const cpi) argument
50 vp9_alt_ref_aq_unset_all(struct ALT_REF_AQ *const self, struct VP9_COMP *const cpi) argument
H A Dvp9_encoder.c97 static int is_spatial_denoise_enabled(VP9_COMP *cpi) { argument
98 VP9_COMMON *const cm = &cpi->common;
99 const VP9EncoderConfig *const oxcf = &cpi->oxcf;
101 return (oxcf->pass != 1) && !is_lossless_requested(&cpi->oxcf) &&
107 static int compute_context_model_thresh(const VP9_COMP *const cpi) { argument
108 const VP9_COMMON *const cm = &cpi->common;
109 const VP9EncoderConfig *const oxcf = &cpi->oxcf;
432 static int is_psnr_calc_enabled(VP9_COMP *cpi) { argument
433 VP9_COMMON *const cm = &cpi->common;
434 const VP9EncoderConfig *const oxcf = &cpi
498 suppress_active_map(VP9_COMP *cpi) argument
512 apply_active_map(VP9_COMP *cpi) argument
582 vp9_set_active_map(VP9_COMP *cpi, unsigned char *new_map_16x16, int rows, int cols) argument
609 vp9_get_active_map(VP9_COMP *cpi, unsigned char *new_map_16x16, int rows, int cols) argument
634 vp9_set_high_precision_mv(VP9_COMP *cpi, int allow_high_precision_mv) argument
646 setup_frame(VP9_COMP *cpi) argument
747 dealloc_compressor_data(VP9_COMP *cpi) argument
858 save_coding_context(VP9_COMP *cpi) argument
888 restore_coding_context(VP9_COMP *cpi) argument
914 configure_static_seg_features(VP9_COMP *cpi) argument
1038 update_reference_segmentation_map(VP9_COMP *cpi) argument
1054 alloc_raw_frame_buffers(VP9_COMP *cpi) argument
1081 alloc_util_frame_buffers(VP9_COMP *cpi) argument
1151 alloc_context_buffers_ext(VP9_COMP *cpi) argument
1161 alloc_compressor_data(VP9_COMP *cpi) argument
1186 vp9_new_framerate(VP9_COMP *cpi, double framerate) argument
1191 set_tile_limits(VP9_COMP *cpi) argument
1208 update_frame_size(VP9_COMP *cpi) argument
1234 init_buffer_indices(VP9_COMP *cpi) argument
1256 init_config(struct VP9_COMP *cpi, VP9EncoderConfig *oxcf) argument
1485 highbd_set_var_fns(VP9_COMP *const cpi) argument
1751 realloc_segmentation_maps(VP9_COMP *cpi) argument
1776 alloc_copy_partition_data(VP9_COMP *cpi) argument
1803 vp9_change_config(struct VP9_COMP *cpi, const VP9EncoderConfig *oxcf) argument
2007 VP9_COMP *volatile const cpi = vpx_memalign(32, sizeof(VP9_COMP)); local
2338 vp9_remove_compressor(VP9_COMP *cpi) argument
2503 generate_psnr_packet(VP9_COMP *cpi) argument
2529 vp9_use_as_reference(VP9_COMP *cpi, int ref_frame_flags) argument
2536 vp9_update_reference(VP9_COMP *cpi, int ref_frame_flags) argument
2543 get_vp9_ref_frame_buffer( VP9_COMP *cpi, VP9_REFFRAME ref_frame_flag) argument
2556 vp9_copy_reference_enc(VP9_COMP *cpi, VP9_REFFRAME ref_frame_flag, YV12_BUFFER_CONFIG *sd) argument
2567 vp9_set_reference_enc(VP9_COMP *cpi, VP9_REFFRAME ref_frame_flag, YV12_BUFFER_CONFIG *sd) argument
2578 vp9_update_entropy(VP9_COMP *cpi, int update) argument
2769 scale_down(VP9_COMP *cpi, int q) argument
2785 big_rate_miss(VP9_COMP *cpi, int high_limit, int low_limit) argument
2793 two_pass_first_group_inter(VP9_COMP *cpi) argument
2806 recode_loop_test(VP9_COMP *cpi, int high_limit, int low_limit, int q, int maxq, int minq) argument
2844 vp9_update_reference_frames(VP9_COMP *cpi) argument
2948 loopfilter_frame(VP9_COMP *cpi, VP9_COMMON *cm) argument
3008 vp9_scale_references(VP9_COMP *cpi) argument
3101 release_scaled_references(VP9_COMP *cpi) argument
3259 set_mv_search_params(VP9_COMP *cpi) argument
3284 set_size_independent_vars(VP9_COMP *cpi) argument
3291 set_size_dependent_vars(VP9_COMP *cpi, int *q, int *bottom_index, int *top_index) argument
3335 setup_denoiser_buffer(VP9_COMP *cpi) argument
3351 init_motion_estimation(VP9_COMP *cpi) argument
3361 set_frame_size(VP9_COMP *cpi) argument
3453 encode_without_recode_loop(VP9_COMP *cpi, size_t *size, uint8_t *dest) argument
3661 encode_with_recode_loop(VP9_COMP *cpi, size_t *size, uint8_t *dest) argument
4000 get_ref_frame_flags(const VP9_COMP *cpi) argument
4021 set_ext_overrides(VP9_COMP *cpi) argument
4094 set_arf_sign_bias(VP9_COMP *cpi) argument
4110 setup_interp_filter_search_mask(VP9_COMP *cpi) argument
4241 spatial_denoise_buffer(VP9_COMP *cpi, uint8_t *buffer, const int stride, const int width, const int height, const int strength) argument
4266 spatial_denoise_frame(VP9_COMP *cpi) argument
4291 vp9_try_disable_lookahead_aq(VP9_COMP *cpi, size_t *size, uint8_t *dest) argument
4315 encode_frame_to_data_rate(VP9_COMP *cpi, size_t *size, uint8_t *dest, unsigned int *frame_flags) argument
4579 SvcEncode(VP9_COMP *cpi, size_t *size, uint8_t *dest, unsigned int *frame_flags) argument
4585 Pass0Encode(VP9_COMP *cpi, size_t *size, uint8_t *dest, unsigned int *frame_flags) argument
4595 Pass2Encode(VP9_COMP *cpi, size_t *size, uint8_t *dest, unsigned int *frame_flags) argument
4614 check_initial_width(VP9_COMP *cpi, int use_highbitdepth, int subsampling_x, int subsampling_y) argument
4645 vp9_receive_raw_frame(VP9_COMP *cpi, vpx_enc_frame_flags_t frame_flags, YV12_BUFFER_CONFIG *sd, int64_t time_stamp, int64_t end_time) argument
4693 frame_is_reference(const VP9_COMP *cpi) argument
4702 adjust_frame_rate(VP9_COMP *cpi, const struct lookahead_entry *source) argument
4743 get_arf_src_index(VP9_COMP *cpi) argument
4759 check_src_altref(VP9_COMP *cpi, const struct lookahead_entry *source) argument
4798 level_rc_framerate(VP9_COMP *cpi, int arf_src_index) argument
4817 update_level_info(VP9_COMP *cpi, size_t *size, int arf_src_index) argument
5011 vp9_get_compressed_data(VP9_COMP *cpi, unsigned int *frame_flags, size_t *size, uint8_t *dest, int64_t *time_stamp, int64_t *time_end, int flush) argument
5486 vp9_get_preview_raw_frame(VP9_COMP *cpi, YV12_BUFFER_CONFIG *dest, vp9_ppflags_t *flags) argument
5516 vp9_set_internal_size(VP9_COMP *cpi, VPX_SCALING horiz_mode, VPX_SCALING vert_mode) argument
5539 vp9_set_size_literal(VP9_COMP *cpi, unsigned int width, unsigned int height) argument
5575 vp9_set_svc(VP9_COMP *cpi, int use_svc) argument
5580 vp9_get_quantizer(VP9_COMP *cpi) argument
5582 vp9_apply_encoding_flags(VP9_COMP *cpi, vpx_enc_frame_flags_t flags) argument
5615 vp9_set_row_mt(VP9_COMP *cpi) argument
[all...]
H A Dvp9_aq_complexity.h24 void vp9_caq_select_segment(struct VP9_COMP *cpi, struct macroblock *,
30 void vp9_setup_in_frame_q_adj(struct VP9_COMP *cpi);
H A Dvp9_temporal_filter.h21 void vp9_temporal_filter(VP9_COMP *cpi, int distance);
23 void vp9_temporal_filter_iterate_row_c(VP9_COMP *cpi, ThreadData *td,
H A Dvp9_aq_360.h21 void vp9_360aq_frame_setup(VP9_COMP *cpi);
H A Dvp9_multi_thread.h20 void vp9_prepare_job_queue(VP9_COMP *cpi, JOB_TYPE job_type);
28 void vp9_multi_thread_tile_init(VP9_COMP *cpi);
30 void vp9_row_mt_mem_alloc(VP9_COMP *cpi);
32 void vp9_row_mt_mem_dealloc(VP9_COMP *cpi);
H A Dvp9_aq_variance.h21 void vp9_vaq_frame_setup(VP9_COMP *cpi);
23 int vp9_block_energy(VP9_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bs);
24 double vp9_log_block_var(VP9_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bs);
H A Dvp9_noise_estimate.c42 static int enable_noise_estimation(VP9_COMP *const cpi) { argument
44 if (cpi->common.use_highbitdepth) return 0;
48 if (cpi->oxcf.noise_sensitivity > 0 && denoise_svc(cpi) &&
49 cpi->common.width >= 320 && cpi->common.height >= 180)
56 if (cpi->oxcf.pass == 0 && cpi->oxcf.rc_mode == VPX_CBR &&
57 cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ && cpi
99 vp9_update_noise_estimate(VP9_COMP *const cpi) argument
[all...]
H A Dvp9_encodeframe.h36 void vp9_encode_frame(struct VP9_COMP *cpi);
38 void vp9_init_tile_data(struct VP9_COMP *cpi);
39 void vp9_encode_tile(struct VP9_COMP *cpi, struct ThreadData *td, int tile_row,
42 void vp9_encode_sb_row(struct VP9_COMP *cpi, struct ThreadData *td,
45 void vp9_set_variance_partition_thresholds(struct VP9_COMP *cpi, int q,
H A Dvp9_ratectrl.c215 int vp9_rc_clamp_pframe_target_size(const VP9_COMP *const cpi, int target) { argument
216 const RATE_CONTROL *rc = &cpi->rc;
217 const VP9EncoderConfig *oxcf = &cpi->oxcf;
221 if (cpi->refresh_golden_frame && rc->is_src_frame_alt_ref) {
238 int vp9_rc_clamp_iframe_target_size(const VP9_COMP *const cpi, int target) { argument
239 const RATE_CONTROL *rc = &cpi->rc;
240 const VP9EncoderConfig *oxcf = &cpi->oxcf;
272 static void update_buffer_level(VP9_COMP *cpi, int encoded_frame_size) { argument
273 const VP9_COMMON *const cm = &cpi->common;
274 RATE_CONTROL *const rc = &cpi
391 vp9_rc_drop_frame(VP9_COMP *cpi) argument
428 get_rate_correction_factor(const VP9_COMP *cpi) argument
450 set_rate_correction_factor(VP9_COMP *cpi, double factor) argument
474 vp9_rc_update_rate_correction_factors(VP9_COMP *cpi) argument
547 vp9_rc_regulate_q(const VP9_COMP *cpi, int target_bits_per_frame, int active_best_quality, int active_worst_quality) argument
641 calc_active_worst_quality_one_pass_vbr(const VP9_COMP *cpi) argument
667 calc_active_worst_quality_one_pass_cbr(const VP9_COMP *cpi) argument
734 rc_pick_q_and_bounds_one_pass_cbr(const VP9_COMP *cpi, int *bottom_index, int *top_index) argument
881 rc_pick_q_and_bounds_one_pass_vbr(const VP9_COMP *cpi, int *bottom_index, int *top_index) argument
1043 vp9_frame_type_qdelta(const VP9_COMP *cpi, int rf_level, int q) argument
1062 rc_pick_q_and_bounds_two_pass(const VP9_COMP *cpi, int *bottom_index, int *top_index) argument
1245 vp9_rc_pick_q_and_bounds(const VP9_COMP *cpi, int *bottom_index, int *top_index) argument
1267 vp9_rc_compute_frame_size_bounds(const VP9_COMP *cpi, int frame_target, int *frame_under_shoot_limit, int *frame_over_shoot_limit) argument
1284 vp9_rc_set_frame_target(VP9_COMP *cpi, int target) argument
1301 update_alt_ref_frame_stats(VP9_COMP *cpi) argument
1313 update_golden_frame_stats(VP9_COMP *cpi) argument
1342 compute_frame_low_motion(VP9_COMP *const cpi) argument
1361 vp9_rc_postencode_update(VP9_COMP *cpi, uint64_t bytes_used) argument
1469 vp9_rc_postencode_update_drop_frame(VP9_COMP *cpi) argument
1478 calc_pframe_target_size_one_pass_vbr(const VP9_COMP *const cpi) argument
1491 calc_iframe_target_size_one_pass_vbr(const VP9_COMP *const cpi) argument
1498 adjust_gfint_frame_constraint(VP9_COMP *cpi, int frame_constraint) argument
1517 vp9_rc_get_one_pass_vbr_params(VP9_COMP *cpi) argument
1584 calc_pframe_target_size_one_pass_cbr(const VP9_COMP *cpi) argument
1633 calc_iframe_target_size_one_pass_cbr(const VP9_COMP *cpi) argument
1662 vp9_rc_get_svc_params(VP9_COMP *cpi) argument
1725 vp9_rc_get_one_pass_cbr_params(VP9_COMP *cpi) argument
1817 vp9_rc_set_gf_interval_range(const VP9_COMP *const cpi, RATE_CONTROL *const rc) argument
1853 vp9_rc_update_framerate(VP9_COMP *cpi) argument
1884 vbr_rate_correction(VP9_COMP *cpi, int *this_frame_target) argument
1927 vp9_set_target_rate(VP9_COMP *cpi) argument
1944 vp9_resize_one_pass_cbr(VP9_COMP *cpi) argument
2073 adjust_gf_boost_lag_one_pass_vbr(VP9_COMP *cpi, uint64_t avg_sad_current) argument
2218 vp9_scene_detection_onepass(VP9_COMP *cpi) argument
2363 vp9_encodedframe_overshoot(VP9_COMP *cpi, int frame_size, int *q) argument
[all...]
H A Dvp9_svc_layercontext.h103 void vp9_init_layer_context(struct VP9_COMP *const cpi);
106 void vp9_update_layer_context_change_config(struct VP9_COMP *const cpi,
111 void vp9_update_temporal_layer_framerate(struct VP9_COMP *const cpi);
114 void vp9_update_spatial_layer_framerate(struct VP9_COMP *const cpi,
118 // to be encoded, to the cpi struct.
119 void vp9_restore_layer_context(struct VP9_COMP *const cpi);
122 void vp9_save_layer_context(struct VP9_COMP *const cpi);
125 void vp9_init_second_pass_spatial_svc(struct VP9_COMP *cpi);
128 void vp9_inc_frame_in_layer(struct VP9_COMP *const cpi);
131 int vp9_is_upper_layer_key_frame(const struct VP9_COMP *const cpi);
[all...]
H A Dvp9_aq_cyclicrefresh.h83 int vp9_cyclic_refresh_estimate_bits_at_q(const struct VP9_COMP *cpi,
88 int vp9_cyclic_refresh_rc_bits_per_mb(const struct VP9_COMP *cpi, int i,
94 void vp9_cyclic_refresh_update_segment(struct VP9_COMP *const cpi,
100 void vp9_cyclic_refresh_update_sb_postencode(struct VP9_COMP *const cpi,
107 void vp9_cyclic_refresh_update__map(struct VP9_COMP *const cpi);
113 void vp9_cyclic_refresh_postencode(struct VP9_COMP *const cpi);
116 void vp9_cyclic_refresh_set_golden_update(struct VP9_COMP *const cpi);
119 void vp9_cyclic_refresh_update_parameters(struct VP9_COMP *const cpi);
122 void vp9_cyclic_refresh_setup(struct VP9_COMP *const cpi);
126 void vp9_cyclic_refresh_reset_resize(struct VP9_COMP *const cpi);
[all...]
/external/libvpx/libvpx/test/
H A Dset_roi.cc41 // Initialize elements of cpi with valid defaults.
42 VP8_COMP cpi; local
43 cpi.mb.e_mbd.mb_segement_abs_delta = SEGMENT_DELTADATA;
44 cpi.cyclic_refresh_mode_enabled = 0;
45 cpi.mb.e_mbd.segmentation_enabled = 0;
46 cpi.mb.e_mbd.update_mb_segmentation_map = 0;
47 cpi.mb.e_mbd.update_mb_segmentation_data = 0;
48 cpi.common.mb_rows = 240 >> 4;
49 cpi.common.mb_cols = 320 >> 4;
50 const int mbs = (cpi
[all...]

Completed in 651 milliseconds

12345