platform/upstream/libvpx.git
11 years agoRough merge of master into experimental
John Koleszar [Wed, 7 Nov 2012 00:59:01 +0000 (16:59 -0800)]
Rough merge of master into experimental

Creates a merge between the master and experimental branches. Fixes a
number of conflicts in the build system to allow *either* VP8 or VP9
to be built. Specifically either:

  $ configure --disable-vp9 $ configure --disable-vp8
  --disable-unit-tests

VP9 still exports its symbols and files as VP8, so that will be
resolved in the next commit.

Unit tests are broken in VP9, but this isn't a new issue. They are
fixed upstream on origin/experimental as of this writing, but rebasing
this merge proved difficult, so will tackle that in a second merge
commit.

Change-Id: I2b7d852c18efd58d1ebc621b8041fe0260442c21

11 years agoMerge other top-level C code
John Koleszar [Tue, 6 Nov 2012 20:08:05 +0000 (12:08 -0800)]
Merge other top-level C code

Change-Id: I0ff77f51595599cc3de5183c6c655fd261e3d925

11 years agovpxenc: merge with master
John Koleszar [Tue, 6 Nov 2012 20:02:42 +0000 (12:02 -0800)]
vpxenc: merge with master

Change-Id: Ic3e3559384a0e72abdc9b66a19865474c2a41b38

11 years agovpxdec: merge with master
John Koleszar [Tue, 6 Nov 2012 18:09:36 +0000 (10:09 -0800)]
vpxdec: merge with master

Change-Id: I69fd876dd51eb2b4a4a449faa5922225e9508b42

11 years agovpx: merge with master
John Koleszar [Mon, 5 Nov 2012 20:37:14 +0000 (12:37 -0800)]
vpx: merge with master

Change-Id: I44b3ad780cef6f448fa17ff8e28fea87ef9cd518

11 years agovpx_ports: merge with master
John Koleszar [Fri, 2 Nov 2012 22:39:14 +0000 (15:39 -0700)]
vpx_ports: merge with master

Change-Id: I25c067326153455abe1a79f8f44f70b87350e655

11 years agobuild: merge with master
John Koleszar [Fri, 2 Nov 2012 22:17:36 +0000 (15:17 -0700)]
build: merge with master

Change-Id: I8ea836ce92c1c96f1e2bdf45e704d36ec9dbc401

11 years agoMerge "ads2gas.pl: various enhancements to work with flash."
Johann [Fri, 2 Nov 2012 16:26:18 +0000 (09:26 -0700)]
Merge "ads2gas.pl: various enhancements to work with flash."

11 years agoMerge "vpx_scale: sync from experimental"
John Koleszar [Fri, 2 Nov 2012 16:16:41 +0000 (09:16 -0700)]
Merge "vpx_scale: sync from experimental"

11 years agovpx_scale: sync from experimental
John Koleszar [Fri, 2 Nov 2012 02:14:42 +0000 (19:14 -0700)]
vpx_scale: sync from experimental

Import changes made on the experimental branch in preparation for
merging the two branches.

Change-Id: I7b5b8fb4fca155cb1d72e7ba13eef18e6a94a298

11 years agovpx_scale: sync from master
John Koleszar [Fri, 2 Nov 2012 00:53:44 +0000 (17:53 -0700)]
vpx_scale: sync from master

Update vpx_scale from current code in master, run style transform, fix
lint warnings.

Change-Id: I47eadeb5b6881d448ea3728537f9b8a5b5aac78e

11 years agoads2gas.pl: various enhancements to work with flash.
Ahmad Sharif [Thu, 1 Nov 2012 20:01:14 +0000 (13:01 -0700)]
ads2gas.pl: various enhancements to work with flash.

TEST=Ran it on different asm files.

Change-Id: Ief2a009366787954d0eb5c356c64acaef350cf84

11 years agoRename vp8/ codec directory to vp9/.
Ronald S. Bultje [Thu, 1 Nov 2012 18:09:58 +0000 (11:09 -0700)]
Rename vp8/ codec directory to vp9/.

