platform/upstream/libvpx.git
10 years agoMerge "Disable the neon version vpx_yv12_copy_y. For some dimensions, neon code ends...
James Zern [Fri, 7 Mar 2014 23:03:50 +0000 (15:03 -0800)]
Merge "Disable the neon version vpx_yv12_copy_y. For some dimensions, neon code ends up in a dead loop inside. This will fix the unit test failure in svc_test on ARM."

10 years agoMerge "[svc] 1. Add two pass RC options in vp9_spatial_scalable_encoder. 2...
Minghai Shang [Fri, 7 Mar 2014 22:02:35 +0000 (14:02 -0800)]
Merge "[svc] 1. Add two pass RC options in vp9_spatial_scalable_encoder.       2. Add read/write for RC stats file The two pass RC for svc does not work yet. This is just the first step. We need further development to make it working. Change-Id: I8ef0e177dff0b5ed3c97a916beea5123717cc6f2"

10 years agoDisable the neon version vpx_yv12_copy_y.
hkuang [Fri, 7 Mar 2014 18:21:25 +0000 (10:21 -0800)]
Disable the neon version vpx_yv12_copy_y.
For some dimensions, neon code ends up in a dead loop inside.
This will fix the unit test failure in svc_test on ARM.

Change-Id: Ie6098bfaefd86bcf3616a3d0c2c3ff0b154222b5

10 years agoMerge "Use modeled rate distortion costs for non-RD mode"
Jingning Han [Fri, 7 Mar 2014 17:06:24 +0000 (09:06 -0800)]
Merge "Use modeled rate distortion costs for non-RD mode"

10 years agoUse modeled rate distortion costs for non-RD mode
Jingning Han [Fri, 7 Mar 2014 02:56:50 +0000 (18:56 -0800)]
Use modeled rate distortion costs for non-RD mode

This commit replaces SAD cost with modeled rate-distortion cost
for non-RD mode decision. It translates the prediction residual
SSE into estimate rate and reconstruction distorion costs, hence
capturing the quantization setting effect. The compression
performance of speed -7 for rtc set is improved by 14.79%.

Change-Id: Ifda014eb0501d13109fe7f92680bf1410b463632

10 years agovp8cx_set_ref: fix variable assignment
James Zern [Fri, 7 Mar 2014 05:12:47 +0000 (21:12 -0800)]
vp8cx_set_ref: fix variable assignment

assign vpx_ref_frame_t members explicitly avoiding incompatibility in
visual studio builds

Change-Id: I22df4c5ebb772d65b4d72f22949fbde53543d7ec

10 years agoMerge "Avoid unknown warning warnings and fix -Werror on macosx."
James Zern [Fri, 7 Mar 2014 04:28:01 +0000 (20:28 -0800)]
Merge "Avoid unknown warning warnings and fix -Werror on macosx."

10 years agoMerge "configure.sh: quote local variables"
James Zern [Fri, 7 Mar 2014 04:23:58 +0000 (20:23 -0800)]
Merge "configure.sh: quote local variables"

10 years agoMerge "cpu_speed_test - now test one pass and more speeds"
Yaowu Xu [Fri, 7 Mar 2014 01:48:38 +0000 (17:48 -0800)]
Merge "cpu_speed_test - now test one pass and more speeds"

10 years agoMerge "Add speeed 5 to datarate test."
Marco Paniconi [Fri, 7 Mar 2014 00:24:28 +0000 (16:24 -0800)]
Merge "Add speeed 5 to datarate test."

10 years agoconfigure.sh: quote local variables
James Zern [Thu, 6 Mar 2014 23:58:37 +0000 (15:58 -0800)]
configure.sh: quote local variables

fixes issue #711

specifying a multiword CC, e.g., CC='gcc -m32', would cause the failure
under dash

reported in
https://bugs.gentoo.org/show_bug.cgi?id=498136

patch by floppymaster at gmail dot com

Change-Id: I2ba246f765646161538622739961ec0f6c2d8c2d

10 years agoAvoid unknown warning warnings and fix -Werror on macosx.
Tom Finegan [Thu, 6 Mar 2014 22:54:49 +0000 (14:54 -0800)]
Avoid unknown warning warnings and fix -Werror on macosx.

