platform/upstream/libvpx.git
10 years agoSeperate the border size for encoder and decoder.
hkuang [Fri, 10 Jan 2014 21:10:39 +0000 (13:10 -0800)]
Seperate the border size for encoder and decoder.

Encoder's boarder is still 160, while decoder's boarder will be 32.
With on demand and separate boarder buffer for boarder extension.
The decoder's boarder does not need to to 160 anymore.

Change-Id: I93d5aaff15a33a2213e9761eaa37c5f2870747db

10 years agoMerge "Replacing macros with inline functions."
Dmitry Kovalev [Tue, 21 Jan 2014 18:17:29 +0000 (10:17 -0800)]
Merge "Replacing macros with inline functions."

10 years agoMerge "Moving vp8_multi_resolution_encoder to examples folder."
Dmitry Kovalev [Tue, 21 Jan 2014 18:16:22 +0000 (10:16 -0800)]
Merge "Moving vp8_multi_resolution_encoder to examples folder."

10 years agoMerge "Removing duplicated example file example_xma.c."
Dmitry Kovalev [Tue, 21 Jan 2014 18:15:59 +0000 (10:15 -0800)]
Merge "Removing duplicated example file example_xma.c."

10 years agoMerge "Deprecate best_mv from encoder"
Yaowu Xu [Tue, 21 Jan 2014 17:35:52 +0000 (09:35 -0800)]
Merge "Deprecate best_mv from encoder"

10 years agoMerge "Moving y4m encoding functions into separate files."
Dmitry Kovalev [Sat, 18 Jan 2014 07:59:21 +0000 (23:59 -0800)]
Merge "Moving y4m encoding functions into separate files."

10 years agoMerge "Cleaning up vp9_picklpf.c file."
Dmitry Kovalev [Sat, 18 Jan 2014 02:19:06 +0000 (18:19 -0800)]
Merge "Cleaning up vp9_picklpf.c file."

10 years agoDeprecate best_mv from encoder
Jingning Han [Sat, 18 Jan 2014 01:15:34 +0000 (17:15 -0800)]
Deprecate best_mv from encoder

This commit deprecates the use of best_mv from encoding and bit-stream
writing stages. It hence removes the definition from MACROBLOCKD.

Change-Id: I8e5302775a2aa4a18900726df407bff881f2dfb1

10 years agoMerge "Change the vp8 END_USAGE typedef"
Yaowu Xu [Sat, 18 Jan 2014 01:04:32 +0000 (17:04 -0800)]
Merge "Change the vp8 END_USAGE typedef"

10 years agoMoving y4m encoding functions into separate files.
Dmitry Kovalev [Sat, 18 Jan 2014 01:02:37 +0000 (17:02 -0800)]
Moving y4m encoding functions into separate files.

Change-Id: I03f614872167841515a74740d654c008b60104a4

10 years agoMoving vp8_multi_resolution_encoder to examples folder.
Dmitry Kovalev [Sat, 18 Jan 2014 00:56:04 +0000 (16:56 -0800)]
Moving vp8_multi_resolution_encoder to examples folder.

Change-Id: If0e1cd13aecd1620d26c28bf95e4f84469f78456

10 years agoRemoving duplicated example file example_xma.c.
Dmitry Kovalev [Sat, 18 Jan 2014 00:44:45 +0000 (16:44 -0800)]
Removing duplicated example file example_xma.c.

The same file is in examples folder now.

Change-Id: I0f541f4424a0f0a67abd95907cb9d32132112f37

10 years agoMerge "Use a temp buffer for reconstruction when reference buffer is out of boarder."
hkuang [Sat, 18 Jan 2014 00:17:36 +0000 (16:17 -0800)]
Merge "Use a temp buffer for reconstruction when reference buffer is out of boarder."

10 years agoUse a temp buffer for reconstruction when
hkuang [Mon, 13 Jan 2014 22:14:44 +0000 (14:14 -0800)]
Use a temp buffer for reconstruction when
reference buffer is out of boarder.

Change-Id: Ic7ad136e54a4d68abe0fd4345146a86b0ba824e1

10 years agoCleaning up vp9_picklpf.c file.
Dmitry Kovalev [Fri, 17 Jan 2014 03:28:02 +0000 (19:28 -0800)]
Cleaning up vp9_picklpf.c file.