Change-Id: Ic084c475844b24092a433ab88138cf58af3abbe4

11 years agoAdjust style to match Google Coding Style a little more closely.
Ronald S. Bultje [Wed, 31 Oct 2012 23:09:17 +0000 (16:09 -0700)]
Adjust style to match Google Coding Style a little more closely.

Most of these were picked up by jenkins in the commit that changed
the vp8 namespace to vp9 in common/.

Change-Id: I5cbd56ffc753b92ef805133cda6acc1713a13878

11 years agoRemove vp8 in local symbols.
Ronald S. Bultje [Wed, 31 Oct 2012 21:40:53 +0000 (14:40 -0700)]
Remove vp8 in local symbols.

For non-static functions, change the prefix to vp9_. For static functions,
remove the prefix. Also fix some comments, remove unused code or unused
function prototypes.

Change-Id: I1f8be05362f66060fe421c3d4c9a906fdf835de5

11 years agovp8dx_receive_compressed_data() cleanup
Scott LaVarnway [Wed, 31 Oct 2012 20:35:13 +0000 (13:35 -0700)]
vp8dx_receive_compressed_data() cleanup

Change-Id: I6edf0626d00ae177c7c04eec64e1ec0dd861dfbe

11 years agoChange name of common top-level structures from VP8 to VP9.
Ronald S. Bultje [Wed, 31 Oct 2012 00:53:32 +0000 (17:53 -0700)]
Change name of common top-level structures from VP8 to VP9.

This change encompasses VP8_PTR, VP8_COMP, VP8D_COMP, VP8_COMMON,
VP8Decompressor and VP8Common.

Change-Id: I514ef4ad4e682370f36d656af1c09ee20da216ad

11 years agoChange non-function symbol vp8_ prefixes to vp9_.
Ronald S. Bultje [Wed, 31 Oct 2012 00:12:12 +0000 (17:12 -0700)]
Change non-function symbol vp8_ prefixes to vp9_.

For local symbols, make them static instead.

Change-Id: I13d60947a46f711bc8991e16100cea2a13e3a22e

11 years agoMerge "Change common vp8_ public symbol prefixes to vp9_." into experimental
Ronald S. Bultje [Wed, 31 Oct 2012 17:04:03 +0000 (10:04 -0700)]
Merge "Change common vp8_ public symbol prefixes to vp9_." into experimental

11 years agoChange common vp8_ public symbol prefixes to vp9_.
Ronald S. Bultje [Tue, 30 Oct 2012 23:25:53 +0000 (16:25 -0700)]
Change common vp8_ public symbol prefixes to vp9_.

Change-Id: Ic5a5f60e1ff9d9ccae4174160d36529466eeb509

11 years agoAdd forward transform function to rtcd
Yunqing Wang [Wed, 31 Oct 2012 16:38:51 +0000 (09:38 -0700)]
Add forward transform function to rtcd

Added vp8_fht to rtcd_defs.sh

Change-Id: I929b0bf878185a2f0e031dc8c70a418286d509aa

11 years agoAdjust style to match Google Coding Style a little more closely.
Ronald S. Bultje [Tue, 30 Oct 2012 23:16:28 +0000 (16:16 -0700)]
Adjust style to match Google Coding Style a little more closely.

Most of these were picked up in the previous commit (prefix change from
vp8_ to vp9_), but I'm pushing this separately so that it's easier to
review.

Change-Id: Ifce2cdd6f008f4b1fbc2d89b5196d75e35fe115d

11 years agoChange decoder vp8_ and vp8dx_ public symbol prefixes to vp9_.
Ronald S. Bultje [Tue, 30 Oct 2012 21:51:31 +0000 (14:51 -0700)]
Change decoder vp8_ and vp8dx_ public symbol prefixes to vp9_.

Change-Id: Iedb4c3b4171d8640cc525727b4c3658e2bb400db

11 years agoAdjust style to match Google Coding Style a little more closely.
Ronald S. Bultje [Tue, 30 Oct 2012 21:25:33 +0000 (14:25 -0700)]
Adjust style to match Google Coding Style a little more closely.