clang on macosx does not support -Wunused-but-set-variable; adding the flag
causes additional warnings about the flag. As a more generalized fix, use
-Werror when checking compiler flag support in order to avoid using
unsupported warning flags.

Change-Id: I2529862e211f880d56491eac3b9fa90fff1aa5c3

10 years agocpu_speed_test - now test one pass and more speeds
Jim Bankoski [Thu, 6 Mar 2014 22:52:52 +0000 (14:52 -0800)]
cpu_speed_test - now test one pass and more speeds

Change-Id: I736f5753ff42782bbb2a401d2c28cd755fa2f8da

10 years agoMerge changes I627eb724,I55d5865b
James Zern [Thu, 6 Mar 2014 22:18:16 +0000 (14:18 -0800)]
Merge changes I627eb724,I55d5865b

* changes:
  configure: add a test for configured source dir
  Makefile: add distclean target

10 years agoAdd speeed 5 to datarate test.
Marco Paniconi [Thu, 6 Mar 2014 21:43:32 +0000 (13:43 -0800)]
Add speeed 5 to datarate test.

Change-Id: I7126e4b36994020cc656d046d10df5d6a6c53e66

10 years agoMerge "Cleaning up labels2mode() function."
Dmitry Kovalev [Thu, 6 Mar 2014 21:15:32 +0000 (13:15 -0800)]
Merge "Cleaning up labels2mode() function."

10 years agoMerge "Removing unused mv_ref_stats[] array."
Dmitry Kovalev [Thu, 6 Mar 2014 20:33:38 +0000 (12:33 -0800)]
Merge "Removing unused mv_ref_stats[] array."

10 years agoMerge "Fixes static analysis issues"
Deb Mukherjee [Thu, 6 Mar 2014 20:07:53 +0000 (12:07 -0800)]
Merge "Fixes static analysis issues"

10 years agoMerge "Removing vp9_onyx.h and moving its content to the encoder."
Dmitry Kovalev [Thu, 6 Mar 2014 19:49:41 +0000 (11:49 -0800)]
Merge "Removing vp9_onyx.h and moving its content to the encoder."

10 years agoCleaning up labels2mode() function.
Dmitry Kovalev [Thu, 6 Mar 2014 19:24:30 +0000 (11:24 -0800)]
Cleaning up labels2mode() function.

Change-Id: I76e39f7c5545ba4e0cd537f530c574531356e94a

10 years agoMerge "vp9_systemdependent: reorder includes avoid proto mismatch"
James Zern [Thu, 6 Mar 2014 19:42:50 +0000 (11:42 -0800)]
Merge "vp9_systemdependent: reorder includes avoid proto mismatch"

10 years agoMerge "configure: Use "cat -n" instead of "pr -n -t""
James Zern [Thu, 6 Mar 2014 19:42:35 +0000 (11:42 -0800)]
Merge "configure: Use "cat -n" instead of "pr -n -t""

10 years agoMerge "move resize_util.c to examples/"
James Zern [Thu, 6 Mar 2014 19:42:19 +0000 (11:42 -0800)]
Merge "move resize_util.c to examples/"

10 years agoMerge "vp9_subpixel_8t_intrin_avx2: fix build w/clang 3.4+"
James Zern [Thu, 6 Mar 2014 19:41:44 +0000 (11:41 -0800)]
Merge "vp9_subpixel_8t_intrin_avx2: fix build w/clang 3.4+"

10 years agoFixes static analysis issues
Deb Mukherjee [Thu, 6 Mar 2014 19:07:06 +0000 (11:07 -0800)]
Fixes static analysis issues

Removes some unused variables and assignments

Change-Id: I228f43d658ce50237d65ce8dc8ab2ccf0a0b21ca

10 years agovp9_subpixel_8t_intrin_avx2: fix build w/clang 3.4+
James Zern [Tue, 4 Mar 2014 04:06:39 +0000 (20:06 -0800)]
vp9_subpixel_8t_intrin_avx2: fix build w/clang 3.4+

clang reports gcc-4.2.1 in e.g., 3.3, 3.4; add a specific clang version
check for _mm256_broadcastsi128_si256