Change-Id: Id54f317846f61a320cc5aeef47248e074376ee5d

10 years agoMerge "Fix output cropping in vp9_get_preview_raw_frame."
Alex Converse [Fri, 17 Jan 2014 23:49:06 +0000 (15:49 -0800)]
Merge "Fix output cropping in vp9_get_preview_raw_frame."

10 years agoMerge "Removing unused vp9_yv12_copy_partial_frame() function."
Dmitry Kovalev [Fri, 17 Jan 2014 23:43:02 +0000 (15:43 -0800)]
Merge "Removing unused vp9_yv12_copy_partial_frame() function."

10 years agoChange the vp8 END_USAGE typedef
Deb Mukherjee [Fri, 17 Jan 2014 23:39:49 +0000 (15:39 -0800)]
Change the vp8 END_USAGE typedef

Makes the END_USAGE typedef compatible with the vpxenc input

Change-Id: If784586fdb90a1e6f7badcb522ea9e93d4ddc030

10 years agoFix output cropping in vp9_get_preview_raw_frame.
Alex Converse [Fri, 17 Jan 2014 22:01:53 +0000 (14:01 -0800)]
Fix output cropping in vp9_get_preview_raw_frame.

Handle the non-420 case and set uv_width.

This is needed to get the correct colorspace information out of
vp9e_get_preview().

Change-Id: I62ce118cd7082708d812deb0843c1be87582e0fe

10 years agoMerge "Adding vpx_image_scale() function in vpxdec."
Dmitry Kovalev [Fri, 17 Jan 2014 20:56:58 +0000 (12:56 -0800)]
Merge "Adding vpx_image_scale() function in vpxdec."

10 years agoMerge "Cleaning up vp9_refining_search_8p_c() function."
Dmitry Kovalev [Fri, 17 Jan 2014 20:36:00 +0000 (12:36 -0800)]
Merge "Cleaning up vp9_refining_search_8p_c() function."

10 years agoAdding vpx_image_scale() function in vpxdec.
Dmitry Kovalev [Fri, 17 Jan 2014 20:19:19 +0000 (12:19 -0800)]
Adding vpx_image_scale() function in vpxdec.

Change-Id: I29eaffff5089b26e8778a977c3b3da11800f1c49

10 years agoMerge "Removing out_put() function from vpxdec.c."
Dmitry Kovalev [Fri, 17 Jan 2014 19:45:41 +0000 (11:45 -0800)]
Merge "Removing out_put() function from vpxdec.c."

10 years agoMerge "Rename pick_sb_modes to rd_pick_sb_modes"
Jingning Han [Fri, 17 Jan 2014 18:58:26 +0000 (10:58 -0800)]
Merge "Rename pick_sb_modes to rd_pick_sb_modes"

10 years agoMerge "Deprecate the use of best_mv in decoding process"
Jingning Han [Fri, 17 Jan 2014 18:58:00 +0000 (10:58 -0800)]
Merge "Deprecate the use of best_mv in decoding process"

10 years agoRemoving out_put() function from vpxdec.c.
Dmitry Kovalev [Fri, 17 Jan 2014 18:57:55 +0000 (10:57 -0800)]
Removing out_put() function from vpxdec.c.

Adding two new functions: update_image_md5() and write_image_file().

Change-Id: Ic3e7e6ef08e70fb15ab021c92127872f29bcad9b

10 years agoMerge "Add Y4mVideoSource to be used with 4:4:4 tests."
Alex Converse [Fri, 17 Jan 2014 18:23:15 +0000 (10:23 -0800)]
Merge "Add Y4mVideoSource to be used with 4:4:4 tests."

10 years agoMerge "Fix key frames for one pass."
Alex Converse [Fri, 17 Jan 2014 18:22:59 +0000 (10:22 -0800)]
Merge "Fix key frames for one pass."

10 years agoRemoving unused vp9_yv12_copy_partial_frame() function.
Dmitry Kovalev [Fri, 17 Jan 2014 02:16:34 +0000 (18:16 -0800)]
Removing unused vp9_yv12_copy_partial_frame() function.

