Scott LaVarnway
fc6a190af4
Removed shadow warnings : reconintra.c
...
Adding -Wshadow to CFLAGS generated a bunch of warnings. This patch
removes these warnings.
Change-Id: I9d52c4a44351607d7d20d52e2a1bffe2a067891a
2013-03-14 08:28:34 -07:00
Scott LaVarnway
60bbd43995
Removed shadow warnings : loopfilter*.c
...
Adding -Wshadow to CFLAGS generated a bunch of warnings. This commit
is based on work already done by jzern.
Change-Id: Iefc08a7ab601c4d1b507f039577433bfb1c6cc9d
2013-03-14 08:23:26 -07:00
James Zern
1e8b3da75e
Merge "vp8: clamp probability values"
2013-03-08 11:20:49 -08:00
James Zern
215084b31c
vp8: clamp probability values
...
fixes out of bounds reads on vp8_prob_cost table.
present since:
217591f Added rate-targeted temporal scalability
v0.9.7-p1-71-g217591f
Change-Id: I9194b773098a381f1e3f67bd3307f05df27c24fd
2013-03-05 16:18:24 -08:00
Dmitry Kovalev
7d855a9f13
Merge "Code cleanup."
2013-03-05 14:22:23 -08:00
Dmitry Kovalev
33efdfec3f
Code cleanup.
...
Writing all #define guards using the same style. Inlining macro
VP8DX_BOOL_DECODER_FILL into vp8dx_bool_decoder_fill. Removing unnecessary
includes.
Change-Id: I483fa979ab34008bf7835b5f34c6471c44daf956
2013-03-04 16:53:00 -08:00
Ronald S. Bultje
f60f6db716
Rename quantize_sse2.c to quantize_sse2_intrinsics.c to avoid collision.
...
Change-Id: I5637d491eb6a9b7633f72e03fd9df72131eeb121
2013-03-04 12:25:01 -08:00
James Zern
a5762191d7
Merge "vp8_init: fix NULL dereference on allocation error"
2013-03-04 11:10:06 -08:00
James Zern
798c5b148d
vp8_init: fix NULL dereference on allocation error
...
Change-Id: I15a6cd014fce8090cdb0441723bd1a90b562579c
2013-03-02 14:46:06 -08:00
James Zern
08348d9cab
prefix vp8 asm_{com,dec,enc}_offsets files
...
make them symmetrical with the generated output and their vp9
counterparts
Change-Id: I72cc97c4d33d713dff620a6d7cc25955266216fc
2013-03-02 14:45:40 -08:00
Johann
403145032d
Merge "Use intrinsics for sse2 regular quantize"
2013-03-01 17:20:26 -08:00
John Koleszar
69c67c9531
Merge master branch into experimental
...
Picks up some build system changes, compiler warning fixes, etc.
Change-Id: I2712f99e653502818a101a72696ad54018152d4e
2013-03-01 11:06:05 -08:00
Johann
eca59cad0b
Use intrinsics for sse2 regular quantize
...
Remove dependency of this function on asm_offsets. ssse3/sse4 next.
Change quant_shift calculation so it be done using SIMD. Pre-calculate
as much as possible to simplify EOB selection.
Take advantage of qcoeff being zero'd by tying the if statements
together.
Speed parity with previous implementation with gcc x86_64 linux
Change-Id: Ife97556a1eca3a74b09def1a3d04084974dff1fb
2013-02-28 18:06:15 -08:00
James Zern
a07bed2b2b
firstpass.c: correct casting around gf_group_bits
...
gf_group_bits is int64_t remove casts to int.
Change-Id: I3b4225905041fac9af9fdfcbcb6f1c357ea4b593
2013-02-28 15:45:29 -08:00
Johann
67978d1380
Merge "vp8 fast quantizer with intrinsics"
2013-02-28 11:32:03 -08:00
James Zern
3b79000122
Merge "vp8/encoder/mcomp.c: remove an unused variable"
2013-02-27 11:33:18 -08:00
Jan Kratochvil
82ed3f9a41
Fix --as=nasm compatibility for new asm code.
...
s/movd/movq/
Change-Id: Id1a56de91551f8dc796f14f1056c565dfc1ba626
2013-02-27 09:55:38 -08:00
Johann
ef887974aa
vp8 fast quantizer with intrinsics
...
Reduce dependency on offsets file by using intrinsics. Disassembly shows
improvements over previous assembly specifically in register management,
preloading, and {pro,epi}log. Speed change is within margin of error.
Change-Id: I8131b4b4d62bc092407fe847bfaa8f2c0e1384ff
2013-02-26 10:48:24 -08:00
James Zern
ca64f6c14f
vp8/encoder/mcomp.c: remove an unused variable
...
Change-Id: I980da3c70f7cee1b723ede0ed2ae527ac7cd6a51
2013-02-22 15:38:45 -08:00
James Zern
e4ef850823
Merge "Fix variance (signed integer) overflow"
2013-02-22 15:33:20 -08:00
James Zern
c21226b638
Merge "vp8: make gf_group_bits 64-bit"
2013-02-22 15:31:28 -08:00
James Zern
4e00060d29
vp8: make gf_group_bits 64-bit
...
avoids signed integer overflow; matches kf_group_bits
Change-Id: I193145cdc4fa53e70fba0a1731a03eb1a574931d
2013-02-22 12:45:28 -08:00
James Zern
fba9772dd2
vp8_first_pass(): avoid floating point div by 0
...
Change-Id: Id1e6a12db6b0c1d3f64ead8fd8834aadc30fbed2
2013-02-22 12:41:59 -08:00
James Zern
cc894a184f
Fix variance (signed integer) overflow
...
based on change made in experimental:
9847344 Fix variance (signed integer) overflow
Change-Id: I36f4ba5700f6f4615057daf7e70868f68a86669f
2013-02-22 12:40:08 -08:00
KO Myung-Hun
0ef72720d0
Use dq instead of ddq with NASM
...
Change-Id: Iffb7cd44b449dc10fa5c24405be909d051b7abb5
2013-02-17 17:30:34 +09:00
John Koleszar
226c57e4fa
Merge "Add support for x64 and win64 yasm flags."
2013-01-31 17:05:33 -08:00
Frank Galligan
f67d740b34
Add support for x64 and win64 yasm flags.
...
Some projects must define only win64 for Windows 64bit builds using
yasm.
Change-Id: I1d09590d66a7bfc8b4412e1cc8685978ac60b748
2013-01-31 16:25:37 -08:00
Marco Paniconi
ec6cf493ff
Fix for divide by zero in vp8_adjust_key_frame.
...
Change-Id: I3bf9bdd95abfd287fbcb644f4fb85fb9204be95a
2013-01-31 10:53:06 -08:00
Scott LaVarnway
75f647fe8a
WIP: Multiple decoder instances support
...
Started adding support for multiple internal decoder instances. Also added
code to limit the vp8 config options available when using frame-based
multithreading.
Change-Id: I0f1ee7abcfcff59204f50162e28254b8dd6972eb
2013-01-30 10:27:26 -08:00
Scott LaVarnway
2146c68dfd
Use FRAGMENT_DATA struct in pbi
...
for fragment information.
Change-Id: Idc83625591a1e4ca6f551dcfb7fc0428f6f37351
2013-01-29 10:34:35 -08:00
Jim Bankoski
e893af1283
Merge "Bug fix: error-concealment enabled changed postproc output"
2013-01-25 19:23:55 -08:00
Deb Mukherjee
dfd89f2eab
Adding a frame parallel decoding mode
...
Adds a flag to disable features that would inhibit frame parallel
decoding. This includes backward adaptation and MV sorting based
on search in ref frame buffer.
Also includes some minor clean-ups.
Change-Id: I434846717a47b7bcb244b37ea670c5cdf776f14d
2013-01-25 17:16:19 -08:00
Scott LaVarnway
0c2919c3d5
Bug fix: error-concealment enabled changed postproc output
...
When error concealment is enabled, it swaps the mi and prev_mi ptrs after
each frame is decoded. The postproc uses the mi ptr for the mode info context.
Now the postproc will use the correct mode info context.
Change-Id: I537ae5450f319c624999b44525bb52bb30047b7b
2013-01-25 17:06:32 -08:00
Marco Paniconi
c582617b13
Merge "Bug fix: Handle input data ptr = NULL and size = 0 correctly"
2013-01-25 12:05:13 -08:00
Scott LaVarnway
d6a4a5d98f
Bug fix: Handle input data ptr = NULL and size = 0 correctly
...
Issue 517: Issues decoding VPX_CODEC_USE_INPUT_FRAGMENTS
http://code.google.com/p/webm/issues/detail?id=517
Change-Id: I030c4cf15b1e1b993433571b6ee77c959a368ff2
2013-01-22 10:52:29 -08:00
John Koleszar
de5546c372
Merge branch 'experimental' of review:webm/libvpx
...
Change-Id: Ib2c2236349c2ae8ee81bd01c5067dddcbac713ca
2013-01-14 18:34:04 -08:00
Frank Galligan
bc45f23192
Upstream changes from Chromium Android Clang build.
...
See https://codereview.chromium.org/11875006/
Change-Id: Ied2a17df2b3222635f84aef120eaa9feb53750d2
2013-01-11 15:37:23 -08:00
John Koleszar
879cb7d962
Merge vp9-preview changes into experimental branch
...
Incorportate vp9-preview changes by merging master branch into experimental.
Conflicts:
test/test.mk
vp9/common/vp9_filter.c
vp9/common/vp9_idctllm.c
vp9/common/vp9_invtrans.h
vp9/common/vp9_mbpitch.c
vp9/common/vp9_rtcd_defs.sh
vp9/common/vp9_systemdependent.h
vp9/common/vp9_type_aliases.h
vp9/common/x86/vp9_asm_stubs.c
vp9/common/x86/vp9_subpixel_mmx.asm
vp9/decoder/vp9_decodframe.c
vp9/decoder/vp9_dequantize.c
vp9/decoder/vp9_dequantize.h
vp9/decoder/vp9_onyxd_int.h
vp9/encoder/vp9_bitstream.c
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_rdopt.c
Change-Id: I17f51c3666d1b59cf1a699f87607cbc5d30a87c5
2013-01-08 10:19:59 -08:00
Scott LaVarnway
27825e9e3a
Merge "Remove cpi parameter from update_mvcount()"
2013-01-08 10:04:21 -08:00
Marco Paniconi
bdca030caf
Use seg/ref/mode offsets in loop_filter_partial.
...
Use the proper seg/mode/ref filter offsets when selecting the
frame loop filter level for fast mode (pick_filter_level_fast).
Change-Id: I2473e2131c800ad19755cb6211ad735fecfe2ac0
2013-01-03 16:01:48 -08:00
John Koleszar
16810c10c1
Merge branch 'vp9-preview' of review:webm/libvpx
...
Merge the vp9-preview branch into master.
Change-Id: If700b9054676f24bed9deb59050af546c1ca5296
2012-12-27 09:37:19 -08:00
James Zern
9dab3ce624
add emmintrin_compat.h for builds with gcc < 4
...
Change-Id: If7822e6fcd0d3568b934032322b19ba3e401df26
2012-12-20 14:56:13 -08:00
Yaowu Xu
28765690fe
Changed MAX_PSNR to 100
...
The MAX_PSNR was used to assign a "psnr" number when the mse is close
to zero. The direct assignment is used to prevent divide by zero in
computation. Changing it from 60 to 100 to be consistent against what
is being done in VP9
Change-Id: I4854ffc4961e59d372ec8005a0d52ca46e3c4c1a
2012-12-18 14:36:20 -08:00
Scott LaVarnway
fd671152bc
Merge "Bug fix: use correct count_mb_ref_frame_usage"
2012-12-11 11:00:53 -08:00
Scott LaVarnway
57e12be283
Bug fix: use correct count_mb_ref_frame_usage
...
Change-Id: I9702f3e9ed664c2537e7874698c944620b07fff8
2012-12-10 17:38:55 -08:00
Scott LaVarnway
a0ad16e203
Moved error_bins to macroblock struct
...
Change-Id: Ic9956ddf1c2ddffcf7be7fdfc23ad9a2426fc47a
WIP: Fixing unsafe threading in VP8 encoder.
2012-12-10 17:32:58 -08:00
Scott LaVarnway
2cd48bdc92
Merge "Moved zbin_mode_boost to macroblock struct"
2012-12-10 16:22:57 -08:00
Scott LaVarnway
cc91d655e4
Update correct macroblock quantize_b function ptrs
...
WIP: Fixing unsafe threading in VP8 encoder.
Use the passed in macroblock instead of the macroblock located in
cpi.
Change-Id: I1bfa07de6ea463f2baeaae1bae5d950691bc4afc
2012-12-10 15:23:11 -08:00
Scott LaVarnway
74efda4bd6
Moved zbin_mode_boost to macroblock struct
...
Fixing unsafe threading in VP8 encoder.
Change-Id: Ibf4c89a2043654834747811bc11eb283de0bb830
2012-12-10 12:42:24 -08:00
Scott LaVarnway
3a19eebe4d
Moved zbin_over_quant to macroblock struct
...
Change-Id: I76fe20ade099573997404b8733cf7f79e82fb21e
WIP: Fixing unsafe threading in VP8 encoder.
2012-12-10 10:51:42 -08:00