Ronald S. Bultje
1e9e9ce2dc
vp10: fix entropy counts for the hp bit.
...
The counts didn't take usehp into account, which means that if the
scope of the refmv is too large for the hp bit to be coded, the value
(always 1) is still included in the stats. Therefore, the final
counts will not reflect the entropy of the coded bits, but rather the
entropy of the combination of coded bits and the implied value (which
is always 1). Fix that by only including counts if the hp bit is
actually coded.
See issue 1060.
Change-Id: I19a3adda4a8662a05f08a9e58d7e56ff979be11e
2015-09-14 16:13:59 -04:00
Ronald S. Bultje
d1474f02aa
vp10: merge frame_parallel_decoding_mode and refresh_frame_context.
...
See issue 1030. The value of frame_parallel_decoding_mode was ignored
in vp9 if refresh_frame_context was 0, so instead make it a 3-member
enum where the dependency is obviously stated.
Change-Id: I37f0177e5759f54e2e6cc6217023d5681de92438
2015-09-11 19:33:46 -04:00
Ronald S. Bultje
ef73bbf778
vp10: remove duplicate frame_parallel_decode field.
...
Keep the one in VP10_COMMON in favour of the one in VP10_DECODER.
Change-Id: Ia81983ccc95d83829dc815e28d9b1143e16e27b1
2015-09-11 18:37:24 -04:00
Ronald S. Bultje
62da0bf162
Make reset_frame_context an enum.
...
In vp9, [0] and [1] had identical meaning, so merge them into a
single value. Make it impossible to code RESET_FRAME_CONTEXT_NONE
for intra_only frames, since that is a non-sensical combination.
See issue 1030.
Change-Id: If450c74162d35ca63a9d279beaa53ff9cdd6612b
2015-09-11 15:12:02 -04:00
Ronald S. Bultje
3ef3dcb8b6
Merge "Don't reset sign_bias fields in vp10_setup_past_independence()."
2015-09-11 02:00:30 +00:00
Angie Chiang
501efcad4a
Merge "Isolate vp10's fwd_txfm from vp9"
2015-09-11 00:10:45 +00:00
Angie Chiang
ee5b80597e
Isolate vp10's fwd_txfm from vp9
...
1) copy fw_txfm related files from vpx_dsp tp vp10
vpx_dsp/fwd_txfm.h → vp10/common/vp10_fwd_txfm.h
vpx_dsp/fwd_txfm.c → vp10/common/vp10_fwd_txfm.c
vpx_dsp/x86/fwd_dct32x32_impl_sse2.h → vp10/common/x86/vp10_fwd_dct32x32_impl_sse2.h
vpx_dsp/x86/fwd_txfm_sse2.c → vp10/common/x86/vp10_fwd_txfm_sse2.c
vpx_dsp/x86/fwd_txfm_impl_sse2.h → vp10/common/vp10_fwd_txfm_impl_sse2.h
Change-Id: Ie9428b2ab1ffeb28e17981bb8a142ebe204f3bba
2015-09-10 15:19:43 -07:00
Angie Chiang
87175ed592
Isolate vp10's inv_txfm from vp9
...
1) copy following files from vpx_dsp/ to vp10/common/
vp10_inv_txfm.c
vp10_inv_txfm.h
vp10_inv_txfm_sse2.c
vp10_inv_txfm_sse2.h
2) change the function prefix "vpx_" to "vp10_" in above files
3) add unit test at vp10_inv_txfm_test.cc
Change-Id: I206f10f60c8b27d872c84b7482c3bb1d1cb4b913
2015-09-10 15:08:37 -07:00
Ronald S. Bultje
e1d22db451
Don't reset sign_bias fields in vp10_setup_past_independence().
...
The fields are always coded in the frame itself, so there is never any
dependency on past frames. In practice, this fixes sign_bias being
ignored when error_resilient_mode=1.
See issue 1011.
Change-Id: I9d134ef6b445ced4d100fa735ce579855a0fa5af
2015-09-08 13:48:20 -04:00
Johann
7e14baa1da
Mark VP10 functions as 'INLINE'
...
Change-Id: I3dce6c702344a5cb5aaf9de1e4be44c53f9ce7e9
2015-09-01 17:05:04 -07:00
Johann
c5f11912ae
Include vpx_dsp_common.h when using VPXMIN/MAX
...
Change-Id: I2e387a06484a06301f3cd6600c4ba2f4335b61ee
2015-08-31 14:36:35 -07:00
James Zern
5e16d397bd
vpx_dsp_common: add VPX prefix to MIN/MAX
...
prevents redeclaration warnings;
vp8 has its own define which will be resolved in a future commit
Change-Id: Ic941fef3dd4262fcdce48b73075fe6b375f11c9c
2015-08-26 20:11:32 -07:00
hui su
28bd7673ad
Remove vp10_default_scan_orders[] that is unused
...
Change-Id: Ibc3b5cb3799f080808cf22ccb01d733e74ab4461
2015-08-26 10:43:25 -07:00
hui su
d76e5b3652
Refactoring on transform types
...
Prepare for adding more transform varieties (EXT_TX and TX_SKIP in nextgen).
Change-Id: I2dfe024f6be7a92078775917092ed62abc2e7d1e
2015-08-24 10:47:25 -07:00
Hui Su
cd14e03196
Merge "Refactor get_tx_type and get_scan"
2015-08-21 23:21:04 +00:00
hui su
5eed74e1d3
Refactor get_tx_type and get_scan
...
This makes it easier to add new transform types and scan orders
to VP10 in the future.
Change-Id: I94874ddc9b19928d7820d57e94e2af04adf51efe
2015-08-21 09:53:37 -07:00
Jingning Han
e0425bc0ef
Merge "Replace MAX_REF_LF_DELTAS with MAX_REF_FRAMES"
2015-08-21 15:31:26 +00:00
Jingning Han
c455919f03
Replace MAX_REF_LF_DELTAS with MAX_REF_FRAMES
...
The macro MAX_REF_LF_DELTAS is repeatedly defined. Merge its use
cases with MAX_REF_FRAMES.
Change-Id: I71c4634fb5feae78ce6f9bf99074f45ed7f68b73
2015-08-20 09:52:52 -07:00
Jingning Han
83bd16aaf3
Refactor REFS_PER_FRAME definition
...
Define it as a function of reference frame types to provide
scalability for multiple reference frames.
Change-Id: I77b856c96916f352bc31004b9266b3f24e19bd0f
2015-08-20 09:29:28 -07:00
Jingning Han
bbb9ca4535
Merge "Change vp9_ prefix function names in vpx_scale to vpx_"
2015-08-15 22:40:11 +00:00
Jingning Han
89af744ba6
Change vp9_ prefix function names in vpx_scale to vpx_
...
Change-Id: Iac85902cbbb3e752801dc85de9a3c778e47304aa
2015-08-14 15:27:43 -07:00
Yaowu Xu
d692f26dd5
change vp10 to use a different sync code than vp9
...
Change-Id: If5b5beb38c938bd7a6016dedc9bd0c8e06153d73
2015-08-14 13:06:56 -07:00
Yaowu Xu
92946472a1
Merge "VP9Common -> VP10Common"
2015-08-13 22:51:51 +00:00
Yaowu Xu
afb6b4b852
VP9Common -> VP10Common
...
Change-Id: Ifddc68a8ab020f35a266ffc74429363301fe7d9e
2015-08-13 15:00:19 -07:00
Yaowu Xu
7da965daa9
Merge "VP9_COMMON -> VP10->COMMON"
2015-08-13 18:00:27 +00:00
Yaowu Xu
7bca5619eb
Merge "Correct guard macros in header files"
2015-08-13 18:00:02 +00:00
Yaowu Xu
fc7cbd1f60
VP9_COMMON -> VP10->COMMON
...
Change-Id: I651b7bee90f33581368853da81f9622805ccc0ea
2015-08-13 09:58:26 -07:00
Jingning Han
534ac8a617
Remove common_data.c file from vp10 folder
...
This file is empty in vp10. Remove it to clear out visual studio
warning.
Change-Id: I741e88adcf3c9fc6b73b13ea08a2094e2f3a7eba
2015-08-13 16:33:03 +00:00
Yaowu Xu
2dcefd9c7f
Correct guard macros in header files
...
Change-Id: Ifce12a95c1cdc36dc6ac5a72759249a17407da9e
2015-08-13 09:25:39 -07:00
Hui Su
54fb24aac3
Merge "Use sizeof(variable) instead of sizeof(type)"
2015-08-12 19:49:22 +00:00
hui su
088b05fd99
Use sizeof(variable) instead of sizeof(type)
...
Change-Id: Ia069da11eebb271063e9eb837bdb3e7175ecce13
2015-08-12 11:25:38 -07:00
Jingning Han
3acfe46e8d
Sync vp10 with vpx_ports/system_state.h
...
Change-Id: Ic5004f8bdc1c2b025b598e80374ee1f286ea95ee
2015-08-12 09:21:25 -07:00
Jingning Han
0a81d36ab4
Replace vp10_ssim functions with vpx_ssim versions
...
Remove the ssim files from vp10 folder.
Change-Id: Icc1d9d61a0878d53584328b278dfa090aa070035
2015-08-11 22:35:46 -07:00
Jingning Han
54d66ef165
Remove vp9_ prefix from vp10 files
...
Remove the vp9_ prefix from vp10 file names.
Change-Id: I513a211b286a57d6126fc1b0fbfd6405120014f1
2015-08-11 21:24:08 -07:00
Jingning Han
3ee6db6c81
Fork VP9 and VP10 codebase
...
This commit folks the VP9 and VP10 codebase and makes libvpx
support VP8, VP9, and VP10.
Change-Id: I81782e0b809acb3c9844bee8c8ec8f4d5e8fa356
2015-08-11 17:05:28 -07:00