James Zern
19c53534bd
test/partial_idct_test: fix formatting and a warning
...
test/partial_idct_test.cc:74:5: warning: variable 'size' is
used uninitialized whenever 'if' condition is true
[-Wsometimes-uninitialized]
ASSERT_TRUE(0) << "Wrong Size!";
Change-Id: Ic2f880ae09268561c9f036b4d6de220fde6dc5c4
2013-12-18 15:59:09 -08:00
Yaowu Xu
f71f581ba2
Merge "Added a test vector that exercises lpf deltas"
2013-12-18 11:41:56 -08:00
Marco Paniconi
02d5ebcfdc
Merge "Updates for 1-pass CBR rate control."
2013-12-18 10:28:33 -08:00
Yaowu Xu
2424ba3d8b
Added a test vector that exercises lpf deltas
...
From frame 2, the lpf deltas are all cleared for for even frames, and
a set of values are set and used for odd frames. The intention is to
exercise decoding code around lpf delta/update decoding.
Change-Id: Ic9ff1bc2c2a023f4805852f8573398f2ec2249d7
2013-12-18 10:08:39 -08:00
Marco Paniconi
1b8b8b0d0d
Updates for 1-pass CBR rate control.
...
Adjustments based on buffer level, frame dropper.
Change-Id: Iaa85b570493526a60c4b9fb7ded4c0226b1b3a33
2013-12-18 09:24:24 -08:00
Johann
b46da98f3a
Merge "Only exclude VP8 when it is included"
2013-12-17 21:26:44 -08:00
Frank Galligan
05d5332407
Merge "Increase required number of external frame buffers"
2013-12-17 21:20:34 -08:00
Johann
af416c4daf
Only exclude VP8 when it is included
...
If configured with --disable-vp8 kVP8TestVectors is undefined.
Change-Id: I9d83e805923977ab057ab48042580ce0d817ba68
2013-12-17 18:27:04 -08:00
Frank Galligan
9e41d569d7
Increase required number of external frame buffers
...
Make applications pass in VPX_MAXIMUM_WORK_BUFFERS as well as
VP9_MAXIMUM_REF_BUFFERS.
Change-Id: I9c07ce83fa19c90ed43227b801b2013690e81edd
2013-12-17 17:34:36 -08:00
Yaowu Xu
ede392d765
Merge changes I5d28c2f5,Ib00b036f
...
* changes:
Remove redundant function and calls
Add test for partial inverse transforms
2013-12-17 16:57:01 -08:00
Yaowu Xu
ed7e3d2447
Add test for partial inverse transforms
...
To make sure the results they produce to match their full versions
Change-Id: Ib00b036fecf43fe20af716acfc580af18ef87757
2013-12-16 22:01:02 -08:00
Yaowu Xu
a3e919a4ba
Added a test vector
...
The added vector was encoded with aq mode on, with the intent to
exercise the decode code around segment feature.
Change-Id: Iedcb7261e87d3e11b25ecf031d3a69385271148e
2013-12-16 15:48:04 -08:00
Deb Mukherjee
4a535efcfd
Change in data rate test to be less stringent
...
Makes the thresholds for bitrate control more leniant to
prevent test failures.
Change-Id: I535c1565174a8a46493b033531eb40360def883b
2013-12-16 09:29:37 -08:00
Frank Galligan
fbada948fa
Add frame buffer lru cache.
...
Add an option for libvpx to return the least recently used
frame buffer.
Change-Id: I886a96ffb94984f1c42de53086e0131922df3260
2013-12-15 19:57:42 -08:00
Frank Galligan
d0ee1fd797
Merge "Add support to pass in external frame buffers."
2013-12-15 19:18:25 -08:00
Frank Galligan
10f891696b
Add support to pass in external frame buffers.
...
VP9 decoder can now use frame buffers passed in by the application.
Change-Id: I599527ec85c577f3f5552831d79a693884fafb73
2013-12-15 18:45:46 -08:00
James Zern
c5aaf923d8
webmdec/tests: fix leak when file isn't read to eof
...
the nestegg packet was only freed by subsequent reads
Change-Id: Ib687a13907861c7575830783e47a596d85169cf1
2013-12-13 19:06:21 -08:00
Adrian Grange
2ec473bb0a
Merge "Set rc_2pass_vbr_maxsection_pct to correct value"
2013-12-13 10:30:46 -08:00
Adrian Grange
15cf59605f
Set rc_2pass_vbr_maxsection_pct to correct value
...
Corrected a typo that set rc_2pass_vbr_minsection_pct to
two different values on consecutive lines. Second line
should have set rc_2pass_vbr_maxsection_pct.
Change-Id: Ie07ac67cd5455afe556bef34da8127304db9c97c
2013-12-13 08:50:13 -08:00
James Zern
c2634188ce
Merge "test-data.sha1: add missing sha1sums"
2013-12-12 11:57:10 -08:00
Frank Galligan
38536f6b1c
Cleanup copyright headers.
...
Change-Id: I7ff2b18e085f3fffaa7f25d40e4e50427b808f43
2013-12-12 08:36:34 -08:00
Frank Galligan
802fc78bd7
Merge "Move test vector list into a separate header."
2013-12-12 08:28:48 -08:00
Frank Galligan
994a552c09
Merge "Add pre decode frame hook to decoder test class."
2013-12-12 08:26:43 -08:00
Frank Galligan
52b2d50db4
Move test vector list into a separate header.
...
Change-Id: I36f9033492f12fda7f9ce0e7a97a009aab9aab57
2013-12-11 23:15:39 -08:00
James Zern
1586bbf7f1
test-data.sha1: add missing sha1sums
...
vp90-2-02-size-lf-1920x1080.webm{,.md5} were added in:
ebb583d Add a test vector for loopfilter
Change-Id: I021808338935932cb742ea2621b94f44f22e3037
2013-12-11 19:19:39 -08:00
Yaowu Xu
d62af81f6a
Reduce the number of frames used in lossless test
...
Change-Id: I976f70b640b06f20533ad29578a5b2acca134fd4
2013-12-11 13:45:07 -08:00
Frank Galligan
f9d69bd0fd
Add pre decode frame hook to decoder test class.
...
Adds a hook that derived test classes can implement to be notified
before every call to decode a frame.
Change-Id: Iefa836459cf3e5d7df9ee27f8198daf82b1be088
2013-12-11 08:58:21 -08:00
James Zern
937c3b990b
add tile test vectors
...
3840x2160
vp90-2-08-tile_1x8_frame_parallel.webm
vp90-2-08-tile_1x8.webm
vpxenc crowd_run_2160p50.y4m \
--codec=vp9 -p 2 \
--frame-parallel=${fpm} \
--tile-columns=${tc} \
--limit=10 \
--auto-alt-ref=1 \
--lag-in-frames=5 \
--target-bitrate=2500
Change-Id: I6dc19b4fca483d03ef9a897a843bf9037d095c8e
2013-12-05 21:04:46 -08:00
Jingning Han
61da0870b9
Merge "Add a test vector for loopfilter"
2013-12-04 17:13:57 -08:00
Jingning Han
ebb583d291
Add a test vector for loopfilter
...
The test vector exercises the loopfilter behavior at frame boundary.
blue_sky_1080p25.y4m --good --cpu-used=2 --threads=0 --profile=0
--lag-in-frames=25 --limit=300 --min-q=0 --max-q=63 --cq-level=20
--end-usage=0 --auto-alt-ref=1 -p 2 --kf-max-dist=9999 --kf-min-dist=0
--drop-frame=0 --static-thresh=0 --bias-pct=50 --minsection-pct=0
--maxsection-pct=2000 --arnr-maxframes=7 --arnr-strength=5
--arnr-type=3 --sharpness=0 --undershoot-pct=100 --target-bitrate=6000
Change-Id: Ibd0807395d2fe87f24f81f990369678df3de7c23
2013-12-04 13:05:21 -08:00
Adrian Grange
475d1d60b8
Modified spatial scalable encoder & unit tests
...
Modifications to the spatial scalable encoder to match
changes made to the scaling code in the decoder.
In particular, the use of a dummy first frame was removed
now that the decoder is able to handle a smaller first
frame.
SvcTest.FirstFrameHasLayers unit test re-enabled.
Change-Id: Ic2e91fbe4eadf95895569947670d36d68abaf458
2013-12-04 11:45:40 -08:00
Yaowu Xu
a0f77f6acb
Fix VP8 border replication for very small image
...
Also added a test vector for this issue.
Change-Id: I8a8654f9d33b27afd53c295f1ea44d198550d067
2013-12-03 17:06:17 -08:00
Yaowu Xu
e9c19617bf
Merge "vp9_short_fdct32x32_rd vp9_short_fdct32x32 optimized for AVX2"
2013-11-27 10:27:32 -08:00
Yunqing Wang
f234136414
Add a noise test vector
...
Added the test vector provided by Attila, which caught the bug in
Issue 661 "Decoder produces mismatched outputs with ssse3 enabled
and disabled"
vp90-hantro-stream-001.ivf
size: 320x180; 20 frames
Change-Id: Ic0d2b57ac7596ecb938dd55abc8c706fc2dd6d8f
2013-11-26 11:30:13 -08:00
Dmitry Kovalev
5925ba08a3
Merge "Using num_4x4_blocks_* instead of b_{width, height}_log2."
2013-11-21 16:48:34 -08:00
Dmitry Kovalev
27e6b5b6bd
Using num_4x4_blocks_* instead of b_{width, height}_log2.
...
Change-Id: I9ea3946c17b19f511565cd771037abe7db8b3ddb
2013-11-21 15:53:06 -08:00
Joshua Litt
3aeebfb231
Merge "Removing PARAMS macro for consistency"
2013-11-21 15:06:51 -08:00
levytamar82
8def766de2
vp9_short_fdct32x32_rd vp9_short_fdct32x32 optimized for AVX2
...
Change-Id: I6366e84490883b72362f762369d7e5bccb64f02f
2013-11-21 14:19:49 -08:00
Joshua Litt
51490e5654
Removing PARAMS macro for consistency
...
Change-Id: I23ed873a6c47b15491a2ffbcdd4f0fdeef1207a0
2013-11-19 09:28:18 -08:00
Joshua Litt
a782d63954
Decoder performance test added to unit tests
...
Change-Id: Id578a5fe2039631cefd82dc2ef98cc62683194c3
2013-11-18 17:12:05 -08:00
Joshua Litt
f16cde998b
Tweaks to vpx_test android make file
...
* Change from thumb mode to arm mode improves test time significantly
* Direct inclusion of test.mk allows for unit test configuration via
configure script
Change-Id: Id58d3ba8289374528756a672459d8334afe20e2a
2013-11-14 13:30:28 -08:00
Jingning Han
4995dbc713
Merge "Enable 4x4 DCT/ADST transform unit test"
2013-11-14 09:26:33 -08:00
Jingning Han
30d4c5ed7a
Enable 4x4 DCT/ADST transform unit test
...
This commit enables the unit tests for 4x4 DCT and ADST transforms.
It covers tests of round-trip error check, coefficient match check,
coefficient overflow check, and inverse accuracy check.
Change-Id: Ibfea928ee48f0ebc088b7fdb0bf2d89a14161299
2013-11-13 18:18:06 -08:00
Marco Paniconi
9977332615
For CBR, keep rate-correction damping factor to 2.
...
The switch to the rate-correction damping factor
in https://gerrit.chromium.org/gerrit/#/c/67536/ was not conditioned on CBR mode.
Change-Id: I2326704e8ac030a4f7b592dd3fedb94c7dd0644d
2013-11-13 16:14:31 -08:00
Jingning Han
25af150911
Merge "Add test vector for row/col tile decoding"
2013-11-12 18:11:34 -08:00
Joshua Litt
c88f1ec8ca
Android.mk file for vpx unittests
...
These changes are to support automated regressions of vpx on android
new file: test/android/Android.mk
new file: test/android/README
new file: test/android/get_files.py
Change-Id: I52c8e9daf3676a3561badbe710ec3a16fed72abd
2013-11-12 14:20:25 -08:00
Jingning Han
458951d8e3
Add test vector for row/col tile decoding
...
1920x1080
vp90-2-08-tile-4x4.webm
vp90-2-08-tile-4x4.webm.md5
vpxenc blue_sky_1080p25 --frame-parallel=0 \
--tile-columns=2 --tile-rows=2 \
--lossless=0 --error-resilient=0 \
--min-q=0 --max-q=30 --kf-min-dist=0 --kf-max-dist=9999 \
--cpu-used=0 --codec=vp9 -p 2 --good --fps=25/1 --limit=5
vp90-2-08-tile-4x1.webm
vp90-2-08-tile-4x1.webm.md5
vpxenc blue_sky_1080p25 --frame-parallel=0 \
--tile-columns=0 --tile-rows=2 \
--lossless=0 --error-resilient=0 \
--min-q=0 --max-q=30 --kf-min-dist=0 --kf-max-dist=9999 \
--cpu-used=0 --codec=vp9 -p 2 --good --fps=25/1 --limit=5
Change-Id: I77d0ccf9b721ae5cfa72781fe0d3c534ea43b756
2013-11-12 11:26:26 -08:00
Ivan Maltz
d2c8cb70bd
Fixed memory leak with svc_test.cc
...
was not calling vpx_codec_destroy and delete(decoder_) in TearDown
Change-Id: Iff4fd24a260223d224b3ea3287cdf0227405492f
2013-11-11 15:20:26 -08:00
Yaowu Xu
a4a5a210cb
Disable zeroblock forcing for lossless coding mode
...
This to make sure that prediction residue always get coded in lossless
mode.
This commit also fixed lossless unit test
Change-Id: I537726ee55328d4e4cf0a0196393a67e12bfcde1
2013-11-08 10:32:44 -08:00
Ivan Maltz
741c14fcf0
Merge "Move SVC per-frame loop from sample app into libvpx proper"
2013-11-06 17:24:05 -08:00