Change-Id: I3149e562fe9500914f67b6f908283edcdc381ac6

10 years agoRename pick_sb_modes to rd_pick_sb_modes
Jingning Han [Thu, 16 Jan 2014 23:59:40 +0000 (15:59 -0800)]
Rename pick_sb_modes to rd_pick_sb_modes

Keep naming consistency for RD and non-RD mode decision functions,
respectively.

Change-Id: I904282b675fc511a46c13cb1f8287aa5d1c8ac94

10 years agoDeprecate the use of best_mv in decoding process
Jingning Han [Thu, 16 Jan 2014 02:33:09 +0000 (18:33 -0800)]
Deprecate the use of best_mv in decoding process

This commit removes the use of best_mv in the decoding process. This
variable can be replaced with nearest_mv. It saves a few cycles on
assigning the values for best_mv.

Change-Id: Ic183f9c1fb615c54efd7e6ccfedcf09d493435e4

10 years agoReplacing macros with inline functions.
Dmitry Kovalev [Fri, 17 Jan 2014 02:00:44 +0000 (18:00 -0800)]
Replacing macros with inline functions.

Change-Id: Ibde8fb45594cd259fc3281d7874de8fc877fd4f2

10 years agoRevert "Revert "Revert "SSSE3 convolution optimization"""
Yunqing Wang [Fri, 17 Jan 2014 00:09:31 +0000 (16:09 -0800)]
Revert "Revert "Revert "SSSE3 convolution optimization"""

This reverts commit f9404f240642222775a371acde8fc0721b3812df.

This patch caused some ASAN error.

Change-Id: If15b7e581310e19061d111c69f2931809662ed19

10 years agoCleaning up vp9_refining_search_8p_c() function.
Dmitry Kovalev [Fri, 17 Jan 2014 00:05:36 +0000 (16:05 -0800)]
Cleaning up vp9_refining_search_8p_c() function.

Change-Id: Icf3b3dd96d7e133a4ad7260cd95288f6217998a6

10 years agoAdd Y4mVideoSource to be used with 4:4:4 tests.
Alex Converse [Thu, 16 Jan 2014 23:17:41 +0000 (15:17 -0800)]
Add Y4mVideoSource to be used with 4:4:4 tests.

Change-Id: Ida3128e7e8a2ed333ac0b4ee92c23cb7dc1b7843

10 years agoMerge "Inter-frame non-RD mode decision"
Jingning Han [Thu, 16 Jan 2014 22:04:51 +0000 (14:04 -0800)]
Merge "Inter-frame non-RD mode decision"

10 years agoMerge "Adding VP9 support to decode_to_md5 example."
Dmitry Kovalev [Thu, 16 Jan 2014 21:39:20 +0000 (13:39 -0800)]
Merge "Adding VP9 support to decode_to_md5 example."

10 years agoFix key frames for one pass.
Alex Converse [Thu, 16 Jan 2014 19:38:45 +0000 (11:38 -0800)]
Fix key frames for one pass.

Set this_key_frame_forced flag and don't use kf_boost when not set.

Change-Id: Ibe66a82fa9219e60db358ddeb43d6471816c8b50

10 years agoInter-frame non-RD mode decision
Jingning Han [Fri, 10 Jan 2014 19:51:20 +0000 (11:51 -0800)]
Inter-frame non-RD mode decision

This commit setups a test framework for real-time coding. It enables
a light motion search for non-RD mode decision purpose.

Change-Id: I8bec656331539e963c2b685a70e43e0ae32a6e9d

10 years agoMerge "Fix printf formatting"
Adrian Grange [Thu, 16 Jan 2014 19:02:55 +0000 (11:02 -0800)]
Merge "Fix printf formatting"

10 years agoMerge "Add vp9_tm_predictor_4x4 neon implementation"
hkuang [Thu, 16 Jan 2014 18:18:12 +0000 (10:18 -0800)]
Merge "Add vp9_tm_predictor_4x4 neon implementation"

10 years agoMerge "don't dummy pack if we won't recode"
Jim Bankoski [Thu, 16 Jan 2014 16:21:03 +0000 (08:21 -0800)]
Merge "don't dummy pack if we won't recode"