Most of these were picked up in the previous commit (prefix change from
vp8_ to vp9_), but I'm pushing this separately so that it's easier to
review.

Change-Id: I91e959895778b8632d7d33375523df8a7568a490

11 years agoChange encoder vp8_ and vp8cx_ public symbol prefixes to vp9_.
Ronald S. Bultje [Tue, 30 Oct 2012 19:58:42 +0000 (12:58 -0700)]
Change encoder vp8_ and vp8cx_ public symbol prefixes to vp9_.

Change-Id: Ie2e3652591b010ded10c216501ce24fd95d0aec5

11 years agoFixed style warnings
Yunqing Wang [Wed, 31 Oct 2012 00:54:22 +0000 (17:54 -0700)]
Fixed style warnings

Fixed some style warnings.

Change-Id: I9eb77c3bf6d63628feef1b0c936e905bf4f2089d

11 years agoConvert the transforms to integer forms.
Yunqing Wang [Thu, 18 Oct 2012 23:31:59 +0000 (16:31 -0700)]
Convert the transforms to integer forms.

Converted the forward and inverse transforms to integer forms.

Modify #define TEST_INT 1/0
in the code to call integer/float version of transforms.

The tests showed that average OVERALL PSNR loss was less than 0.1%.

Change-Id: I1dfa4eeab6412597e3b970ce299cf0e116a917e6

11 years agoMerge "dequant invoke macro removal" into experimental
Scott LaVarnway [Tue, 30 Oct 2012 19:49:40 +0000 (12:49 -0700)]
Merge "dequant invoke macro removal" into experimental

11 years agodequant invoke macro removal
Scott LaVarnway [Tue, 30 Oct 2012 19:09:49 +0000 (12:09 -0700)]
dequant invoke macro removal

Change-Id: Ifa17e698149adc063476e7d16eb727f01e88b447

11 years agoMerge "Separated experiment for subpel refmv selection" into experimental
Paul Wilkins [Tue, 30 Oct 2012 18:00:30 +0000 (11:00 -0700)]
Merge "Separated experiment for subpel refmv selection" into experimental

11 years agoRemove old experiment.
Paul Wilkins [Tue, 30 Oct 2012 17:36:09 +0000 (17:36 +0000)]
Remove old experiment.

Delete code relating to featureupdates experiment.

Change-Id: If218762c658bb8cbb3007cf2069123b3e05adcbc

11 years agoSeparated experiment for subpel refmv selection
Yaowu Xu [Tue, 30 Oct 2012 16:43:24 +0000 (09:43 -0700)]
Separated experiment for subpel refmv selection

As suggested by Paul, this commit separate the subpel refmv selection
into a separate experiment. It also changed a couple variable names
to better reflect the nature of the variables.

Change-Id: Id951c3cadc61a982dd15afe641000f60213b8995

11 years agoMerge "Remove "switchable_interp" from experiment list" into experimental
Paul Wilkins [Tue, 30 Oct 2012 16:51:37 +0000 (09:51 -0700)]
Merge "Remove "switchable_interp" from experiment list" into experimental

11 years agoMerge "seg_common: give all exported symbols a vp9_ prefix." into experimental
Paul Wilkins [Tue, 30 Oct 2012 15:54:00 +0000 (08:54 -0700)]
Merge "seg_common: give all exported symbols a vp9_ prefix." into experimental

11 years agoRemove "switchable_interp" from experiment list
Yaowu Xu [Tue, 30 Oct 2012 15:53:47 +0000 (08:53 -0700)]
Remove "switchable_interp" from experiment list

Now this experiment has been merged.

Change-Id: I6c93784df89434c52a4eb8f977cd3745e269abf9

11 years agoMerge "boolhuff/dboolhuff: give exported symbols a vp9_ prefix." into experimental
Paul Wilkins [Tue, 30 Oct 2012 15:53:03 +0000 (08:53 -0700)]
Merge "boolhuff/dboolhuff: give exported symbols a vp9_ prefix." into experimental