fixes issue #720

Change-Id: I5c8e3c27fdea05d8a5b050e8cb74894b595f4709

10 years agoMerge "Add neon register state check for unit test."
James Zern [Thu, 6 Mar 2014 07:48:55 +0000 (23:48 -0800)]
Merge "Add neon register state check for unit test."

10 years agoRemoving vp9_onyx.h and moving its content to the encoder.
Dmitry Kovalev [Thu, 6 Mar 2014 07:33:22 +0000 (23:33 -0800)]
Removing vp9_onyx.h and moving its content to the encoder.

Change-Id: I03451c88536bc498edddbe0cd9773ff79da085c2

10 years agoMerge "Combining mode_mv[] and second_mode_mv[]."
Dmitry Kovalev [Thu, 6 Mar 2014 06:29:56 +0000 (22:29 -0800)]
Merge "Combining mode_mv[] and second_mode_mv[]."

10 years agoMerge "Cleaning up mode cost manipulations."
Dmitry Kovalev [Thu, 6 Mar 2014 06:28:05 +0000 (22:28 -0800)]
Merge "Cleaning up mode cost manipulations."

10 years agoMerge "Adding vp9_cost.{h, c} files."
Dmitry Kovalev [Thu, 6 Mar 2014 06:26:28 +0000 (22:26 -0800)]
Merge "Adding vp9_cost.{h, c} files."

10 years agovp9_systemdependent: reorder includes avoid proto mismatch
James Zern [Thu, 6 Mar 2014 06:02:29 +0000 (22:02 -0800)]
vp9_systemdependent: reorder includes avoid proto mismatch

fixes a warning in vs9/x64 related to ceil()

Change-Id: Ic4bde9d0b7e961546dbe304de74aa37fc02fcf94

10 years agoMerge "Inlining and removing vp9_set_mbmode_and_mvs()."
Dmitry Kovalev [Thu, 6 Mar 2014 05:45:48 +0000 (21:45 -0800)]
Merge "Inlining and removing vp9_set_mbmode_and_mvs()."

10 years agoMerge "Replacing int_mv with MV in full_pixel_motion_search()."
Dmitry Kovalev [Thu, 6 Mar 2014 05:44:54 +0000 (21:44 -0800)]
Merge "Replacing int_mv with MV in full_pixel_motion_search()."

10 years agoMerge "Removing vp9_onyxd_int.h file."
Dmitry Kovalev [Thu, 6 Mar 2014 05:40:31 +0000 (21:40 -0800)]
Merge "Removing vp9_onyxd_int.h file."

10 years agoMerge "Renaming NMV_UPDATE_PROB to MV_UPDATE_PROB."
Dmitry Kovalev [Thu, 6 Mar 2014 05:39:09 +0000 (21:39 -0800)]
Merge "Renaming NMV_UPDATE_PROB to MV_UPDATE_PROB."

10 years agoAdd neon register state check for unit test.
hkuang [Fri, 28 Feb 2014 01:55:23 +0000 (17:55 -0800)]
Add neon register state check for unit test.

Change-Id: I2c117ddeae3da5119f549b036a5699a8092819d3

10 years agoconfigure: add a test for configured source dir
James Zern [Wed, 5 Mar 2014 22:13:01 +0000 (14:13 -0800)]
configure: add a test for configured source dir

prevents out of tree build failures when the source tree has already
been configured; modeled after a similar check in autoconf

Change-Id: I627eb7243576f4d753141dfcb4ed4e34544d03a7

10 years agoMakefile: add distclean target
James Zern [Wed, 5 Mar 2014 22:11:07 +0000 (14:11 -0800)]
Makefile: add distclean target

wipes out configure generated files

Change-Id: I55d5865b84c6dfc19f13011e66e3483c54bf6a15

10 years agoMerge "configure: Check for make"
James Zern [Thu, 6 Mar 2014 02:12:43 +0000 (18:12 -0800)]
Merge "configure: Check for make"

10 years agoAdjust some speed features for --rt (-5)
Yaowu Xu [Wed, 5 Mar 2014 21:52:29 +0000 (13:52 -0800)]
Adjust some speed features for --rt (-5)