10 years agoMerge "vpxenc: Warn on lagged encoding with real time."
Tom Finegan [Thu, 16 Jan 2014 01:42:39 +0000 (17:42 -0800)]
Merge "vpxenc: Warn on lagged encoding with real time."

10 years agoMerge "Cleaning up reatectrl.c file."
Dmitry Kovalev [Thu, 16 Jan 2014 00:26:09 +0000 (16:26 -0800)]
Merge "Cleaning up reatectrl.c file."

10 years agoMerge "Cleaning up postproc code."
Dmitry Kovalev [Thu, 16 Jan 2014 00:23:54 +0000 (16:23 -0800)]
Merge "Cleaning up postproc code."

10 years agoMerge "Cleaning up ivf-related code."
Dmitry Kovalev [Thu, 16 Jan 2014 00:04:11 +0000 (16:04 -0800)]
Merge "Cleaning up ivf-related code."

10 years agoMerge "Replacing cpi->rc with rc."
Dmitry Kovalev [Thu, 16 Jan 2014 00:04:05 +0000 (16:04 -0800)]
Merge "Replacing cpi->rc with rc."

10 years agodon't dummy pack if we won't recode
Jim Bankoski [Wed, 15 Jan 2014 23:30:13 +0000 (15:30 -0800)]
don't dummy pack if we won't recode

Avoid packing the bitstream 2 times unless we need to.  For me this
at speed -5 was a 2% speed up.

Change-Id: I32205c98f55eedd4ff031ed5fb498c84bdaa855d

10 years agoCleaning up ivf-related code.
Dmitry Kovalev [Wed, 15 Jan 2014 23:10:12 +0000 (15:10 -0800)]
Cleaning up ivf-related code.

Change-Id: I80f3e197562f3424acddbff786a5d0d209fbd666

10 years agoMerge "Revert "Revert "SSSE3 convolution optimization"""
Yaowu Xu [Wed, 15 Jan 2014 23:03:25 +0000 (15:03 -0800)]
Merge "Revert "Revert "SSSE3 convolution optimization"""

10 years agoMerge "Removing VP8_FOURCC_MASK & VP9_FOURCC_MASK."
Dmitry Kovalev [Wed, 15 Jan 2014 22:46:42 +0000 (14:46 -0800)]
Merge "Removing VP8_FOURCC_MASK & VP9_FOURCC_MASK."

10 years agoMerge "Add max burst bitrate control."
Yaowu Xu [Wed, 15 Jan 2014 22:40:59 +0000 (14:40 -0800)]
Merge "Add max burst bitrate control."

10 years agoAdding VP9 support to decode_to_md5 example.
Dmitry Kovalev [Wed, 15 Jan 2014 22:38:27 +0000 (14:38 -0800)]
Adding VP9 support to decode_to_md5 example.

This is still work in progress, there are many another planned updates
for all example files.

Change-Id: I2ba5dc6cd19a4bea9fbc6f1ee84cc2bd85925966

10 years agoMerge "vpxenc: remove some warnings w/--disable-(vp8|vp9)"
James Zern [Wed, 15 Jan 2014 22:21:22 +0000 (14:21 -0800)]
Merge "vpxenc: remove some warnings w/--disable-(vp8|vp9)"

10 years agoRemoving VP8_FOURCC_MASK & VP9_FOURCC_MASK.
Dmitry Kovalev [Wed, 15 Jan 2014 22:01:38 +0000 (14:01 -0800)]
Removing VP8_FOURCC_MASK & VP9_FOURCC_MASK.

There is no reason to have fourcc masks, everything just works without
them.

Change-Id: I1d48100e7b7d5ef55ec49a708ba6adcb9ab4ecd8

10 years agoMerge "Rearranges the END_USAGE typedef"
Deb Mukherjee [Wed, 15 Jan 2014 22:01:30 +0000 (14:01 -0800)]
Merge "Rearranges the END_USAGE typedef"

10 years agoMerge "Delete outdated comment & tidy-up others"
Adrian Grange [Wed, 15 Jan 2014 21:55:14 +0000 (13:55 -0800)]
Merge "Delete outdated comment & tidy-up others"