11 years agoMerge "segmentation: make local symbols static." into experimental
Paul Wilkins [Tue, 30 Oct 2012 15:52:59 +0000 (08:52 -0700)]
Merge "segmentation: make local symbols static." into experimental

11 years agoMerge "encodeframe: make local symbols static." into experimental
Paul Wilkins [Tue, 30 Oct 2012 15:52:52 +0000 (08:52 -0700)]
Merge "encodeframe: make local symbols static." into experimental

11 years agoMerge "entropymode: put print_mode_contexts under #ifdef MODE_STATS." into experimental
Paul Wilkins [Tue, 30 Oct 2012 15:52:40 +0000 (08:52 -0700)]
Merge "entropymode: put print_mode_contexts under #ifdef MODE_STATS." into experimental

11 years agoMerge changes I5898f64d,Ie80d13ce into experimental
Paul Wilkins [Tue, 30 Oct 2012 15:52:28 +0000 (08:52 -0700)]
Merge changes I5898f64d,Ie80d13ce into experimental

* changes:
  ssim: remove unused function dssim().
  detokenize: make local symbols static.

11 years agoMerge "firstpass: make local symbols static." into experimental
Paul Wilkins [Tue, 30 Oct 2012 15:18:39 +0000 (08:18 -0700)]
Merge "firstpass: make local symbols static." into experimental

11 years agoMerge "bitstream: give exported symbols a vp9_ prefix; make local symbols static...
Paul Wilkins [Tue, 30 Oct 2012 15:18:28 +0000 (08:18 -0700)]
Merge "bitstream: give exported symbols a vp9_ prefix; make local symbols static." into experimental

11 years agoMerge "alloccommon: give exported symbols a vp9_ prefix." into experimental
Paul Wilkins [Tue, 30 Oct 2012 15:18:16 +0000 (08:18 -0700)]
Merge "alloccommon: give exported symbols a vp9_ prefix." into experimental

11 years agoMerge "Make implicit_segmentation-related code an experiment." into experimental
Paul Wilkins [Tue, 30 Oct 2012 15:18:10 +0000 (08:18 -0700)]
Merge "Make implicit_segmentation-related code an experiment." into experimental

11 years agoMerge "decodframe: make local symbol static." into experimental
Paul Wilkins [Tue, 30 Oct 2012 15:18:01 +0000 (08:18 -0700)]
Merge "decodframe: make local symbol static." into experimental

11 years agoMerge changes I23aa5547,I8341a19c into experimental
Paul Wilkins [Tue, 30 Oct 2012 14:24:53 +0000 (07:24 -0700)]
Merge changes I23aa5547,I8341a19c into experimental

* changes:
  tokenize: make local symbols static; give exported symbols a vp9_ prefix.
  encodemb: make locally used functions static.

11 years agoMerge "onyx_if: remove unused function, and make locally used functions static."...
Paul Wilkins [Tue, 30 Oct 2012 14:24:11 +0000 (07:24 -0700)]
Merge "onyx_if: remove unused function, and make locally used functions static." into experimental

11 years agoMerge "reconintra: make locally used symbols static." into experimental
Paul Wilkins [Tue, 30 Oct 2012 14:24:06 +0000 (07:24 -0700)]
Merge "reconintra: make locally used symbols static." into experimental

11 years agoMerge "rdopt: make locally used symbols static." into experimental
Paul Wilkins [Tue, 30 Oct 2012 14:24:00 +0000 (07:24 -0700)]
Merge "rdopt: make locally used symbols static." into experimental

11 years agoMerge "ratectrl: make locally used symbol static." into experimental
Paul Wilkins [Tue, 30 Oct 2012 14:23:41 +0000 (07:23 -0700)]
Merge "ratectrl: make locally used symbol static." into experimental

11 years agoMerge "mbgraph: remove unused function, and make local function static." into experim...
Paul Wilkins [Tue, 30 Oct 2012 14:23:33 +0000 (07:23 -0700)]
Merge "mbgraph: remove unused function, and make local function static." into experimental

11 years agoMerge "Fix superblock experiment." into experimental
Paul Wilkins [Tue, 30 Oct 2012 13:52:50 +0000 (06:52 -0700)]
Merge "Fix superblock experiment." into experimental