Change-Id: Ibabd8440ff5c9dd7f300f317e2c9d50e8e84aab9

10 years agoMerge "Fix set_mode_info settings"
Jingning Han [Thu, 6 Mar 2014 00:01:06 +0000 (16:01 -0800)]
Merge "Fix set_mode_info settings"

10 years agoMerge "Remove repeated tx_mode_select calls"
Jingning Han [Thu, 6 Mar 2014 00:00:58 +0000 (16:00 -0800)]
Merge "Remove repeated tx_mode_select calls"

10 years agoMerge "Move set_speed_feature out of frame encoding"
Jingning Han [Thu, 6 Mar 2014 00:00:50 +0000 (16:00 -0800)]
Merge "Move set_speed_feature out of frame encoding"

10 years agoMerge "vp9_picklpf.c: remove unused functions and params"
Yaowu Xu [Wed, 5 Mar 2014 23:39:44 +0000 (15:39 -0800)]
Merge "vp9_picklpf.c: remove unused functions and params"

10 years agoconfigure: Check for make
Tom Finegan [Wed, 5 Mar 2014 23:30:18 +0000 (15:30 -0800)]
configure: Check for make

Stop configuration and report an error when make is not available.

Change-Id: I599a4c43386e3657748d5b875afb235701e6b57f

10 years agoconfigure: Use "cat -n" instead of "pr -n -t"
Tom Finegan [Wed, 5 Mar 2014 23:18:23 +0000 (15:18 -0800)]
configure: Use "cat -n" instead of "pr -n -t"

Configuration logging is passed through pr, but nothing configure
does actually requires pr. Use cat instead.

Change-Id: I451217882a329c2bfb8942ac86ac624a7feef670

10 years agoMerge "improved speed of 4x4 sse2 fdct."
Andrew Russell [Wed, 5 Mar 2014 22:35:44 +0000 (14:35 -0800)]
Merge "improved speed of 4x4 sse2 fdct."

10 years agoInlining and removing vp9_set_mbmode_and_mvs().
Dmitry Kovalev [Wed, 5 Mar 2014 19:22:09 +0000 (11:22 -0800)]
Inlining and removing vp9_set_mbmode_and_mvs().

Change-Id: I9717ef611ef9c39b109b2358c9771bf7fae2dd50

10 years agovp9_picklpf.c: remove unused functions and params
Yaowu Xu [Mon, 3 Mar 2014 23:16:25 +0000 (15:16 -0800)]
vp9_picklpf.c: remove unused functions and params

Change-Id: Ib4d850227cef35694c663feb157765a2cbf84699

10 years agoMerge "Merging force-keyframe example into simple_encoder."
Dmitry Kovalev [Wed, 5 Mar 2014 21:57:49 +0000 (13:57 -0800)]
Merge "Merging force-keyframe example into simple_encoder."

10 years agoMerge "Cleaning up vp9_refining_search_sadx4()."
Dmitry Kovalev [Wed, 5 Mar 2014 21:57:23 +0000 (13:57 -0800)]
Merge "Cleaning up vp9_refining_search_sadx4()."

10 years agoCleaning up mode cost manipulations.
Dmitry Kovalev [Wed, 5 Mar 2014 20:28:30 +0000 (12:28 -0800)]
Cleaning up mode cost manipulations.

Change-Id: If175d97990454b171b6abeddb76d142497484487

10 years agoMerging force-keyframe example into simple_encoder.
Dmitry Kovalev [Tue, 4 Mar 2014 01:48:06 +0000 (17:48 -0800)]
Merging force-keyframe example into simple_encoder.

The only difference between two examples was usage of VPX_EFLAG_FORCE_KF
flag for frame encoding. Moving this functionality into simple_encoder
with additional command line option.

Change-Id: Ia3c4209be073eeb541d4ac6b41bd0f12812f6676

10 years agoMerge "Converting vp8cx_set_ref example to use new API."
Dmitry Kovalev [Wed, 5 Mar 2014 20:01:24 +0000 (12:01 -0800)]
Merge "Converting vp8cx_set_ref example to use new API."

10 years agoAdding vp9_cost.{h, c} files.
Dmitry Kovalev [Wed, 5 Mar 2014 19:57:57 +0000 (11:57 -0800)]
Adding vp9_cost.{h, c} files.