10 years agoMerge "calculate_modified_err() cleanup."
Dmitry Kovalev [Wed, 15 Jan 2014 20:56:32 +0000 (12:56 -0800)]
Merge "calculate_modified_err() cleanup."

10 years agoMerge "Removing VpxInputContext dependency from {ivf, raw}_read_frame()."
Dmitry Kovalev [Wed, 15 Jan 2014 20:56:05 +0000 (12:56 -0800)]
Merge "Removing VpxInputContext dependency from {ivf, raw}_read_frame()."

10 years agoReplacing cpi->rc with rc.
Dmitry Kovalev [Wed, 15 Jan 2014 20:46:18 +0000 (12:46 -0800)]
Replacing cpi->rc with rc.

Change-Id: I0fbb7615545861e26ebffe72bd44f3a0e8616df7

10 years agoMerge "Removing unused calc_partial_ssl_err() function."
Dmitry Kovalev [Wed, 15 Jan 2014 20:24:06 +0000 (12:24 -0800)]
Merge "Removing unused calc_partial_ssl_err() function."

10 years agocalculate_modified_err() cleanup.
Dmitry Kovalev [Wed, 15 Jan 2014 20:23:16 +0000 (12:23 -0800)]
calculate_modified_err() cleanup.

Change-Id: Ia24c9b1ff2d51dd9cb133722a041a615e1b8419f

10 years agoMerge "As you go mbmi->skip_coeff"
Jim Bankoski [Wed, 15 Jan 2014 20:20:14 +0000 (12:20 -0800)]
Merge "As you go mbmi->skip_coeff"

10 years agoMerge "Removing intra_mode_stats."
Dmitry Kovalev [Wed, 15 Jan 2014 20:16:50 +0000 (12:16 -0800)]
Merge "Removing intra_mode_stats."

10 years agoMerge "Removing pass number check from ivf_write_file_header()."
Dmitry Kovalev [Wed, 15 Jan 2014 20:15:48 +0000 (12:15 -0800)]
Merge "Removing pass number check from ivf_write_file_header()."

10 years agoAdd vp9_tm_predictor_4x4 neon implementation
hkuang [Fri, 10 Jan 2014 02:40:19 +0000 (18:40 -0800)]
Add vp9_tm_predictor_4x4 neon implementation

Change-Id: I10c423bde7ea5a3bac9f14f35c73b6bc31c8f3e3

10 years agoMerge "Save ~30% off tokenize_b"
Jim Bankoski [Wed, 15 Jan 2014 18:59:49 +0000 (10:59 -0800)]
Merge "Save ~30% off tokenize_b"

10 years agoRearranges the END_USAGE typedef
Deb Mukherjee [Wed, 15 Jan 2014 18:10:23 +0000 (10:10 -0800)]
Rearranges the END_USAGE typedef

Rearranges the END_USAGE typedef to make it compatible with the
vpx user input.

Change-Id: Ic9fa9e9edbee7c0ad01e12e685b219582fcecd16

10 years agoFix printf formatting
Adrian Grange [Wed, 15 Jan 2014 17:58:01 +0000 (09:58 -0800)]
Fix printf formatting

Change-Id: I37c5d6f4a0f09d48d3ee31eecdb68dfa11d30bd3

10 years agoDelete outdated comment & tidy-up others
Adrian Grange [Wed, 15 Jan 2014 17:53:03 +0000 (09:53 -0800)]
Delete outdated comment & tidy-up others

Change-Id: I83031180723ee59270ec8fb66b2f73c0796bee25

10 years agoMerge "Cleaning up vp9_rdopt.c."
Dmitry Kovalev [Wed, 15 Jan 2014 08:00:33 +0000 (00:00 -0800)]
Merge "Cleaning up vp9_rdopt.c."

10 years agovpxenc: remove some warnings w/--disable-(vp8|vp9)
James Zern [Wed, 15 Jan 2014 01:56:45 +0000 (17:56 -0800)]
vpxenc: remove some warnings w/--disable-(vp8|vp9)

group vp8/vp9 only options under CONFIG_*_ENCODER

Change-Id: I331bb154df019b398780be6451355de50657a33e

10 years agovpxenc: Warn on lagged encoding with real time.
Tom Finegan [Wed, 15 Jan 2014 02:04:35 +0000 (18:04 -0800)]
vpxenc: Warn on lagged encoding with real time.