11 years agoMerge "More MSVC build fixes" into experimental
Paul Wilkins [Tue, 30 Oct 2012 12:31:12 +0000 (05:31 -0700)]
Merge "More MSVC build fixes" into experimental

11 years agoMerge "Improves subpixel reference mv evaluation" into experimental
Paul Wilkins [Tue, 30 Oct 2012 10:48:48 +0000 (03:48 -0700)]
Merge "Improves subpixel reference mv evaluation" into experimental

11 years agoseg_common: give all exported symbols a vp9_ prefix.
Ronald S. Bultje [Tue, 30 Oct 2012 05:15:27 +0000 (22:15 -0700)]
seg_common: give all exported symbols a vp9_ prefix.

Change-Id: Ie8ba934a757acec1c80ac37ab9307c9a2783254e

11 years agoboolhuff/dboolhuff: give exported symbols a vp9_ prefix.
Ronald S. Bultje [Tue, 30 Oct 2012 04:42:10 +0000 (21:42 -0700)]
boolhuff/dboolhuff: give exported symbols a vp9_ prefix.

Change-Id: I2f1781c70b14bf1d7b6da75d1501718445552af0

11 years agosegmentation: make local symbols static.
Ronald S. Bultje [Tue, 30 Oct 2012 04:39:44 +0000 (21:39 -0700)]
segmentation: make local symbols static.

Change-Id: Ia30924dc095663b04794902522308d822c1a5ad0

11 years agoencodeframe: make local symbols static.
Ronald S. Bultje [Tue, 30 Oct 2012 04:38:07 +0000 (21:38 -0700)]
encodeframe: make local symbols static.

Change-Id: I77bc38b53428ff3e6456b5bc3516418892a58c1e

11 years agoentropymode: put print_mode_contexts under #ifdef MODE_STATS.
Ronald S. Bultje [Tue, 30 Oct 2012 04:35:35 +0000 (21:35 -0700)]
entropymode: put print_mode_contexts under #ifdef MODE_STATS.

This is the condition under which it is called in onyx_if.c. Also remove
the unused function print_mv_ref_cts().

Change-Id: I51ea3720d46f86d136e2215e01cf9d6c7dfc41ea

11 years agossim: remove unused function dssim().
Ronald S. Bultje [Tue, 30 Oct 2012 04:30:09 +0000 (21:30 -0700)]
ssim: remove unused function dssim().

Change-Id: I5898f64da77e43a3860a77f3bc49d64b725c278c

11 years agodetokenize: make local symbols static.
Ronald S. Bultje [Tue, 30 Oct 2012 04:28:08 +0000 (21:28 -0700)]
detokenize: make local symbols static.

Change-Id: Ie80d13ce095faa8bca21bcdca3ca8249d9abc398

11 years agofirstpass: make local symbols static.
Ronald S. Bultje [Tue, 30 Oct 2012 04:26:53 +0000 (21:26 -0700)]
firstpass: make local symbols static.

Change-Id: Iee0f707abbfe427b10058f6cf3be21b89d6a6e65

11 years agobitstream: give exported symbols a vp9_ prefix; make local symbols static.
Ronald S. Bultje [Tue, 30 Oct 2012 04:25:22 +0000 (21:25 -0700)]
bitstream: give exported symbols a vp9_ prefix; make local symbols static.

Change-Id: I3aa5b515c1eae19ae40ba9808d133590c95f7d13

11 years agoalloccommon: give exported symbols a vp9_ prefix.
Ronald S. Bultje [Tue, 30 Oct 2012 04:24:12 +0000 (21:24 -0700)]
alloccommon: give exported symbols a vp9_ prefix.

Also include the correct header in ratectrl.c so it picks up these
function prototypes.

Change-Id: Ic51b13119f1625f0691917f2713b23d0249dece7

11 years agoMake implicit_segmentation-related code an experiment.
Ronald S. Bultje [Tue, 30 Oct 2012 04:15:42 +0000 (21:15 -0700)]
Make implicit_segmentation-related code an experiment.

