Tom Finegan [Wed, 19 Feb 2014 02:26:42 +0000 (18:26 -0800)]
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
Jingning Han [Tue, 18 Feb 2014 22:52:13 +0000 (14:52 -0800)]
Merge "Enable sub-pixel motion search for rtc mode"
Jingning Han [Tue, 18 Feb 2014 22:51:38 +0000 (14:51 -0800)]
Merge "Initialize internal buffer pointers in rtc mode"
Yunqing Wang [Tue, 18 Feb 2014 20:55:34 +0000 (12:55 -0800)]
Merge "SSSE3 convolution optimization"
Yunqing Wang [Tue, 18 Feb 2014 20:18:13 +0000 (12:18 -0800)]
Merge "AVX2 SubPixel Variance Optimization"
Jingning Han [Fri, 14 Feb 2014 22:41:47 +0000 (14:41 -0800)]
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
Johann [Tue, 18 Feb 2014 04:53:12 +0000 (20:53 -0800)]
Merge "Replace vqshrun by vqmovun if shift #0 bit"
Yaowu Xu [Mon, 17 Feb 2014 16:37:25 +0000 (08:37 -0800)]
Merge "vp9_onyx_if.c resolve vs warnings"
Adrian Grange [Mon, 17 Feb 2014 15:27:32 +0000 (07:27 -0800)]
Merge "Change post- to pre-increment."
Jim Bankoski [Fri, 14 Feb 2014 15:23:58 +0000 (07:23 -0800)]
vp9_onyx_if.c resolve vs warnings
Change-Id: I02cc50648b62768e20d2f465b5ad09648b1abe93
James Zern [Sat, 15 Feb 2014 18:32:57 +0000 (10:32 -0800)]
Merge "A couple more V.S. warnings silenced."
Jim Bankoski [Fri, 14 Feb 2014 15:27:10 +0000 (07:27 -0800)]
vp9_cx_iface vp9_dx_iface vpxdec vs warnings
Change-Id: I747982e7d1157a8b45f4034ddf207306f9f957e0
Tom Finegan [Thu, 13 Feb 2014 20:28:56 +0000 (12:28 -0800)]
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
James Yu [Mon, 10 Feb 2014 14:08:46 +0000 (22:08 +0800)]
Replace vqshrun by vqmovun if shift #0 bit
Change-Id: Ifabb8c7ec0c327fea9d6739cab10addb060ff435
Signed-off-by: James Yu <james.yu@linaro.org>
Paul Wilkins [Thu, 13 Feb 2014 18:28:04 +0000 (18:28 +0000)]
A couple more V.S. warnings silenced.
Change-Id: Ica1b583d69810182f621de757d2543b2a3b35566
Johann [Sat, 15 Feb 2014 04:02:51 +0000 (20:02 -0800)]
Merge "Remove redundant arm neon instructions."
Adrian Grange [Fri, 14 Feb 2014 17:18:42 +0000 (09:18 -0800)]
Change post- to pre-increment.
Change-Id: I29e4d3a3c8cceb18825371bb78c83c0e7dd86e0f
Adrian Grange [Sat, 15 Feb 2014 00:14:58 +0000 (16:14 -0800)]
Merge "Cleanup some comments."
levytamar82 [Tue, 4 Feb 2014 01:40:33 +0000 (18:40 -0700)]
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
Deb Mukherjee [Fri, 14 Feb 2014 23:53:30 +0000 (15:53 -0800)]
Merge "Make cpi->speed always positive"
Deb Mukherjee [Fri, 14 Feb 2014 23:53:19 +0000 (15:53 -0800)]
Merge "Enforce max-intra-pct in one-pass cbr mode"
Adrian Grange [Thu, 13 Feb 2014 17:40:45 +0000 (09:40 -0800)]
Cleanup some comments.
Change-Id: I568861ba1d43620865ad9a98a97eef37a51fd856
Yaowu Xu [Fri, 14 Feb 2014 22:29:35 +0000 (14:29 -0800)]
Merge "minor spelling cleanup in comments"
Deb Mukherjee [Fri, 14 Feb 2014 19:15:29 +0000 (11:15 -0800)]
Make cpi->speed always positive
Minor fix to ensure that positive and negative cpu_used
values produce the same output.
Change-Id: I9157d05cb9a7c0bd57a4d8a9f268205a825b9b0b
Deb Mukherjee [Fri, 14 Feb 2014 18:12:38 +0000 (10:12 -0800)]
Enforce max-intra-pct in one-pass cbr mode
This was inadvertently left out in a previous refactoring step.
Change-Id: Idf3350e95152f876a1a1a4591dd30c8981856c96
Jim Bankoski [Fri, 14 Feb 2014 22:23:51 +0000 (14:23 -0800)]
Merge "vp9_rdopt.c : Silence more V.S. compiler warnings."
Jim Bankoski [Fri, 14 Feb 2014 22:17:39 +0000 (14:17 -0800)]
Merge "vp9_bitstream.c resolve warnings in vs"
Jim Bankoski [Fri, 14 Feb 2014 22:16:18 +0000 (14:16 -0800)]
Merge "vp9_pickmode.c resolve vs issue"
Jim Bankoski [Fri, 14 Feb 2014 22:15:38 +0000 (14:15 -0800)]
Merge "vp9_vaq.c resolve vs warnings"
levytamar82 [Thu, 21 Nov 2013 22:49:29 +0000 (15:49 -0700)]
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
Paul Wilkins [Thu, 13 Feb 2014 16:04:39 +0000 (16:04 +0000)]
vp9_rdopt.c : Silence more V.S. compiler warnings.
Change-Id: I151c6c9396b8ea1ce2e05b80359f60f0d38af138
Jim Bankoski [Fri, 14 Feb 2014 15:20:08 +0000 (07:20 -0800)]
vp9_bitstream.c resolve warnings in vs
Change-Id: I65677b7822204dc7344c67b8080e90633afc13dc
Jim Bankoski [Fri, 14 Feb 2014 15:16:31 +0000 (07:16 -0800)]
vp9_pickmode.c resolve vs issue
Change-Id: Ibe4276fa9ffeb2ef30871d6db8ac75c4648f1e58
Jim Bankoski [Fri, 14 Feb 2014 15:14:20 +0000 (07:14 -0800)]
vp9_vaq.c resolve vs warnings
Change-Id: I8f1107a33f0ec51010fb00eae3d28ee8b4d748c2
Alex Converse [Fri, 14 Feb 2014 18:17:31 +0000 (10:17 -0800)]
Remove some unused and non-persistant variables from VP9_COMP.
Change-Id: I4deb1b97eec6b1244e3460a1162b41fa5312654a
Jim Bankoski [Fri, 14 Feb 2014 17:42:21 +0000 (09:42 -0800)]
Merge "vp9_ratectrl - convert buffers to int64 to avoid casting"
Jim Bankoski [Fri, 14 Feb 2014 17:42:12 +0000 (09:42 -0800)]
Merge "vp9_write_bit_buffer.h add consts to suppress warnings in vs"
Deb Mukherjee [Fri, 14 Feb 2014 17:27:01 +0000 (09:27 -0800)]
Merge "In realtime mode enforce one pass with 0 lag"
Jim Bankoski [Fri, 14 Feb 2014 17:09:16 +0000 (09:09 -0800)]
Merge "vp9_ratectrl.h resolve visual studio warnings"
Jim Bankoski [Fri, 14 Feb 2014 17:09:06 +0000 (09:09 -0800)]
Merge "vp9_onyx_int.h resolve visual studio warning errors"
Jim Bankoski [Fri, 14 Feb 2014 17:08:52 +0000 (09:08 -0800)]
Merge "fast approximate model_rd_from_var_lapndz"
Jim Bankoski [Fri, 14 Feb 2014 17:08:34 +0000 (09:08 -0800)]
Merge "vp9_mcomp.c visual studio warnings resolved"
Jim Bankoski [Fri, 14 Feb 2014 17:08:27 +0000 (09:08 -0800)]
Merge "vp9_firstpass.c visual studio warnings addressed"
Jim Bankoski [Fri, 14 Feb 2014 15:12:38 +0000 (07:12 -0800)]
vp9_ratectrl - convert buffers to int64 to avoid casting
Change-Id: Ifd6b2d36d91237b5f38853a3a8a529d8be38ba09
Jim Bankoski [Fri, 14 Feb 2014 15:10:23 +0000 (07:10 -0800)]
vp9_write_bit_buffer.h add consts to suppress warnings in vs
Change-Id: Iacda473090ae84c798f1d93df8284f34bdf646a5
Jim Bankoski [Thu, 13 Feb 2014 22:09:55 +0000 (14:09 -0800)]
vp9_ratectrl.h resolve visual studio warnings
Change-Id: If3a2edd744eb76337fa78f34d0e059cda2c6da54
Jim Bankoski [Thu, 13 Feb 2014 22:08:38 +0000 (14:08 -0800)]
vp9_onyx_int.h resolve visual studio warning errors
Change-Id: Iec8a51bdea6d6c916051d3bc5bbc6d00754d0cc8
Jim Bankoski [Thu, 13 Feb 2014 21:55:18 +0000 (13:55 -0800)]
vp9_mcomp.c visual studio warnings resolved
Change-Id: I7546cc8db4decbcd094ad76c64385b97666331b0
Jim Bankoski [Thu, 13 Feb 2014 21:03:44 +0000 (13:03 -0800)]
vp9_firstpass.c visual studio warnings addressed
Change-Id: I6fe9ec50f937b12fd9c9321465270e289dbbc59d
Dmitry Kovalev [Fri, 14 Feb 2014 07:58:25 +0000 (23:58 -0800)]
Merge "Cleanup: removing "ptr" suffix from var names."
James Zern [Tue, 11 Feb 2014 04:08:28 +0000 (20:08 -0800)]
cosmetics: yv12config.h: remove extra indent
+ remove commented out fields from YV12_BUFFER_CONFIG
Change-Id: Ie4f25df9ccae07e7b8fd31599cb4164949cf6f8f
Dmitry Kovalev [Fri, 14 Feb 2014 01:40:10 +0000 (17:40 -0800)]
Cleanup: removing "ptr" suffix from var names.
Change-Id: If8e340dd6823323025a12f851e78fffdbcaaf6f8
Yaowu Xu [Fri, 14 Feb 2014 03:03:13 +0000 (19:03 -0800)]
Merge "Fix build error caused by a merge conflict."
Dmitry Kovalev [Fri, 14 Feb 2014 01:35:19 +0000 (17:35 -0800)]
Merge "Removing reference to non-existing context_counters array."
Alex Converse [Fri, 14 Feb 2014 01:02:50 +0000 (17:02 -0800)]
Fix build error caused by a merge conflict.
Commit
70d9664f removed 'int i' required by
a4f30a50.
Change-Id: I4e7e14e9e8532f753e43a57b5bba4589d58e0c32
Yaowu Xu [Fri, 14 Feb 2014 01:03:50 +0000 (17:03 -0800)]
Merge "Removed the reset of mode_info from previous frame"
Alex Converse [Fri, 14 Feb 2014 00:39:32 +0000 (16:39 -0800)]
Merge "Disable using golden frame modes if golden frames are not being used"
Deb Mukherjee [Thu, 13 Feb 2014 23:34:42 +0000 (15:34 -0800)]
In realtime mode enforce one pass with 0 lag
vpxenc level changes to enforce one pass encoding with 0
lag_in_frames when --rt mode is on.
Change-Id: I3e71719e87c9f66566cb4d944cf5705904f9a5b8
Dmitry Kovalev [Fri, 14 Feb 2014 00:23:10 +0000 (16:23 -0800)]
Merge "Adapting vp8_set_maps.c example to use new APIs."
Dmitry Kovalev [Thu, 13 Feb 2014 23:46:16 +0000 (15:46 -0800)]
Merge "Calling vpx_img_read() from vp9_spatial_scalable_encoder."
Frank Galligan [Thu, 13 Feb 2014 23:29:52 +0000 (15:29 -0800)]
Merge "Add VP9 decoder support for external frame buffers"
Marco Paniconi [Thu, 13 Feb 2014 22:02:15 +0000 (14:02 -0800)]
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
Dmitry Kovalev [Thu, 13 Feb 2014 23:08:07 +0000 (15:08 -0800)]
Removing reference to non-existing context_counters array.
Change-Id: I84668fa7b9487102e9bde5aea10f5f42efcd042c
Dmitry Kovalev [Thu, 13 Feb 2014 22:18:05 +0000 (14:18 -0800)]
Adapting vp8_set_maps.c example to use new APIs.
Change-Id: Id6e6b5a96c907261abe4348624241b4568707c1d
Dmitry Kovalev [Thu, 13 Feb 2014 21:58:49 +0000 (13:58 -0800)]
Merge "Calling vpx_img_read() from vpx_temporal_scalable_patterns."
Dmitry Kovalev [Thu, 13 Feb 2014 21:58:19 +0000 (13:58 -0800)]
Merge "Adding explicit casts in yv12config.c."
Dmitry Kovalev [Thu, 13 Feb 2014 21:56:45 +0000 (13:56 -0800)]
Calling vpx_img_read() from vp9_spatial_scalable_encoder.
Change-Id: I18ce84eb50283a05e149ff8211d9dc424d379b4d
Alex Converse [Mon, 10 Feb 2014 22:56:41 +0000 (14:56 -0800)]
Disable using golden frame modes if golden frames are not being used
Change-Id: I662c480ad49a242e10f1edb0c339ddbe2c6bccf4
Frank Galligan [Fri, 7 Feb 2014 01:13:08 +0000 (17:13 -0800)]
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
Dmitry Kovalev [Thu, 13 Feb 2014 20:55:10 +0000 (12:55 -0800)]
Merge "Using MV instead of int_mv inside vp9_full_pixel_diamond()."
James Zern [Thu, 13 Feb 2014 20:51:36 +0000 (12:51 -0800)]
Merge "vp9/vp9_cx_iface: Silence ts_number_layers MSVC warnings"
Yaowu Xu [Wed, 12 Feb 2014 19:04:58 +0000 (11:04 -0800)]
Removed the reset of mode_info from previous frame
Prior to this commit, both encoder and decoder reset mode/mv info from
previous frame in error resilient mode to ensure bitstreams are able to
decode when there is loss of frame in decoder side. However, this is
not necessary. This commit changed to remove the reset, so encoder can
continue to use mode/mv/partition information from previously encoded
frame without affecting decodeablilty under loss of frame.
Change-Id: I0279f862900dc647fb471ae3389770bb1b9f454f
Jingning Han [Thu, 13 Feb 2014 20:10:45 +0000 (12:10 -0800)]
Merge "Remove redundant set_offsets in rtc coding mode"
Dmitry Kovalev [Thu, 13 Feb 2014 20:07:11 +0000 (12:07 -0800)]
Calling vpx_img_read() from vpx_temporal_scalable_patterns.
Change-Id: I7aa0f9afbd802a1d8686cad9fc6eae4baa6a53c3
Marco Paniconi [Thu, 13 Feb 2014 19:58:40 +0000 (11:58 -0800)]
Merge "Datarate test for temporal layers and frame dropper."
Dmitry Kovalev [Thu, 13 Feb 2014 19:57:55 +0000 (11:57 -0800)]
Adding explicit casts in yv12config.c.
This patch fixes c++ compiler errors.
Change-Id: I4d4b5af3bdaada101d753f3bc19819f5252b4e44
Tom Finegan [Thu, 13 Feb 2014 02:31:25 +0000 (18:31 -0800)]
vp9/vp9_cx_iface: Silence ts_number_layers MSVC warnings
Silence signed/unsigned mismatch warnings by adding casts where
ts_number_layers does not match the sign of the variable to which
it is being compared.
Change-Id: Iab25e18c877d158b2b2b417de7da94669648b2fa
Jingning Han [Thu, 13 Feb 2014 19:41:08 +0000 (11:41 -0800)]
Initialize internal buffer pointers in rtc mode
In rtc coding mode, the encoder is running non-RD mode decision. It
does not need dual buffer swap as was the case in the RD mode. This
commit initializes the internal buffer pointers outside the block
coding loop for rtc mode.
Change-Id: Ie076705c60d6b7919217e3f1dfd49e7db5064ac2
Dmitry Kovalev [Thu, 13 Feb 2014 19:40:10 +0000 (11:40 -0800)]
Merge "Removing x86_cpuid.c."
Dmitry Kovalev [Wed, 12 Feb 2014 20:52:08 +0000 (12:52 -0800)]
Using MV instead of int_mv inside vp9_full_pixel_diamond().
Change-Id: If33a5a12c4025d9b5ec863dfccea7ee70f800665
Dmitry Kovalev [Thu, 13 Feb 2014 19:04:34 +0000 (11:04 -0800)]
Merge "Renaming skip_coeff to skip for consistency."
Marco Paniconi [Thu, 13 Feb 2014 18:08:42 +0000 (10:08 -0800)]
Merge "Update to vpx_temporal_scalable_patterns test:"
Frank Galligan [Thu, 13 Feb 2014 17:52:48 +0000 (09:52 -0800)]
Merge "Fix neon wide loopfilter for filter8 only branch"
Yunqing Wang [Thu, 13 Feb 2014 17:43:55 +0000 (09:43 -0800)]
Merge "AVX2 Convolve Optimization"
Jingning Han [Thu, 13 Feb 2014 17:39:03 +0000 (09:39 -0800)]
Remove redundant set_offsets in rtc coding mode
The functionalities of set_offsets() are subsumed in later
set_partitioning() and rtc_use_partition() functions, hence removed.
Change-Id: Ie514b13cb66c2379f13d0be9b1da4c12ca4581e5
Paul Wilkins [Thu, 13 Feb 2014 17:31:53 +0000 (09:31 -0800)]
Merge changes I121fe66c,I94f57f8a
* changes:
Remove some cases for turning off arf.
Modified Aq1 and Aq2
Marco Paniconi [Tue, 11 Feb 2014 16:48:34 +0000 (08:48 -0800)]
Datarate test for temporal layers and frame dropper.
Also, removed a TODO and removed speed 1 from the tests.
Change-Id: I4e6b114204b6d42d93fd1902a56eb0c459bad135
Marco Paniconi [Wed, 12 Feb 2014 01:59:04 +0000 (17:59 -0800)]
Update to vpx_temporal_scalable_patterns test:
Add some rate control metrics.
Change-Id: Ie87c617bbdc31b0324c7c96a042f7bdb8aaa9c7e
Jim Bankoski [Thu, 13 Feb 2014 16:32:12 +0000 (08:32 -0800)]
Merge "vp9_mbgraph.c static analysis issues resolved."
Jim Bankoski [Thu, 13 Feb 2014 16:32:01 +0000 (08:32 -0800)]
Merge "vp9_temporal_filter.c static analysis issue resolution"
Jim Bankoski [Thu, 13 Feb 2014 16:31:49 +0000 (08:31 -0800)]
Merge "vp9_pickmode.c static analysis issues resolved"
Paul Wilkins [Thu, 13 Feb 2014 14:50:55 +0000 (14:50 +0000)]
Remove some cases for turning off arf.
Flipping arf on and off too often is hurting some clips.
This change makes no difference for 50-75% of our test
clips but helps some by a big margin. (eg. std-hd crew
by 6% and one of the YT and YT-hd clips by 14%)
Average improvements for 2 pass, speed 2 (psnr,ssim)
are as follows:-
derf 0.165%, 0.210%
yt 1.210%, 1.464%
yt-hd 1.189%, 1.471%
std-hd 1.031%, 0.886%
Change-Id: I121fe66cfb4a62d384b23b484a7d648789641969
Jim Bankoski [Thu, 13 Feb 2014 14:43:44 +0000 (06:43 -0800)]
vp9_mbgraph.c static analysis issues resolved.
Change-Id: I6ec6e072fcd59f9b5fac4ce221a86f9078103ae3
Jim Bankoski [Tue, 11 Feb 2014 20:40:51 +0000 (12:40 -0800)]
vp9_temporal_filter.c static analysis issue resolution
Change-Id: I08a4364672cf8171932e8e85fb74fcbfa4b27d2d
Jim Bankoski [Thu, 13 Feb 2014 14:22:08 +0000 (06:22 -0800)]
Merge "vp9_rdopt.c static analysis issues resolved"
Jim Bankoski [Tue, 11 Feb 2014 15:42:52 +0000 (07:42 -0800)]
vp9_pickmode.c static analysis issues resolved
Change-Id: I716ea2967c6771d7adea571406f315a3197eab93
Jim Bankoski [Thu, 13 Feb 2014 14:20:35 +0000 (06:20 -0800)]
Merge "static analysis warning in vp9_ratectrl.c"
Jim Bankoski [Thu, 13 Feb 2014 14:20:16 +0000 (06:20 -0800)]
Merge "vp9_mcomp.c static analysis issues"
Jim Bankoski [Thu, 13 Feb 2014 14:20:05 +0000 (06:20 -0800)]
Merge "clear out static analysis warning"
Jim Bankoski [Thu, 13 Feb 2014 14:19:26 +0000 (06:19 -0800)]
Merge "clean out static analyzer warnings vp9_encodeframe.c"