Change-Id: If90c1bc822873156d4e38fca1938e4907f6c95f0

10 years agoMerge "Prune RT mode decisions for BLOCK_32x32 and up"
Alex Converse [Wed, 5 Mar 2014 19:57:04 +0000 (11:57 -0800)]
Merge "Prune RT mode decisions for BLOCK_32x32 and up"

10 years agoCombining mode_mv[] and second_mode_mv[].
Dmitry Kovalev [Wed, 5 Mar 2014 19:12:00 +0000 (11:12 -0800)]
Combining mode_mv[] and second_mode_mv[].

Change-Id: Ie5f69d39b49a4169cc731d4487e4668fb5af4b4f

10 years agoMerge "Cleaning up vp9_mvref_common.c."
Dmitry Kovalev [Wed, 5 Mar 2014 18:57:37 +0000 (10:57 -0800)]
Merge "Cleaning up vp9_mvref_common.c."

10 years agoMerge "Removing VP9_PTR."
Dmitry Kovalev [Wed, 5 Mar 2014 18:57:10 +0000 (10:57 -0800)]
Merge "Removing VP9_PTR."

10 years agoCleaning up vp9_refining_search_sadx4().
Dmitry Kovalev [Fri, 28 Feb 2014 18:24:10 +0000 (10:24 -0800)]
Cleaning up vp9_refining_search_sadx4().

Change-Id: I3ed0a95645a66be069ce92a1fad8083a87d01001

10 years agoRemoving vp9_onyxd_int.h file.
Dmitry Kovalev [Mon, 3 Mar 2014 22:34:39 +0000 (14:34 -0800)]
Removing vp9_onyxd_int.h file.

Moving VP9Decompressor struct from vp9_onyxd_int.h to vp9_onyxd.h.

Change-Id: Ic86c15e44130541a7f692db43ef9109293f99ae8

10 years agoConverting vp8cx_set_ref example to use new API.
Dmitry Kovalev [Tue, 4 Mar 2014 01:41:51 +0000 (17:41 -0800)]
Converting vp8cx_set_ref example to use new API.

Change-Id: I8e40811c85c2246da75d9f06c4fda1a5079fcc71

10 years agoRenaming NMV_UPDATE_PROB to MV_UPDATE_PROB.
Dmitry Kovalev [Tue, 4 Mar 2014 19:00:11 +0000 (11:00 -0800)]
Renaming NMV_UPDATE_PROB to MV_UPDATE_PROB.

Change-Id: I7f3bcca103f0b1f6b3c064b61472543de9a8288a

10 years agoFix set_mode_info settings
Jingning Han [Tue, 4 Mar 2014 19:36:21 +0000 (11:36 -0800)]
Fix set_mode_info settings

Properly set intra mode information entries.

Change-Id: Ie3a8992e415dcdd9087a55993bbca06087a0107a

10 years agoRemove repeated tx_mode_select calls
Jingning Han [Tue, 4 Mar 2014 19:30:27 +0000 (11:30 -0800)]
Remove repeated tx_mode_select calls

The frame level transform size selection is done inside
encode_frame_internal().

Change-Id: Id7e5e417a3a3f88f875bf12b21bb8029bc6d0d82

10 years agoMerge changes Idfb71188,Ibe1e72db
James Zern [Wed, 5 Mar 2014 08:44:42 +0000 (00:44 -0800)]
Merge changes Idfb71188,Ibe1e72db

* changes:
  build: convert rtcd.sh to perl
  configure: check for perl

10 years agoMerge "msvs: filter out include-only asm files"
James Zern [Wed, 5 Mar 2014 07:34:05 +0000 (23:34 -0800)]
Merge "msvs: filter out include-only asm files"

10 years agoMerge changes Ibc5352e6,I28d0ec5c,I5c4fc3bb,Ie574a3a7
James Zern [Wed, 5 Mar 2014 06:15:59 +0000 (22:15 -0800)]
Merge changes Ibc5352e6,I28d0ec5c,I5c4fc3bb,Ie574a3a7