Restore warning when attempting to use lagged encoding with real time mode.

Change-Id: I109026db64566906f288f42d2686084ae5c13500

10 years agoAs you go mbmi->skip_coeff
Jim Bankoski [Wed, 15 Jan 2014 01:58:25 +0000 (17:58 -0800)]
As you go mbmi->skip_coeff

Calculate the skip_coeff as part of the encode process, rather than
checking the eobs after the fact with another pass.

Change-Id: Ib41b139e96a97dee30e4b993b4cc53d86337128d

10 years agoFixing invalid block width/height calculation.
Dmitry Kovalev [Wed, 15 Jan 2014 01:53:32 +0000 (17:53 -0800)]
Fixing invalid block width/height calculation.

Change-Id: Ieaeb53902ce0ffd5b1b27a92583e98abfa791433

10 years agoCleaning up vp9_rdopt.c.
Dmitry Kovalev [Wed, 15 Jan 2014 01:46:14 +0000 (17:46 -0800)]
Cleaning up vp9_rdopt.c.

Change-Id: I5200bf68b43578eaadc4ea47b37f2633fa96d7bd

10 years agoCleaning up postproc code.
Dmitry Kovalev [Tue, 14 Jan 2014 23:49:19 +0000 (15:49 -0800)]
Cleaning up postproc code.

Change-Id: I7e53f6345a4cf89309262f50850c9ad08ed3c527

10 years agoSave ~30% off tokenize_b
Jim Bankoski [Tue, 14 Jan 2014 23:05:13 +0000 (15:05 -0800)]
Save ~30% off tokenize_b

Refactoring for speed in the same vein as detokenize_b...

Change-Id: I90779aa46e3b13c22ddce9a42b60e1920ad97142

10 years agoMerge "Making motion search code more compact."
Dmitry Kovalev [Tue, 14 Jan 2014 23:12:43 +0000 (15:12 -0800)]
Merge "Making motion search code more compact."

10 years agoMerge "Cleaning up md5 example."
Dmitry Kovalev [Tue, 14 Jan 2014 23:10:27 +0000 (15:10 -0800)]
Merge "Cleaning up md5 example."

10 years agoMerge "Removing unnecessary casts + cleanup."
Dmitry Kovalev [Tue, 14 Jan 2014 22:47:48 +0000 (14:47 -0800)]
Merge "Removing unnecessary casts + cleanup."

10 years agoMerge changes I8eda5762,Ia2ffca07
Dmitry Kovalev [Tue, 14 Jan 2014 22:46:07 +0000 (14:46 -0800)]
Merge changes I8eda5762,Ia2ffca07

* changes:
  Removing unused switchable_interp_count[] field from VP9_COMP.
  Using clamp() function instead of the same raw code.

10 years agoMerge "Removing unused error_bins[] field from VP9_COMP."
Dmitry Kovalev [Tue, 14 Jan 2014 22:45:17 +0000 (14:45 -0800)]
Merge "Removing unused error_bins[] field from VP9_COMP."

10 years agoMerge "Reusing get_frame_new_buffer() function."
Dmitry Kovalev [Tue, 14 Jan 2014 22:40:48 +0000 (14:40 -0800)]
Merge "Reusing get_frame_new_buffer() function."

10 years agoMerge "Cleaning up vp9_encodeframe.c."
Dmitry Kovalev [Tue, 14 Jan 2014 22:14:49 +0000 (14:14 -0800)]
Merge "Cleaning up vp9_encodeframe.c."

10 years agoMerge "Adding get_vp9_ref_frame_buffer() function."
Dmitry Kovalev [Tue, 14 Jan 2014 22:12:45 +0000 (14:12 -0800)]
Merge "Adding get_vp9_ref_frame_buffer() function."

10 years agoMerge "Converting int_mv to MV."
Dmitry Kovalev [Tue, 14 Jan 2014 22:11:49 +0000 (14:11 -0800)]
Merge "Converting int_mv to MV."

10 years agoMerge "Minor fix on an assert"
Deb Mukherjee [Tue, 14 Jan 2014 21:57:17 +0000 (13:57 -0800)]
Merge "Minor fix on an assert"