This way, the code is not compiled in by default, thus decreasing
overall binary size.

Change-Id: I85cac8f5a22a51a7d99c820ef6d6ed179d4106a0

11 years agodecodframe: make local symbol static.
Ronald S. Bultje [Tue, 30 Oct 2012 04:08:59 +0000 (21:08 -0700)]
decodframe: make local symbol static.

Change-Id: Id55f3cd3c2f5857dbfd78703452740dfd63cdf41

11 years agotokenize: make local symbols static; give exported symbols a vp9_ prefix.
Ronald S. Bultje [Tue, 30 Oct 2012 04:07:40 +0000 (21:07 -0700)]
tokenize: make local symbols static; give exported symbols a vp9_ prefix.

Change-Id: I23aa5547b1e74f31327258dda0e330aae7ca1d35

11 years agoencodemb: make locally used functions static.
Ronald S. Bultje [Tue, 30 Oct 2012 04:02:36 +0000 (21:02 -0700)]
encodemb: make locally used functions static.

Change-Id: I8341a19cb4f2234841a40fcbf560315f079b0108

11 years agoadd unit test for datarate control
Jim Bankoski [Tue, 30 Oct 2012 02:54:06 +0000 (19:54 -0700)]
add unit test for datarate control

Adds some basic datarate control tests..

Change-Id: I6eff18aa58ef7cfd14886c6b1e048247cd1ad247

11 years agoonyx_if: remove unused function, and make locally used functions static.
Ronald S. Bultje [Tue, 30 Oct 2012 01:20:32 +0000 (18:20 -0700)]
onyx_if: remove unused function, and make locally used functions static.

Change-Id: Ica08c2c9cda9623389dde3f276dfed77c36e3a11

11 years agoreconintra: make locally used symbols static.
Ronald S. Bultje [Tue, 30 Oct 2012 01:15:04 +0000 (18:15 -0700)]
reconintra: make locally used symbols static.

Also remove them from the header file.

Change-Id: I38182f70268fd47985fb1d8d87cdeb207f67e475

11 years agordopt: make locally used symbols static.
Ronald S. Bultje [Tue, 30 Oct 2012 01:04:33 +0000 (18:04 -0700)]
rdopt: make locally used symbols static.

Change-Id: Id33c448084ca5c1c0525a05c3c4f35d6b0805fbe

11 years agoratectrl: make locally used symbol static.
Ronald S. Bultje [Tue, 30 Oct 2012 01:02:04 +0000 (18:02 -0700)]
ratectrl: make locally used symbol static.

Change-Id: I4f317f413fbbcc59f84ff77899ea208fb0dccb2a

11 years agombgraph: remove unused function, and make local function static.
Ronald S. Bultje [Tue, 30 Oct 2012 00:59:45 +0000 (17:59 -0700)]
mbgraph: remove unused function, and make local function static.

Change-Id: I295c7bcf13b630cb9395585ede7311d85d785f25

11 years agoFix superblock experiment.
Ronald S. Bultje [Tue, 30 Oct 2012 00:58:18 +0000 (17:58 -0700)]
Fix superblock experiment.

Also merge some duplicate code related to the superblock experiment
in the RD loop.

Change-Id: Ic93f1d4d1ed81220fd7ecf6e65da2821a215b2de

11 years agoMore MSVC build fixes
Yaowu Xu [Tue, 30 Oct 2012 00:26:05 +0000 (17:26 -0700)]
More MSVC build fixes

Change-Id: I3b7bae440bba7ffb401c94fc7e338dbe75daa980

11 years agofixed a build issue
Yaowu Xu [Mon, 29 Oct 2012 23:54:13 +0000 (16:54 -0700)]
fixed a build issue

Two head files dct.h and dct_x86.h were removed in a previous commit,
this commit removed the build's dependency on the two files.

Change-Id: Idd33712470912d39d42f133dc30b710cab6fa832

11 years agoMerge "Name space clean up." into experimental
Ronald S. Bultje [Mon, 29 Oct 2012 21:41:47 +0000 (14:41 -0700)]
Merge "Name space clean up." into experimental