* changes:
  nestegg: ne_buffer_read: quiet uint64->size_t warning
  nestegg: quiet read related uint64->size_t warnings
  nestegg: ne_parse: normalize size_t usage
  nestegg: ne_read_(string|binary|block): normalize size_t usage

10 years agomsvs: filter out include-only asm files
James Zern [Wed, 5 Mar 2014 03:46:29 +0000 (19:46 -0800)]
msvs: filter out include-only asm files

avoid building x86inc.asm, x86_abi_support.asm and vpx_config.asm as
they provide no symbols themselves

fixes:
 warning LNK4221: This object file does not define any previously
undefined public symbols, so it will not be used by any link operation
that consumes this library

Change-Id: Iecfe03aa76efbfc07c2af5b91ba5405634e45f1d

10 years agoMove set_speed_feature out of frame encoding
Jingning Han [Tue, 4 Mar 2014 18:24:25 +0000 (10:24 -0800)]
Move set_speed_feature out of frame encoding

Set speed features before running frame encoding. This avoids
redundant RD threshold calculation in key frame coding.

Change-Id: If8e3cf2c02976baa59b310c1c23af9eea0c46e36

10 years agoMerge "vp8_decrypt_test.c: Silence MSVC data loss warning."
Tom Finegan [Tue, 4 Mar 2014 22:31:16 +0000 (14:31 -0800)]
Merge "vp8_decrypt_test.c: Silence MSVC data loss warning."

10 years agoPrune RT mode decisions for BLOCK_32x32 and up
Alex Converse [Fri, 28 Feb 2014 04:07:43 +0000 (20:07 -0800)]
Prune RT mode decisions for BLOCK_32x32 and up

* Remove all non-DC intra modes for BLOCK_32x32 and up
* Remove all intra modes for blocks bigger than BLOCK_32x32
* Remove ZEROMV for BLOCK_32x32 and up
* Only consider NEARESTMV for blocks bigger than BLOCK_32x32

Change-Id: Ia18351a238213e2f072f9e481d622949346a245f

10 years agoAvoid gf/altref boost in pick_q under svc cbr mode.
Marco Paniconi [Tue, 4 Mar 2014 02:51:32 +0000 (18:51 -0800)]
Avoid gf/altref boost in pick_q under svc cbr mode.

Change-Id: Ib719a9f74924718715592e0238bc391ae239d026

10 years agonestegg: ne_buffer_read: quiet uint64->size_t warning
James Zern [Tue, 4 Mar 2014 02:40:15 +0000 (18:40 -0800)]
nestegg: ne_buffer_read: quiet uint64->size_t warning

the buffer length is already a size_t making the offset into it limited

Change-Id: Ibc5352e69049186cc07f7d86117696b11a98a600

10 years agonestegg: quiet read related uint64->size_t warnings
James Zern [Tue, 4 Mar 2014 02:40:06 +0000 (18:40 -0800)]
nestegg: quiet read related uint64->size_t warnings

ne_read_ebml_lacing / ne_read_discard_padding
+ add some asserts

Change-Id: I28d0ec5c8f901ae0a35928a8f512c51b3ecf177d

10 years agonestegg: ne_parse: normalize size_t usage
James Zern [Tue, 4 Mar 2014 02:40:00 +0000 (18:40 -0800)]
nestegg: ne_parse: normalize size_t usage

in calls to ne_read_simple / ne_io_read_skip

Change-Id: I5c4fc3bb41832973830ad54248839d6a4944aae6

10 years agonestegg: ne_read_(string|binary|block): normalize size_t usage
James Zern [Tue, 4 Mar 2014 02:39:43 +0000 (18:39 -0800)]
nestegg: ne_read_(string|binary|block): normalize size_t usage

+ nestegg_track_codec_data
quiets uint64_t -> size_t warnings
the sizes used are previously validated against their associated LIMIT_*
values

Change-Id: Ie574a3a7496d0143bd58b778145c27f38dd6a4da

10 years agovp8_decrypt_test.c: Silence MSVC data loss warning.
Tom Finegan [Tue, 4 Mar 2014 02:04:35 +0000 (18:04 -0800)]
vp8_decrypt_test.c: Silence MSVC data loss warning.

