James Zern
a4bb5f2a29
Merge "decode_tiles_mt: remove incorrect TODO"
2015-06-12 22:13:38 +00:00
James Zern
dc0f0f1cf2
Merge changes I342075eb,I222eaa4e
...
* changes:
vp9_decodeframe: simplify init_read_bit_buffer signature
vp9_decode_frame: remove explicit read_bit_buffer init
2015-06-12 22:13:28 +00:00
James Zern
e21c1eab9d
Merge changes Iedb5b6a3,Iaea98508,I36580cea,Ia0574320
...
* changes:
vp9_decodeframe.h: remove unused prototype
vp9_decodeframe: move public funcs to end of file
vp9_decodeframe: reorder some functions
vp9_decodeframe: hide vp9_dec_build_inter_predictors_sb
2015-06-12 22:12:30 +00:00
Scott LaVarnway
cca866f578
inline vp9_get_segdata()
...
and change name.
Change-Id: I706645cf9d9dc04f1b3b6ac80df80edb7f101854
2015-06-11 09:52:00 -07:00
Scott LaVarnway
42c0b1b1f1
inline vp9_segfeature_active()
...
and changed name.
Change-Id: Ie023ca66cc2c823032f58d4faeb53fd1863c94f3
2015-06-11 04:20:55 -07:00
James Zern
15c839f563
decode_tiles_mt: remove incorrect TODO
...
all allocated workers are used, the final one in the main thread.
Change-Id: I04647d4fb2e01d6d404790e7899515289047f553
2015-06-10 15:56:51 -07:00
James Zern
b105414118
vp9_decodeframe: simplify init_read_bit_buffer signature
...
Change-Id: I342075eb5a4ba2a85d36d47ae52d1f3476039e31
2015-06-10 15:53:30 -07:00
James Zern
92146eb8ac
vp9_decode_frame: remove explicit read_bit_buffer init
...
this is done by init_read_bit_buffer()
Change-Id: I222eaa4e9758ff9f7e1e4122106c5c4652ffa99c
2015-06-10 15:50:54 -07:00
James Zern
dca319040c
vp9_decodeframe.h: remove unused prototype
...
vp9_init_dequantizer() was deleted in:
bdd249b
Optimize the dequantization process on decoder side.
Change-Id: Iedb5b6a3a03964dd6901c1e3b2325194d94bc708
2015-06-10 15:48:59 -07:00
James Zern
b0bafd0439
vp9_decodeframe: move public funcs to end of file
...
Change-Id: Iaea9850890b726c7b5552c5f02b3a309086edc85
2015-06-10 15:47:57 -07:00
James Zern
38dd0448cd
vp9_decodeframe: reorder some functions
...
removes the need for a prototype for the static function
dec_build_inter_predictors_sb
Change-Id: I36580ceae061d27f341ab0a16ece479f92e98004
2015-06-10 15:44:21 -07:00
James Zern
587bd3669e
vp9_decodeframe: hide vp9_dec_build_inter_predictors_sb
...
+ strip 'vp9_' prefix
Change-Id: Ia057432095e5741473275d4da03ab665c37e924e
2015-06-10 15:31:55 -07:00
Scott LaVarnway
97880c3324
Merge "Reducing size of MODE_INFO struct"
2015-06-10 13:15:19 +00:00
hkuang
87c21a95ae
Optimize the decode_partition. About 0.7% gain on N10.
...
Change-Id: Ia689c254bd2d4f274abcc451a9b758f62e3a2b1f
2015-06-05 15:47:09 -07:00
Scott LaVarnway
5831a7127e
Merge "BUG FIX: Remove counts param"
2015-06-05 20:04:26 +00:00
Scott LaVarnway
63819c033c
BUG FIX: Remove counts param
...
member access within null pointer of type 'FRAME_COUNTS'
Change-Id: Id3bf75e0a6f2a1abf8522cf9fbb98b3a4443de38
2015-06-05 11:54:04 -07:00
Frank Galligan
bfb6d48812
Add control to skip loop filter in VP9 decoder.
...
This control allows the application to skip the loop filter in the
decoder. This is an advanced control that should only be used in
extreme circumstances as it may introduce and accumulate decode
artifacts.
Change-Id: I278c65c60826f84c9141ebe06c6eeed3c2335fa8
2015-06-05 10:07:09 -07:00
Scott LaVarnway
baaaa57533
Reducing size of MODE_INFO struct
...
Reduced size from 124 bytes to 104 bytes. For decode only builds,
it is reduced to 68 bytes.
Change-Id: If9e6b92285459425fa086ab5a743d0a598a69de3
2015-06-04 07:32:16 -07:00
Scott LaVarnway
8bb37dd069
Remove cm parameter from vp9_decode_block_tokens() part 2
...
Change-Id: Iee24b6bb095f748333223e6036fc5c9d9e7e5f1c
2015-06-04 07:13:19 -07:00
Scott LaVarnway
f779dba405
Remove counts param
...
Moved to MACROBLOCKD.
Change-Id: Icce765b334f2755f4fe2a4c39fb2ae2d7660d004
2015-06-02 09:06:00 -07:00
Johann
7c16dcc79b
Merge "Check size restrictions before running test vector"
2015-05-28 22:01:53 +00:00
Scott LaVarnway
bbea7c95d8
Merge "Re-worked header files"
2015-05-28 19:56:39 +00:00
hkuang
5317185eb0
Merge "Add error handling when running out of free frame buffers."
2015-05-28 17:41:01 +00:00
Johann
1e4473b216
Check size restrictions before running test vector
...
Change-Id: I60ea7724e6ab06fc658f678c1b76d984a43f5a5e
2015-05-27 15:55:17 -07:00
hkuang
131cab7c27
Add error handling when running out of free frame buffers.
...
Change-Id: If28b59b9521204a6e3aecedcf75932d76a752567
2015-05-27 14:20:58 -07:00
Scott LaVarnway
b962646fc5
Re-worked header files
...
Various header/test files had to be re-worked in order to
build "Remove cm parameter from vp9_decode_block_tokens()".
This patch reverts the "Remove cm" part and only contains
the re-worked header files.
Change-Id: I520958a88d1991fee988a3c784d0eac40e117a32
2015-05-22 11:19:51 -07:00
Minghai Shang
48bfee8797
[decoder] Optimize context buffer re-allocation
...
1. Check existing buffer sizes when re-allocate context buffers.
2. Don't need to set mi buffers to 0 during setup_mi.
Change-Id: I6b48b0e077a4d804312b605ad0dc34aec5795a6d
2015-05-20 11:05:22 -07:00
James Zern
85076fc5ab
dec_build_inter_predictors: don't return a void fn
...
split call of extend_and_predict() and return, fixes visual studio build
warning since:
0a80164
Move mc_buf to cut down size of MACROBLOCKD.
Change-Id: I7cdf712941ef773a07f038539cb8080dc27861cd
2015-05-16 10:33:57 -07:00
James Zern
f3bf5f2029
vp9_decodeframe.c: make a function static
...
silences a missing declaration warning
Change-Id: I2f49ebca9ba7a47f3c48f5fe919b90cd4114a9bc
2015-05-15 10:43:47 -07:00
Frank Galligan
d610ead258
Merge "Move mc_buf to cut down size of MACROBLOCKD."
2015-05-15 15:20:39 +00:00
Frank Galligan
0a80164c94
Move mc_buf to cut down size of MACROBLOCKD.
...
Change-Id: Icea64b9e5632b41aaa7cd7018c501d6add9b7a7f
2015-05-14 19:10:02 -07:00
Johann
1d7ccd5325
Relocate memory operations for common code
...
With the sad functions, and hopefully the variance functions soon,
moving to the vpx_dsp location, place the defines used in the
reference C code in a common location.
Change-Id: I4c8ce7778eb38a0a3ee674d2f1c488eda01cfeca
2015-05-13 11:41:15 -07:00
Adrian Grange
5f0dc57653
Merge "Reduce border extension by 1 line"
2015-05-11 22:47:49 +00:00
Jingning Han
2b2b461d39
Sort variables dependency in read_uncompressed_header
...
Remove a few repeated data structure reads from
read_uncompressed_header.
Change-Id: I6eb741b39f9415ad0aa4631dfbf4a1ace4eba56a
2015-05-11 10:07:55 -07:00
Johann
76a08210b6
Merge "Move shared SAD code to vpx_dsp"
2015-05-07 18:33:06 +00:00
Johann
d5d9289800
Move shared SAD code to vpx_dsp
...
Create a new component, vpx_dsp, for code that can be shared
between codecs. Move the SAD code into the component.
This reduces the size of vpxenc/dec by 36k on x86_64 builds.
Change-Id: I73f837ddaecac6b350bf757af0cfe19c4ab9327a
2015-05-06 16:58:20 -07:00
Adrian Grange
0af5ff49bd
Reduce border extension by 1 line
...
The code was using one row too many.
Change-Id: Ie0c05d02c22ae3d0d13d3b6565c40de3bc4fa17a
2015-05-06 14:44:24 -07:00
hkuang
92b199061a
Correct the inter prediction coordinate calculation which greatly reduced the
...
times of border extension.
Change-Id: I8e5bd590cc696ee71cfe1f4cc66c12fb24aaf44e
2015-05-06 10:55:56 -07:00
Scott LaVarnway
7b0f24fc21
FIX: Use correct above/left in read_intra_frame_mode_info
...
Should be using xd->above_mi and xd->left_mi.
Change-Id: Ifab83512db5491a955a3ed44a2d6e3b25b5ae5a5
2015-05-01 08:23:47 -07:00
James Zern
9e81112df2
vp9_decodeframe: simplify compare_tile_buffers
...
return the difference between the 2 buffer sizes rather than exactly
-1/0/1.
Change-Id: Idf1ccff7088b31845470bcc71bea5927b0598cc7
2015-04-29 17:42:30 -07:00
James Zern
f58011ada5
vpx_mem: remove vpx_memset
...
vestigial. replace instances with memset() which they already were being
defined to.
Change-Id: Ie030cfaaa3e890dd92cf1a995fcb1927ba175201
2015-04-28 20:00:59 -07:00
Scott LaVarnway
afcb62b414
WIP: Use LUT for y_dequant/uv_dequant
...
instead of calculating every block.
Change-Id: Ib19ff2546be8441f8755ae971ba2910f29412029
2015-04-28 07:52:06 -07:00
Scott LaVarnway
8b17f7f4eb
Revert "Remove mi_grid_* structures."
...
(see I3a05cf1610679fed26e0b2eadd315a9ae91afdd6)
For the test clip used, the decoder performance improved by ~2%.
This is also an intermediate step towards adding back the
mode_info streams.
Change-Id: Idddc4a3f46e4180fbebddc156c4bbf177d5c2e0d
2015-04-21 11:16:45 -07:00
Johann
14ef4aeafb
Reorganize *_rtcd() calling conventions
...
Change-Id: Ib1e17d8aae9b713b87f560ab5e49952ee2bfdcc2
2015-04-15 11:12:05 -04:00
hkuang
7e8e507bfb
Remove unnecessary mv clamp with on demand border extension.
...
Change-Id: Ia2956f06f409b9b0ca8320ca4c1ea5680e938402
2015-04-08 17:16:52 -07:00
Frank Galligan
5668dcc7b9
Refactor dec_build_inter_predictors
...
Refactor the loops in dec_build_inter_predictors to try and decrease
the number of instructions. Limited testing saw about 1% perf
increase on x86 and about 0.67 % perf increase on Arm.
Change-Id: I69cfe6335bb562fbaaebf43fb3f5c5a2a28882a2
2015-04-08 15:00:29 -07:00
hkuang
73c8fe5deb
Fix error of "Left shift of negative value -1".
...
Change-Id: Ia4f3feb20df0e89cc51b02def858e12e927312cc
2015-04-02 17:35:33 -07:00
hkuang
1582ac851f
Fix 10-bit video decode failure with --frame-parallel mode.
...
Also add unit test to avoid same error in the future.
Issue:981
Change-Id: Iaf9889d8d5514cfdff1ea098e6ae133be56d501f
2015-04-01 09:19:35 -07:00
hui su
302e24cb3e
Move vp9_coef_con_tree to common/
...
This tree should be defined in common/, as it is needed for
both encoder and decoder.
Change-Id: I4f5cbc80025cf2ced14182c98f7c82dc7d0f87db
2015-03-31 09:20:46 -07:00
Frank Galligan
6eaca27df2
Refactor read_intra_frame_mode_info
...
Change-Id: I56b0614154408e8ec613784b2007374df00fbf17
2015-03-09 16:25:01 -07:00