vpx/vp9/encoder
Gabriel Marin 0549f5aae9 Simplify address arithmetic in vp9_optimize_b
Simplify address arithmetic on token_costs to reduce the number of generated
instructions that are used for address arithmetic inside routine
vp9_optimize_b. It also helps improve instruction scheduling depending on
compiler and optimization level.

Measured a 9.3% reduction in retired instructions and 5.3% reduction in
execution time for this routine with GCC v4.8.4 and optimization flags -O3,
and a reduction of up to 11.6% in execution time with other compilers.

No change in behavior.

TEST=Verified that encoded files match bit for bit, with and without this
change.
BUG=b/33678225

Change-Id: I6098650fb5cd2aa04e014fe6e68ca20761f3a21f
2016-12-19 13:10:04 -08:00
..
arm/neon vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
mips/msa vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
x86 Update vp9_fdct8x8_quant_ssse3 for highbitdepth 2016-11-05 01:23:07 +00:00
vp9_alt_ref_aq.c Move vp9_alt_ref_aq_private.h to vp9_alt_ref_aq.c 2016-08-27 10:53:41 -07:00
vp9_alt_ref_aq.h vp9_alt_ref_aq_set_nsegments: harmonize fn signature 2016-08-27 11:16:03 -07:00
vp9_aq_360.c Add cpi parameter for forcing segmentation update 2016-08-08 13:20:42 -07:00
vp9_aq_360.h vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_aq_complexity.c Add cpi parameter for forcing segmentation update 2016-08-08 13:20:42 -07:00
vp9_aq_complexity.h vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_aq_cyclicrefresh.c vp9: Adjust the weight factor for segment rate cost for aq-mode=3. 2016-12-05 12:42:56 -08:00
vp9_aq_cyclicrefresh.h vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_aq_variance.c Casts to remove some warnings. 2016-09-01 16:10:12 +01:00
vp9_aq_variance.h vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_bitstream.c vp9_bitstream: Encode tiles in parallel 2016-10-21 17:35:03 -07:00
vp9_bitstream.h vp9_bitstream: Encode tiles in parallel 2016-10-21 17:35:03 -07:00
vp9_block.h Adjust coefficient optimization and tx_domain rd speed features. 2016-08-25 15:36:16 +01:00
vp9_blockiness.c vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_context_tree.c vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_context_tree.h vp9 denoiser: Bias to last reference for temporal filter. 2015-11-20 15:38:32 -08:00
vp9_cost.c vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_cost.h vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_dct.c vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_denoiser.c vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_denoiser.h vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_encodeframe.c vp9: Use more aggressive skip when short_circuit_low_temp_var = 1. 2016-11-22 14:54:28 -08:00
vp9_encodeframe.h vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_encodemb.c Simplify address arithmetic in vp9_optimize_b 2016-12-19 13:10:04 -08:00
vp9_encodemb.h vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_encodemv.c vp9_bitstream: Parameterize max_mv_magnitude 2016-10-12 12:50:17 -07:00
vp9_encodemv.h vp9_bitstream: Parameterize max_mv_magnitude 2016-10-12 12:50:17 -07:00
vp9_encoder.c Enable asymptotic closed-loop encoding decision 2016-11-14 09:22:55 -08:00
vp9_encoder.h Change 2 motion search counts to be tile data 2016-10-25 10:12:41 -07:00
vp9_ethread.c Change 2 motion search counts to be tile data 2016-10-25 10:12:41 -07:00
vp9_ethread.h vp9: add extern "C" to headers 2015-09-09 23:15:59 -07:00
vp9_extend.c vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_extend.h vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_firstpass.c Remove an unused first pass statistic 2016-12-07 15:32:25 -08:00
vp9_firstpass.h Remove an unused first pass statistic 2016-12-07 15:32:25 -08:00
vp9_lookahead.c vp9: normalize vpx_enc_frame_flags_t usage 2016-08-04 23:37:49 -07:00
vp9_lookahead.h vp9: normalize vpx_enc_frame_flags_t usage 2016-08-04 23:37:49 -07:00
vp9_mbgraph.c Refactor mv limits. 2016-08-08 11:54:00 -07:00
vp9_mbgraph.h vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_mcomp.c apply clang-format 2016-09-15 15:07:53 -07:00
vp9_mcomp.h Refactor mv limits. 2016-08-08 11:54:00 -07:00
vp9_noise_estimate.c vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_noise_estimate.h vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_picklpf.c vp9: Reduce frame loopfilter-level for 1 pass cbr. 2016-09-26 10:12:43 -07:00
vp9_picklpf.h vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_pickmode.c vp9: Change condition to enable recheck_zeromv_after_denoising. 2016-12-16 15:00:21 -08:00
vp9_pickmode.h vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_quantize.c vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_quantize.h Migrate quantization functions from vp9/ to vpx_dsp/ 2015-07-17 16:38:14 -07:00
vp9_ratectrl.c vp9: Fix to usage of flag USE_ALTREF_FOR_ONE_PASS 2016-12-14 15:07:38 -08:00
vp9_ratectrl.h 1 pass vbr: Allow for lookahead alt-ref in real-time mode. 2016-10-11 10:13:17 -07:00
vp9_rd.c vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_rd.h vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_rdopt.c Refactor uv tx size with lookup arrays 2016-08-31 13:15:38 -07:00
vp9_rdopt.h vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_resize.c vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_resize.h vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_segmentation.c vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_segmentation.h vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_skin_detection.c vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_skin_detection.h vp9: Improvement to skin detection. 2016-03-17 16:26:10 -07:00
vp9_speed_features.c Merge "Enable asymptotic closed-loop encoding decision" 2016-11-19 04:12:55 +00:00
vp9_speed_features.h vp9: Use more aggressive skip when short_circuit_low_temp_var = 1. 2016-11-22 14:54:28 -08:00
vp9_subexp.c vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_subexp.h vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_svc_layercontext.c vp9: Fix to crash in svc code. 2016-12-09 08:57:09 -08:00
vp9_svc_layercontext.h vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_temporal_filter.c Refactor mv limits. 2016-08-08 11:54:00 -07:00
vp9_temporal_filter.h vp9: correct some function signatures 2015-05-15 10:43:47 -07:00
vp9_tokenize.c apply clang-format 2016-09-15 15:07:53 -07:00
vp9_tokenize.h vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00
vp9_treewriter.c vpx_dsp/prob.h: vp9_ -> vpx_ 2015-07-20 18:13:04 -07:00
vp9_treewriter.h vp9/encoder: apply clang-format 2016-08-02 16:47:11 -07:00