- Change type of encrypt_buffer() offset argument to ptrdiff_t, and change the
  type of the size argument to size_t.
- Update size argument encrypt_buffer() in vp8_boolcoder_test.c with
  same.

Change-Id: Ie29c7c82c73318bee01b89c6fb4c4e1442eef03c

10 years agomove resize_util.c to examples/
James Zern [Tue, 4 Mar 2014 02:03:23 +0000 (18:03 -0800)]
move resize_util.c to examples/

Change-Id: I0bc68e129ea408095869c9e7b0b15d83e22dbf4e

10 years agoMerge "Cleaning up vp9_init_dsmotion_compensation()."
Dmitry Kovalev [Tue, 4 Mar 2014 01:27:51 +0000 (17:27 -0800)]
Merge "Cleaning up vp9_init_dsmotion_compensation()."

10 years agoRemoving VP9_PTR.
Dmitry Kovalev [Tue, 4 Mar 2014 00:50:16 +0000 (16:50 -0800)]
Removing VP9_PTR.

Change-Id: Ib49d8dbc67c590f22a1a70251ff607c9f38febd7

10 years agoRefactoring motion search libs
Deb Mukherjee [Fri, 28 Feb 2014 22:29:22 +0000 (14:29 -0800)]
Refactoring motion search libs

The core motion estimation fucntions all return sad now consistently.
The only exception is vp9_full_pixel_diamond(), however the core diamond
and refining search routines called from vp9_full_pixel_diamond() also
return SAD. If variance of pred error + mv cost is desired it must be
calculated explicitly outside these functions. For very fast encoding,
hopefully this will eliminate some redundant computations.

Also suggests reimplementing FAST_HEX with the vp9_pattern_search
framework. It is not exactly the same as the existing FAST_HEX, but
performance is slightly better and speed is very similar. Enables
removing a lot of duplicate code.

Change-Id: I152736393438c25bdf7e96b37cbb8ce330f4f94a

10 years agobuild: convert rtcd.sh to perl
James Zern [Mon, 24 Feb 2014 00:33:14 +0000 (16:33 -0800)]
build: convert rtcd.sh to perl

significantly speeds up file generation.

the goal of this change is to convert rtcd.sh to perl as directly as
possible to allow for simple comparison. future changes can make it more
perl-like.

---
Linux
    [CREATE] vpx_scale_rtcd.h
real    0m0.485s ->    0m0.022s
    [CREATE] vp8_rtcd.h
real    0m4.619s ->    0m0.060s
    [CREATE] vp9_rtcd.h
real    0m10.102s ->    0m0.087s

Windows
    [CREATE] vpx_scale_rtcd.h
real    0m8.360s ->    0m0.080s
    [CREATE] vp8_rtcd.h
real    1m8.083s ->    0m0.160s
    [CREATE] vp9_rtcd.h
real    2m6.489s ->    0m0.233s

Change-Id: Idfb71188206c91237d6a3c3a81dfe00d103f11ee

10 years agoconfigure: check for perl
James Zern [Fri, 28 Feb 2014 20:24:46 +0000 (12:24 -0800)]
configure: check for perl

Though not (currently) required this tests for perl in all
configurations.

Fixes issue #671

Change-Id: Ibe1e72db74bb4cf3252b73c68ff1dfc2ecfc902b

10 years agoReplacing int_mv with MV in full_pixel_motion_search().
Dmitry Kovalev [Mon, 3 Mar 2014 22:43:06 +0000 (14:43 -0800)]
Replacing int_mv with MV in full_pixel_motion_search().

Change-Id: I16dd4d4aaae8ce6a482da3c9d142f41fe9155e82

10 years agoimproved speed of 4x4 sse2 fdct.
Andrew Russell [Mon, 3 Mar 2014 15:38:02 +0000 (07:38 -0800)]
improved speed of 4x4 sse2 fdct.

* speed improvment of 30 percent achieved
* multiplies and adds remain the same
* non-arithmetic instructions minimized by hand, by:
   -expanding 2 pass loop
   -removing irrelivant "shuffles"
   -combining last two rounding steps
* further improvments may be possible

Change-Id: Idec2c3f52910c48e6a0e0f9aefed5cae31b0b8c0