11 years agoMerge "A clean up of the down_copy function" into experimental
Ronald S. Bultje [Mon, 29 Oct 2012 21:41:39 +0000 (14:41 -0700)]
Merge "A clean up of the down_copy function" into experimental

11 years agoremove fdct invoke macros
Jim Bankoski [Mon, 29 Oct 2012 18:25:56 +0000 (11:25 -0700)]
remove fdct invoke macros

Remove the fdct invoke macro calls

Change-Id: Ica2431c655819fa012133ee7abc75a16761e5fd6

11 years agoFixes invoke macro commit...
Jim Bankoski [Mon, 29 Oct 2012 15:58:05 +0000 (08:58 -0700)]
Fixes invoke macro commit...

Change-Id: Ic186269b51ffb3c344635bfa9825bed25be2c5ae

11 years agoName space clean up.
Paul Wilkins [Mon, 29 Oct 2012 13:44:18 +0000 (13:44 +0000)]
Name space clean up.

Preparation for project restructuring.
Added vp9_ prefix on some function names that have global scope.
Added static declaration on some that dont.

Change-Id: If072f78b4300e8c17cfeed82c5d17b59946dcc5e

11 years agoImproves subpixel reference mv evaluation
Yaowu Xu [Fri, 26 Oct 2012 16:14:15 +0000 (09:14 -0700)]
Improves subpixel reference mv evaluation

Previously, in evaluating reference motion vectors, MVs are always
rounded to integer pixel position and SADs are calculated.  This
commit takes into account the subpixel portion of the mvs, and uses
bilinear interpolation to produce reference pixel values in subpixel
postions. In addition, SSE is used in place of SAD. Pixels used are
16x2 above and 2x16 to the left.

This commmit intends to test the potential of this line of work in
term of compression improvement, obviously, the change would increase
decoder complexity significantly.

Test results
std-hd: 1.738%(avg) 1.779%(glb), 1.663%(ssim)
derf: 0.472%(avg) 0.477%(glb), 0.418%(ssim)

Change-Id: I3ae1b098f6289df78891134d9a5e4bb2fde87a0b

11 years agoInconsistent reference to MacroblockD data structure.
Paul Wilkins [Mon, 29 Oct 2012 10:36:11 +0000 (10:36 +0000)]
Inconsistent reference to MacroblockD data structure.

Cleaned up some inconsistent references using both xd-> and
x->e_mbd. to access the same data structure in the same function.

Change-Id: Ieb496fa22bf1feec6aa7bc70b941ea4f16e0f8b5

11 years agoMerge "invoke macro removal encodemb" into experimental
Paul Wilkins [Mon, 29 Oct 2012 12:42:58 +0000 (05:42 -0700)]
Merge "invoke macro removal encodemb" into experimental

11 years agoinvoke macro removal encodemb
Jim Bankoski [Sun, 28 Oct 2012 17:38:23 +0000 (10:38 -0700)]
invoke macro removal encodemb

Change-Id: I321280abcf48f3dc16e194d29bde2bd3baec6006

11 years agoMinor tweaks to video source frameworks
Jim Bankoski [Sat, 27 Oct 2012 02:49:44 +0000 (19:49 -0700)]
Minor tweaks to video source frameworks

Fix the video source to close if file is open already and add a limit.

Change-Id: I36ada4c609d027b6eaa9b447fe9ad4115532edc1

11 years agoA clean up of the down_copy function
Deb Mukherjee [Fri, 26 Oct 2012 22:54:37 +0000 (15:54 -0700)]
A clean up of the down_copy function

Change-Id: I0c689fb44e9e91539c450d26672d7a1d92e92900

11 years agoMerge "Faster 8t filtering" into experimental
Scott LaVarnway [Fri, 26 Oct 2012 21:53:50 +0000 (14:53 -0700)]
Merge "Faster 8t filtering" into experimental

11 years agoMerge "Extend edges correctly during actual frame encoding also." into experimental
Ronald S. Bultje [Fri, 26 Oct 2012 18:05:51 +0000 (11:05 -0700)]
Merge "Extend edges correctly during actual frame encoding also." into experimental

