Yaowu Xu
c58e1c7be9
Remove an unused variable
...
Change-Id: I8eeec70a7d4403243762f14d0b560792801645e8
2014-02-20 14:49:44 -08:00
Jingning Han
be4cf6bcdc
Merge "Rename vp8_cfg to vp9_cfg in vp9_cx_iface"
2014-02-20 14:29:41 -08:00
Jingning Han
65bcabbe8c
Merge "Use MI_BLOCK_SIZE in block coding loop"
2014-02-20 14:29:30 -08:00
Jingning Han
2aac18a4a6
Merge "Rework non-RD mode decision coding flow"
2014-02-20 14:28:57 -08:00
Yunqing Wang
cde6b50cb1
Merge "Use fast HEX search in real time mode"
2014-02-20 12:07:10 -08:00
Alex Converse
1d34991139
Merge "Only track mode_chosen_counts if CONFIG_INTERNAL_STATS."
2014-02-20 12:03:48 -08:00
Tom Finegan
595985334e
vp9_encodeframe.c: Silence rdmult assignment warning with a cast.
...
Cast result of round() to int.
Change-Id: Ib708fddfadde4c765001ce9723fda113fd0f4bf6
2014-02-20 12:01:47 -08:00
Tom Finegan
6224516235
Merge "vp9_vaq.c: Cast result of round() to int to silence warning caused by clamp() call."
2014-02-20 11:57:36 -08:00
Tom Finegan
15e95086e2
vp9_encodeframe.c: Silence totalrate assignment warning with a cast.
...
Cast result of round() to int.
Change-Id: I4982886ad4e7657b4c40d21bd850d31690a68c28
2014-02-20 11:53:11 -08:00
Marco Paniconi
fd402e1374
Condition alt-ref entropy context setting on svc.
...
Avoid special context setting for alt-ref in svc mode.
Change-Id: I5337d0739abe16aab7854bcaa3c8537191c4b60c
2014-02-20 09:55:29 -08:00
Paul Wilkins
bb61327b98
Merge "vp9_rdopt.c: Use int64_t for dist_sum and rate_sum in model_rd_for_sb()."
2014-02-20 02:03:49 -08:00
Alex Converse
657519192e
Only track mode_chosen_counts if CONFIG_INTERNAL_STATS.
...
Change-Id: Ia9252ad0caa4d2bda529a3fe93efcb31e7eb2da0
2014-02-19 18:52:04 -08:00
Jingning Han
aa7c495472
Rename vp8_cfg to vp9_cfg in vp9_cx_iface
...
This variable takes control parameters for vp9 encoder, hence
renamed vp9_cfg.
Change-Id: I9b253c41a06e44d97fe699f26005cd71e2eeb36c
2014-02-19 13:46:48 -08:00
Dmitry Kovalev
3ba5df4911
Merge "Adding is_mv_valid() function."
2014-02-19 13:39:21 -08:00
Alex Converse
43b7959dbc
Merge "Do not use the value of 'rate_mv' if uninitialized."
2014-02-19 12:41:14 -08:00
James Zern
10f2db2b1f
Merge "vp9: normalize DECLARE_ALIGNED use on global tables"
2014-02-19 11:38:47 -08:00
Jingning Han
93ba687499
Use MI_BLOCK_SIZE in block coding loop
...
Change-Id: Ia70057e11c9b3d9d4bea6fbdd08839334ed02dce
2014-02-19 11:17:12 -08:00
Jingning Han
b99ed1ec5a
Rework non-RD mode decision coding flow
...
In the first coding run of a 64x64 block, check the coding mode
for each 8x8 block. Will need a second annealing stage to decide
the partition size to be encoded.
Change-Id: Ida9417805ff3358979b0c0429d4099c023c88866
2014-02-19 11:13:05 -08:00
Dmitry Kovalev
69fd030dc8
Consistent names for reference_mode functions.
...
Change-Id: I48c9e5e4ca21e11740c750ca2eabf7e8a51c52d2
2014-02-19 15:33:59 +01:00
Dmitry Kovalev
d43c5cc5ea
Cleaning up vp9_mvref_common.{h, c}.
...
Hiding vp9_find_mv_refs_idx() inside vp9_mvref_common.c, moving definition
of vp9_find_mv_refs() to vp9_mvref_common.c.
Change-Id: I0c9f34b03648785a7d18edf6d4fddd34e55dfcc5
2014-02-19 14:23:51 +01:00
Paul Wilkins
98bf47df16
Merge "Remove comment from calls to vp9_clear_system_state."
2014-02-19 05:14:51 -08:00
Dmitry Kovalev
9b75f381cf
Adding is_mv_valid() function.
...
Change-Id: I9d036244b558765b252d8c6681b22721cb2e51bb
2014-02-19 13:57:18 +01:00
Dmitry Kovalev
a7f8624458
Cleaning up vp9_onyx_if.c.
...
Change-Id: I389790f1ad0dd40816a7ae1ddad4a5c46278cff3
2014-02-19 10:59:53 +01:00
Dmitry Kovalev
35bd886864
Merge "Cleaning up pack_inter_mode_mvs() function."
2014-02-19 01:04:36 -08:00
Dmitry Kovalev
4e06ee39b0
Merge "Removing unused tree_update_hist[] array."
2014-02-19 01:02:51 -08:00
Dmitry Kovalev
54164c0e07
Merge "Cleaning up vp9_encodemb.c."
2014-02-19 01:02:30 -08:00
James Zern
b78c219c80
vp9: normalize DECLARE_ALIGNED use on global tables
...
- place extern within the macro
- use in the header only
Change-Id: I4274b345d8af9ef329c0eb9553a3ddaad70d1d26
2014-02-18 22:57:43 -08:00
Tom Finegan
a0e495579e
vp9_rdopt.c: Use int64_t for dist_sum and rate_sum in model_rd_for_sb().
...
Removes unnecessary casts and silences warnings.
Change-Id: Ic516a909a2b3748831be6717f02d86ca60190af3
2014-02-18 22:31:11 -08:00
Yaowu Xu
f4ce20c530
Removed unnecessary type cast
...
Change-Id: I0f2d5155ec042e9b5cbe9a9d6b186b121ed7737f
2014-02-18 21:03:47 -08:00
James Zern
d12b39daab
vp9_subpel_variance_impl_intrin_avx2.c: make some tables static
...
+ fix formatting
Change-Id: I7b4ec11b7b46d8926750e0b69f7a606f3ab80895
2014-02-18 20:42:49 -08:00
James Zern
d73d621e5d
vp9_subpixel_8t_intrin_ssse3.c: make some tables static
...
+ fix formatting
Change-Id: I344d4de089d03e403f0c7b3e64aeb7086cce86ac
2014-02-18 20:42:00 -08:00
James Zern
a96af49bab
vp9_subpixel_8t_intrin_avx2.c: make some tables static
...
+ fix formatting
Change-Id: Ia62610bff3d63855104366d7860749b6a3cf4577
2014-02-18 20:40:40 -08:00
James Zern
26c8e720ca
Merge "vp9_filter: move table alignment decl's to header"
2014-02-18 20:15:33 -08:00
Tom Finegan
76c1896fda
vp9_vaq.c: Cast result of round() to int to silence warning caused by clamp() call.
...
clamp() wants an int, round returns a double, warning! Too bad we can't just use lrint.
Change-Id: I9c08289dde742fac0d673df8559a1892edcd1bc7
2014-02-18 18:26:42 -08:00
Alex Converse
2ceaf10e07
Do not use the value of 'rate_mv' if uninitialized.
...
This happens when exiting single_motion_search() early due to adaptive_motion_search.
Change-Id: Ic396e7e31e59ff219bb66a459c873c9e5b17400d
2014-02-18 17:04:42 -08:00
Adrian Grange
9b9c33a2b8
Remove comment from calls to vp9_clear_system_state.
...
Removed the comment "// __asm emms;" from all calls
to vp9_clear_system_state.
Change-Id: Ib4dae69c1cdf3f185b04184a870cd70c4d703f10
2014-02-18 15:43:42 -08:00
Jingning Han
e3178d0c1c
Merge "Enable sub-pixel motion search for rtc mode"
2014-02-18 14:52:13 -08:00
Jingning Han
f11a85127b
Merge "Initialize internal buffer pointers in rtc mode"
2014-02-18 14:51:38 -08:00
Yunqing Wang
360c80cfb9
Use fast HEX search in real time mode
...
In good quality mode motion search, the best matches are normally
found after searching in a large area. In real time mode, to make
encoding fast, a center-biased fast HEX search is used, which
converges quickly most of the time. A 4-point diamond search is
also carried out as the following refining search, which gives more
precise results, and maintains good motion search quality.
At speed 5, the borg test on rtc set showed an overall PSNR loss of
0.936%. The encoding speed gain is 4% - 5%.
Change-Id: I42cd68bb56a09ca1b86293c99d5f7312225ca7ae
2014-02-18 14:35:16 -08:00
Yunqing Wang
0cc71c9c9f
Merge "SSSE3 convolution optimization"
2014-02-18 12:55:34 -08:00
Yunqing Wang
ad8d4454f0
Merge "AVX2 SubPixel Variance Optimization"
2014-02-18 12:18:13 -08:00
Jingning Han
6478673933
Enable sub-pixel motion search for rtc mode
...
Run sub-pixel motion search when NEWMV gives lower rate-distortion
cost. This improves coding performance of derf set by 8%, std-hd by
2.2%.
Change-Id: Ife50f7fda8463927784fe59a41cc439c833e941a
2014-02-18 12:07:55 -08:00
Johann
201398c3cd
Merge "Replace vqshrun by vqmovun if shift #0 bit"
2014-02-17 20:53:12 -08:00
Yaowu Xu
671514ebee
Merge "vp9_onyx_if.c resolve vs warnings"
2014-02-17 08:37:25 -08:00
Adrian Grange
bed0be5b22
Merge "Change post- to pre-increment."
2014-02-17 07:27:32 -08:00
Dmitry Kovalev
35092585d8
Cleaning up vp9_refining_search_sad() function.
...
Change-Id: Ife6131d31882177953a22a69d25adc35940429ed
2014-02-17 14:51:58 +01:00
Dmitry Kovalev
36420009ea
Changing vp9_full_search_sad{, x3, x8} signatures.
...
Passing block MV pointer instead of block index into
vp9_full_search_sad{, x3, x8} functions.
Change-Id: Ica07356633471c2c8f81b583a7aeba85a436bafb
2014-02-17 14:24:57 +01:00
Dmitry Kovalev
f6fd5b2704
Using vp9_subtract_plane instead of vp9_subtract_{sb, sby, sbuv}.
...
Change-Id: I67a82a347245076b6c3b0bc41b587f9961a29943
2014-02-17 13:57:40 +01:00
Dmitry Kovalev
9141272235
Cleaning up vp9_encodemb.c.
...
Change-Id: Ia5b35494e4e18758f9f6c172526db83a87fdaa26
2014-02-17 12:34:02 +01:00
Jim Bankoski
6c5f6b306b
vp9_onyx_if.c resolve vs warnings
...
Change-Id: I02cc50648b62768e20d2f465b5ad09648b1abe93
2014-02-15 21:02:18 -08:00
James Zern
cca8a54cdd
Merge "A couple more V.S. warnings silenced."
2014-02-15 10:32:57 -08:00
James Zern
8092080216
vp9_filter: move table alignment decl's to header
...
avoids mismatched alignment warnings in visual studio builds
Change-Id: I2cedb8042fd47e708bde3f7168a6fb4bd9aaa569
2014-02-15 10:18:24 -08:00
Jim Bankoski
24025c0477
vp9_cx_iface vp9_dx_iface vpxdec vs warnings
...
Change-Id: I747982e7d1157a8b45f4034ddf207306f9f957e0
2014-02-15 09:14:02 -08:00
Tom Finegan
6a6c427710
vp9/encoder/vp9_onyx_if: Fix compute_qdelta_by_rate() warnings
...
- Rename and make static
s/vp9_compute_qdelta_by_rate/compute_qdelta_by_rate/
- Make base_q_index an integer.
- Add a cast.
Change-Id: Iea8d1397fd2717e7373b182ec51f5db960ef2cca
2014-02-14 21:14:33 -08:00
James Yu
e486488ce8
Replace vqshrun by vqmovun if shift #0 bit
...
Change-Id: Ifabb8c7ec0c327fea9d6739cab10addb060ff435
Signed-off-by: James Yu <james.yu@linaro.org>
2014-02-14 21:03:40 -08:00
Paul Wilkins
8618c70683
A couple more V.S. warnings silenced.
...
Change-Id: Ica1b583d69810182f621de757d2543b2a3b35566
2014-02-14 20:34:14 -08:00
Johann
4378503665
Merge "Remove redundant arm neon instructions."
2014-02-14 20:02:51 -08:00
Dmitry Kovalev
a6bd65080f
Removing unused tree_update_hist[] array.
...
Change-Id: If2e8e06c74d065323523904ff1771590fd48cabc
2014-02-14 17:22:34 -08:00
Adrian Grange
120f2144d2
Change post- to pre-increment.
...
Change-Id: I29e4d3a3c8cceb18825371bb78c83c0e7dd86e0f
2014-02-14 16:15:13 -08:00
Adrian Grange
d2095e0c6d
Merge "Cleanup some comments."
2014-02-14 16:14:58 -08:00
levytamar82
52dac5d1cb
AVX2 SubPixel Variance Optimization
...
Optimizing 2 functions to process 32 elements in parallel instead of 16:
1. vp9_sub_pixel_variance64x64
2. vp9_sub_pixel_variance32x32
both of those function were calling vp9_sub_pixel_variance16xh_ssse3
instead of calling that function, it calls vp9_sub_pixel_variance32xh_avx2
that is written in avx2 and process 32 elements in parallel.
This Optimization gave 70% function level gain and 2% user level gain
Change-Id: I4f5cb386b346ff6c878a094e1c3b37e418e50bde
2014-02-14 16:59:11 -07:00
Deb Mukherjee
0876302e4e
Merge "Make cpi->speed always positive"
2014-02-14 15:53:30 -08:00
Deb Mukherjee
5306eda9da
Merge "Enforce max-intra-pct in one-pass cbr mode"
2014-02-14 15:53:19 -08:00
Adrian Grange
b7be30eb36
Cleanup some comments.
...
Change-Id: I568861ba1d43620865ad9a98a97eef37a51fd856
2014-02-14 15:05:30 -08:00
Yaowu Xu
ecf392a155
Merge "minor spelling cleanup in comments"
2014-02-14 14:29:35 -08:00
Deb Mukherjee
56835f1bdd
Make cpi->speed always positive
...
Minor fix to ensure that positive and negative cpu_used
values produce the same output.
Change-Id: I9157d05cb9a7c0bd57a4d8a9f268205a825b9b0b
2014-02-14 14:28:58 -08:00
Deb Mukherjee
12ae6eaf21
Enforce max-intra-pct in one-pass cbr mode
...
This was inadvertently left out in a previous refactoring step.
Change-Id: Idf3350e95152f876a1a1a4591dd30c8981856c96
2014-02-14 14:27:02 -08:00
Jim Bankoski
323a7120b9
Merge "vp9_rdopt.c : Silence more V.S. compiler warnings."
2014-02-14 14:23:51 -08:00
Jim Bankoski
f25dec89b8
Merge "vp9_bitstream.c resolve warnings in vs"
2014-02-14 14:17:39 -08:00
Jim Bankoski
57704bff94
Merge "vp9_pickmode.c resolve vs issue"
2014-02-14 14:16:18 -08:00
Jim Bankoski
8dc39a7540
Merge "vp9_vaq.c resolve vs warnings"
2014-02-14 14:15:38 -08:00
levytamar82
3068d7d944
SSSE3 convolution optimization
...
Optimizing all SSSE3 assembly for convolution:
1. vp9_filter_block1d4_h8_sse2
2. vp9_filter_block1d8_h8_sse2
3. vp9_filter_block1d16_h8_sse2
4. vp9_filter_block1d4_v8_sse2
5. vp9_filter_block1d8_v8_sse2
6. vp9_filter_block1d16_v8_sse2
my optimization include:
-processing 2x8 elements in one 128 bit register instead of processing
8 elements in one 128 bit register.
-removing unecessary loads.
This optimization gives between 2.4% user level gain for 480p input
and 1.6% user level gain for 720p.
This Optimization is done only for 64 bit
Change-Id: Ic07fce2f9360329b4f2d956efda1480ae958766b
2014-02-14 15:08:42 -07:00
Paul Wilkins
40e374bbae
vp9_rdopt.c : Silence more V.S. compiler warnings.
...
Change-Id: I151c6c9396b8ea1ce2e05b80359f60f0d38af138
2014-02-14 11:28:37 -08:00
Jim Bankoski
00717e804c
vp9_bitstream.c resolve warnings in vs
...
Change-Id: I65677b7822204dc7344c67b8080e90633afc13dc
2014-02-14 11:19:39 -08:00
Jim Bankoski
524bac612a
vp9_pickmode.c resolve vs issue
...
Change-Id: Ibe4276fa9ffeb2ef30871d6db8ac75c4648f1e58
2014-02-14 11:19:31 -08:00
Jim Bankoski
a60b76bd09
vp9_vaq.c resolve vs warnings
...
Change-Id: I8f1107a33f0ec51010fb00eae3d28ee8b4d748c2
2014-02-14 11:18:59 -08:00
Alex Converse
bb07de7cce
Remove some unused and non-persistant variables from VP9_COMP.
...
Change-Id: I4deb1b97eec6b1244e3460a1162b41fa5312654a
2014-02-14 10:17:31 -08:00
Jim Bankoski
80ccb45c9e
Merge "vp9_ratectrl - convert buffers to int64 to avoid casting"
2014-02-14 09:42:21 -08:00
Jim Bankoski
e63b78a4bb
Merge "vp9_write_bit_buffer.h add consts to suppress warnings in vs"
2014-02-14 09:42:12 -08:00
Jim Bankoski
cd6b9936a6
Merge "vp9_ratectrl.h resolve visual studio warnings"
2014-02-14 09:09:16 -08:00
Jim Bankoski
5cc0de90d2
Merge "vp9_onyx_int.h resolve visual studio warning errors"
2014-02-14 09:09:06 -08:00
Jim Bankoski
5750f78d61
Merge "fast approximate model_rd_from_var_lapndz"
2014-02-14 09:08:52 -08:00
Jim Bankoski
e727bcf7ce
Merge "vp9_mcomp.c visual studio warnings resolved"
2014-02-14 09:08:34 -08:00
Jim Bankoski
0c7fbe0057
Merge "vp9_firstpass.c visual studio warnings addressed"
2014-02-14 09:08:27 -08:00
Jim Bankoski
fb4f10a26e
vp9_ratectrl - convert buffers to int64 to avoid casting
...
Change-Id: Ifd6b2d36d91237b5f38853a3a8a529d8be38ba09
2014-02-14 07:36:47 -08:00
Jim Bankoski
0abb06571b
vp9_write_bit_buffer.h add consts to suppress warnings in vs
...
Change-Id: Iacda473090ae84c798f1d93df8284f34bdf646a5
2014-02-14 07:30:33 -08:00
Jim Bankoski
e5dda3b677
vp9_ratectrl.h resolve visual studio warnings
...
Change-Id: If3a2edd744eb76337fa78f34d0e059cda2c6da54
2014-02-14 06:36:44 -08:00
Jim Bankoski
27f4b14c65
vp9_onyx_int.h resolve visual studio warning errors
...
Change-Id: Iec8a51bdea6d6c916051d3bc5bbc6d00754d0cc8
2014-02-14 06:36:29 -08:00
Jim Bankoski
6025ec7901
vp9_mcomp.c visual studio warnings resolved
...
Change-Id: I7546cc8db4decbcd094ad76c64385b97666331b0
2014-02-14 06:35:36 -08:00
Jim Bankoski
bf5f2e7f90
vp9_firstpass.c visual studio warnings addressed
...
Change-Id: I6fe9ec50f937b12fd9c9321465270e289dbbc59d
2014-02-14 06:10:36 -08:00
Dmitry Kovalev
e9cefd1b20
Cleanup: removing "ptr" suffix from var names.
...
Change-Id: If8e340dd6823323025a12f851e78fffdbcaaf6f8
2014-02-13 19:23:24 -08:00
Dmitry Kovalev
19a8eee1f0
Cleaning up pack_inter_mode_mvs() function.
...
Change-Id: I48ad06e3e1ae9720a0683022621f4504e3bebce6
2014-02-13 19:21:10 -08:00
Dmitry Kovalev
bdd8966439
Merge "Removing reference to non-existing context_counters array."
2014-02-13 17:35:19 -08:00
Yaowu Xu
8d646becb6
Merge "Removed the reset of mode_info from previous frame"
2014-02-13 17:03:50 -08:00
Alex Converse
27f809db91
Merge "Disable using golden frame modes if golden frames are not being used"
2014-02-13 16:39:32 -08:00
Frank Galligan
fb8c246b70
Merge "Add VP9 decoder support for external frame buffers"
2014-02-13 15:29:52 -08:00
Marco Paniconi
e590e087d5
Fix target frame size setting, for 1pass cbr.
...
Only use layered average size if number_temporal_layers > 1.
Also removed unneeded commented-out line, and change some parameter
setting in vpx_temporal_scalable_patterns.c
Change-Id: Ic86e43e7daf0313e8c5a4aba1497299158111955
2014-02-13 15:21:09 -08:00
Dmitry Kovalev
40af118a41
Removing reference to non-existing context_counters array.
...
Change-Id: I84668fa7b9487102e9bde5aea10f5f42efcd042c
2014-02-13 15:08:07 -08:00
Alex Converse
edec808787
Disable using golden frame modes if golden frames are not being used
...
Change-Id: I662c480ad49a242e10f1edb0c339ddbe2c6bccf4
2014-02-13 13:38:59 -08:00
Frank Galligan
a4f30a5023
Add VP9 decoder support for external frame buffers
...
Added support for external frame buffers to libvpx's VP9 decoder.
If the external frame buffer functions are set then libvpx will
call the get function whenever it needs a new frame buffer to
decode a frame into. And it will call the release function
whenever there are no more references to that buffer.
Change-Id: Id2934d005f606af6e052fb6db0d5b7c02f567522
2014-02-13 13:14:19 -08:00