10 years agoMerge "Adding get_tx_type() instead of get_tx_type_{8x8, 16x16}."
Dmitry Kovalev [Mon, 3 Mar 2014 22:24:28 +0000 (14:24 -0800)]
Merge "Adding get_tx_type() instead of get_tx_type_{8x8, 16x16}."

10 years agoMerge "Moving FRAME_CONTEXT & FRAME_COUNTS to vp9_entropymode.h."
Dmitry Kovalev [Mon, 3 Mar 2014 22:24:04 +0000 (14:24 -0800)]
Merge "Moving FRAME_CONTEXT & FRAME_COUNTS to vp9_entropymode.h."

10 years agoMerge "Adding consts and cleaning up vp9_rdopt."
Dmitry Kovalev [Mon, 3 Mar 2014 22:17:31 +0000 (14:17 -0800)]
Merge "Adding consts and cleaning up vp9_rdopt."

10 years agoMerge "cost_coefs approximation speed up"
Jim Bankoski [Mon, 3 Mar 2014 22:08:24 +0000 (14:08 -0800)]
Merge "cost_coefs approximation speed up"

10 years agoMerge changes I67b2b0d7,I24c024d1,I3703d739,Ia6f669a9
James Zern [Mon, 3 Mar 2014 20:59:34 +0000 (12:59 -0800)]
Merge changes I67b2b0d7,I24c024d1,I3703d739,Ia6f669a9

* changes:
  nestegg: packet_track: fix uint64->uint32 warning
  nestegg: fix track_scale double->uint64 warning
  nestegg: fix track_number uint64->uint32 warnings
  nestegg: add ne_get_uint32 convenience function

10 years agoMerge "Enforce intra_y_mode_mask for inter rd."
Alex Converse [Mon, 3 Mar 2014 20:55:25 +0000 (12:55 -0800)]
Merge "Enforce intra_y_mode_mask for inter rd."

10 years agoMerge "Refactor ZEROMV equivalence"
Alex Converse [Mon, 3 Mar 2014 20:30:22 +0000 (12:30 -0800)]
Merge "Refactor ZEROMV equivalence"

10 years agoMerge "Reset search_method for non-rd pick mode"
Yunqing Wang [Mon, 3 Mar 2014 20:21:52 +0000 (12:21 -0800)]
Merge "Reset search_method for non-rd pick mode"

10 years agoAdding get_tx_type() instead of get_tx_type_{8x8, 16x16}.
Dmitry Kovalev [Thu, 27 Feb 2014 23:46:48 +0000 (15:46 -0800)]
Adding get_tx_type() instead of get_tx_type_{8x8, 16x16}.

Change-Id: I4a54b12e5229705222c5a101258b9d1f81e2948d

10 years agoAdding consts and cleaning up vp9_rdopt.
Dmitry Kovalev [Mon, 3 Mar 2014 20:19:51 +0000 (12:19 -0800)]
Adding consts and cleaning up vp9_rdopt.

Change-Id: I9423b543e1be414e5c9e10480b813f06e6b88f8a

10 years agoMerge "Merging error-resilient example into simple_encoder."
Dmitry Kovalev [Mon, 3 Mar 2014 20:10:37 +0000 (12:10 -0800)]
Merge "Merging error-resilient example into simple_encoder."

10 years agocost_coefs approximation speed up
Jim Bankoski [Mon, 3 Mar 2014 19:49:13 +0000 (11:49 -0800)]
cost_coefs approximation speed up

This patch adds a new speed feature which doesn't do the rather
expensive entropy context lookup or save to the table,  while
doing costing.

The speed up on desktop36p.y4m is around 10% other clips much less.

On the RTC test set this was + 1% in overall datarate.

Change-Id: Ia5144bbf45270671e7be9c8e4055369909e2f738

10 years agoRefactor ZEROMV equivalence
Alex Converse [Fri, 28 Feb 2014 18:28:57 +0000 (10:28 -0800)]
Refactor ZEROMV equivalence

This gets more accurate mode hit stats. It's also the first step to
handling ZEROMV not being allowed more intelligently.

Change-Id: I5de6734507b5177bf73e9ddbad923f218c39f3e4