10 years agoMinor fix on an assert
Deb Mukherjee [Tue, 14 Jan 2014 20:44:10 +0000 (12:44 -0800)]
Minor fix on an assert

Fixes assert that fails occasionally on small values of
max-key frame intervals. Also, adds a small change on
updating frames_to_key for frame drops.

Change-Id: Icc2b33b25e3e4ced7e49f8db73e0a887ef9c99e0

10 years agoMerge "Change the strategy for deciding the display size"
Adrian Grange [Tue, 14 Jan 2014 15:52:37 +0000 (07:52 -0800)]
Merge "Change the strategy for deciding the display size"

10 years agoAdd max burst bitrate control.
Paul Wilkins [Fri, 10 Jan 2014 17:26:44 +0000 (17:26 +0000)]
Add max burst bitrate control.

Applies an upper limit on burst bitrate for any
frame. This is to insure that typical encodes for YT
do not produce frames that are so large that they
risk stalling HW implementations. Such frames
could also cause playback problems in SW.

For now the limit is set at 250 bits per MB for 1080P
and larger (with the 1080P limit used for smaller frames).

Setting maxQ, constant quality mode or targeting a
very high bandwidth will have precedence over this limit.

Change-Id: Ie6f776c38b06ac7cec043d034085f4b79ee46a38

10 years agoMerge "fix a div by zero issue"
Yaowu Xu [Tue, 14 Jan 2014 02:04:30 +0000 (18:04 -0800)]
Merge "fix a div by zero issue"

10 years agoRemoving unused error_bins[] field from VP9_COMP.
Dmitry Kovalev [Tue, 14 Jan 2014 00:33:16 +0000 (16:33 -0800)]
Removing unused error_bins[] field from VP9_COMP.

Change-Id: I883eb9026b44cb354d5b01c0f1d34ecd71f942e4

10 years agoRemoving unused switchable_interp_count[] field from VP9_COMP.
Dmitry Kovalev [Tue, 14 Jan 2014 00:30:40 +0000 (16:30 -0800)]
Removing unused switchable_interp_count[] field from VP9_COMP.

Change-Id: I8eda5762728d981ab7757388741b598c665c26ca

10 years agoUsing clamp() function instead of the same raw code.
Dmitry Kovalev [Tue, 14 Jan 2014 00:27:50 +0000 (16:27 -0800)]
Using clamp() function instead of the same raw code.

Change-Id: Ia2ffca072f5391b277ce1a0c4e5b4ece9ffc6831

10 years agoMaking motion search code more compact.
Dmitry Kovalev [Mon, 13 Jan 2014 23:24:06 +0000 (15:24 -0800)]
Making motion search code more compact.

Change-Id: I04d6a006eaf2676f2d8d1d96b87f69e081969382

10 years agoRemoving pass number check from ivf_write_file_header().
Dmitry Kovalev [Mon, 13 Jan 2014 23:21:48 +0000 (15:21 -0800)]
Removing pass number check from ivf_write_file_header().

Putting appropriate check to open_output_file() and close_output_file().
Before that the output file has been opened twice during two-pass encoding.

Change-Id: I290cecf00513d6a31ca3f45bc20fef7efcb10190

10 years agoReusing get_frame_new_buffer() function.
Dmitry Kovalev [Mon, 13 Jan 2014 22:04:56 +0000 (14:04 -0800)]
Reusing get_frame_new_buffer() function.

Change-Id: Iac5c5aeaef62a4095a60d91285d2c7ad717db0fb

10 years agoRemoving unnecessary casts + cleanup.
Dmitry Kovalev [Mon, 13 Jan 2014 21:04:05 +0000 (13:04 -0800)]
Removing unnecessary casts + cleanup.

Change-Id: I7298087426977e36b61ecf493949e9412842254c

10 years agoRevert "Revert "SSSE3 convolution optimization""
Yunqing Wang [Mon, 13 Jan 2014 19:58:47 +0000 (11:58 -0800)]
Revert "Revert "SSSE3 convolution optimization""

This reverts commit b645257121da20b422dbbebf02aae0fc6dff95d4.

Change-Id: I60d1bf57ae8e9eb6127f42f2d5a780124ac51b45