11 years agovpxenc: add -quiet option
James Zern [Fri, 26 Oct 2012 01:31:35 +0000 (18:31 -0700)]
vpxenc: add -quiet option

suppresses encoder progress

Change-Id: Iacc04d98de970f13697c002363ee3a40a03f021b

11 years agoMerge "Explicit MV reference experiment." into experimental
Paul Wilkins [Fri, 26 Oct 2012 16:42:37 +0000 (09:42 -0700)]
Merge "Explicit MV reference experiment." into experimental

11 years agoExplicit MV reference experiment.
Paul Wilkins [Thu, 25 Oct 2012 12:58:21 +0000 (13:58 +0100)]
Explicit MV reference experiment.

Coding and costing of mv reference signal.

Issues in updating MV ref with COMPANDED_MVREF_THRESH
to be resolved. Ideally the MV precision should be defined based
on absolute MV magnitude not as now the MV ref magnitude.

Update to mv counts moved into bitstream.c because otherwise
if the motion reference is changed at the last minute the encoder
and decoder get out of step in terms of the counts used to update
entropy probs.

Code working on a few test clips but no results yet re benefit vs
signaling cost and no tuning of red loop to test lower cost alternatives
based on the available reference values.

Patch 3. Added check to make sure we don't pick a reference
that would give rise to an uncodeable / out of range residual.

Patch 6-7: Attempt to rebase. OK to submit but best to leave flag off for now.

Patch 9. Remove print no longer needed.

Change-Id: I1938c2ffe41afe6d3cf6ccc0cb2c5d404809a712

11 years agoExtend edges correctly during actual frame encoding also.
Ronald S. Bultje [Fri, 26 Oct 2012 01:09:02 +0000 (18:09 -0700)]
Extend edges correctly during actual frame encoding also.

Should fix B_PRED-related encoder/decoder mismatches.

Change-Id: I16f808dffd19094e02e8562ba58cc1016155ce93

11 years agoFaster 8t filtering
Scott LaVarnway [Fri, 26 Oct 2012 00:24:50 +0000 (17:24 -0700)]
Faster 8t filtering

Quickly modified the ssse3 sixtap filters to support eight taps.  For the test
clip used, a 23+% boost in decoder performance was seen.  We can
revisit later and improve further.

Change-Id: I5f59860459e80d6fa23e6cc0fd91296a969f5240

11 years agoUse vp8_clear_system_state helper function
Johann [Fri, 26 Oct 2012 00:04:03 +0000 (17:04 -0700)]
Use vp8_clear_system_state helper function

Change-Id: I4dd192c3297e31b8eadd108ca8d0934e58f502f7

11 years agovariance.h uses defines in vpx_config.h
Johann [Thu, 25 Oct 2012 22:51:33 +0000 (15:51 -0700)]
variance.h uses defines in vpx_config.h

Change-Id: Ibd3e4425a3bf8aae8aa33b70da2b84e1cda8c07f

11 years agoMerge "Always extend macroblock edges in the decoder." into experimental
Debargha Mukherjee [Thu, 25 Oct 2012 20:52:29 +0000 (13:52 -0700)]
Merge "Always extend macroblock edges in the decoder." into experimental

11 years agoAlways extend macroblock edges in the decoder.
Ronald S. Bultje [Thu, 25 Oct 2012 19:46:26 +0000 (12:46 -0700)]
Always extend macroblock edges in the decoder.

This fixes edge extension if SB [0,1] doesn't use B_PRED but [1,1] does.

Change-Id: I48354a9dba0de16472938824f5e6db87ce61979f

11 years agoAdded sse2 instrinsic version of vp8_sad3x16
Scott LaVarnway [Mon, 22 Oct 2012 23:38:58 +0000 (16:38 -0700)]
Added sse2 instrinsic version of vp8_sad3x16

1.6% boost in decoder performance for the clip used.

Change-Id: I91f3c4573fd3d10afbf18930f279af7ae2223e3a