platform/upstream/libvpx.git
11 years agoMerge "Changed to use reference mv as nearest mv" into experimental
Yaowu Xu [Tue, 14 Aug 2012 16:12:31 +0000 (09:12 -0700)]
Merge "Changed to use reference mv as nearest mv" into experimental

11 years agoChanged to use reference mv as nearest mv
Yaowu Xu [Mon, 6 Aug 2012 17:51:20 +0000 (10:51 -0700)]
Changed to use reference mv as nearest mv

The reference motion vector selected by surrounding pixels that has
the best matching score is used as nearest motion vector.

The change has shown consistent gain on all test sets, compression
gains range from .2% to .6%. The variation is largely dependent on
various other experiments on or off.

Change-Id: I5552e1c2f6fc57c3e8818a5ee41ffda89af05e75

11 years agoCode clean up.
Paul Wilkins [Tue, 14 Aug 2012 10:32:29 +0000 (11:32 +0100)]
Code clean up.

References to MACROBLOCKD that use "x" changed to "xd"
to comply with convention elsewhere that x = MACROBLOCK
and xd = MACROBLOCKD.

Simplify some repeat references using local variables.

Change-Id: I0ba2e79536add08140a6c8b19698fcf5077246bc

11 years agoFix typo, which adds skip testing for 16x16
Daniel Kang [Mon, 13 Aug 2012 21:18:09 +0000 (14:18 -0700)]
Fix typo, which adds skip testing for 16x16

Also add warnings for undefined macros in the C pre-processor

Change-Id: I1ec30e57c5a49fb72151a4cf140d7eeb0fb1d779

11 years agoShut up some compiler warnings on gcc
Daniel Kang [Mon, 13 Aug 2012 23:20:20 +0000 (16:20 -0700)]
Shut up some compiler warnings on gcc

Change-Id: I8548aebd3c39797b253eef472bfe1c40f2f7ec59

11 years agoFix warning/bug introduced in 4d5b81a80faa8333ca3a7aed53684d2167fbebd2.
Christian Duvivier [Mon, 13 Aug 2012 22:51:04 +0000 (15:51 -0700)]
Fix warning/bug introduced in 4d5b81a80faa8333ca3a7aed53684d2167fbebd2.

Change-Id: I082d2517022cbf2f472c143fe7772719d8295498

11 years agoCosmetics to rdopt.c
Daniel Kang [Mon, 13 Aug 2012 16:55:08 +0000 (09:55 -0700)]
Cosmetics to rdopt.c

Change-Id: Icc276609e409e4e234d240e5c12e137600e178ed

11 years agoCombine optimize_b and optimize_b_8x8
Daniel Kang [Fri, 10 Aug 2012 22:34:31 +0000 (15:34 -0700)]
Combine optimize_b and optimize_b_8x8

The 16x16 has not been done yet for speed reasons.

Change-Id: I066e369a065674d58986e937344c9303fed19450

11 years agoextend the range of encoding time
Yaowu Xu [Sat, 11 Aug 2012 00:05:46 +0000 (17:05 -0700)]
extend the range of encoding time

The commit also corrects unit of encoding from microsecond to
milisecond.

Change-Id: I030108e90f89f33dfad2d092dc8991db81979715

11 years agofix build problem for newbestrefmv experiment
Yaowu Xu [Sat, 11 Aug 2012 00:15:23 +0000 (17:15 -0700)]
fix build problem for newbestrefmv experiment

Change-Id: I7f531d55f076254c84402fed34af93fe3685fbdf

11 years agoFix some tabbing in rdopt.c
Daniel Kang [Fri, 10 Aug 2012 17:00:18 +0000 (10:00 -0700)]
Fix some tabbing in rdopt.c

Change-Id: Ie7e7727512cc1333bd16e7688cd1d8764371dde3

11 years agoRefactor to remove some arguments from vp8_rd_pick_inter_mode
Daniel Kang [Fri, 10 Aug 2012 01:25:29 +0000 (18:25 -0700)]
Refactor to remove some arguments from vp8_rd_pick_inter_mode

Change-Id: I8e72279cc68f34d269705f06cdaf8f3d06eed635

11 years agoRefactor RD to take same codepath for single and comp pred
Daniel Kang [Thu, 9 Aug 2012 23:07:41 +0000 (16:07 -0700)]
Refactor RD to take same codepath for single and comp pred

Change-Id: Id38baf1b89648ef534e28be72f583137871f920c

11 years agoCode cleanup.
Paul Wilkins [Fri, 10 Aug 2012 13:12:43 +0000 (14:12 +0100)]
Code cleanup.

Add local variable in several places to reference the MB mode
info structure. Currently this is usually accessed in the code as
x->e_mbd.mode_info_context->mbmi.* or in some places
xd->mode_info_context->mbmi.*

Resolved some uses of x-> for the MACROBLOCKD structure.

Rebased without dependency on motion reference experiment.

Change-Id: If6718276ee4f2ef131825d1524dfdb02a3793aed

11 years agoRefactor vp8_build_inter16x16_predictor functions
Daniel Kang [Thu, 9 Aug 2012 00:12:12 +0000 (17:12 -0700)]
Refactor vp8_build_inter16x16_predictor functions

Change-Id: I4fceefe76b14bd38a358dc4356708f7981bab339

11 years agoMore refactoring of diamond search.
Daniel Kang [Wed, 8 Aug 2012 18:52:22 +0000 (11:52 -0700)]
More refactoring of diamond search.

This should make merging inter code paths easier.

Change-Id: I5cb81f25d56fa4790b4e9cfa4bc32b9062c2cfdf

11 years agoRefactor SPLITMV in RD to a special case.
Daniel Kang [Wed, 8 Aug 2012 18:49:56 +0000 (11:49 -0700)]
Refactor SPLITMV in RD to a special case.

SPLITMV shares very little code with the other inter modes.

Change-Id: I0beee95de1fbedeea1f71650951ffc7db3a118eb

11 years agoBegin refactoring to help merge parts of rd inter.
Daniel Kang [Wed, 8 Aug 2012 18:13:53 +0000 (11:13 -0700)]
Begin refactoring to help merge parts of rd inter.

Also refactor some RD code, remove some comments, and cosmetic changes.

Change-Id: I43806ae573ab5a5036602ac4425d750bbfa1e812

11 years agoMerge "Merging in the sixteenth subpel uv experiment" into experimental
Deb Mukherjee [Thu, 9 Aug 2012 16:36:18 +0000 (09:36 -0700)]
Merge "Merging in the sixteenth subpel uv experiment" into experimental

11 years agoMerge "Import tools/ from master branch" into experimental
John Koleszar [Thu, 9 Aug 2012 16:12:17 +0000 (09:12 -0700)]
Merge "Import tools/ from master branch" into experimental

11 years agoNewline got lost in submission of "Partial import of "New RTCD implementation" from...
Christian Duvivier [Thu, 9 Aug 2012 00:20:23 +0000 (17:20 -0700)]
Newline got lost in submission of "Partial import of "New RTCD implementation" from master branch."

Change-Id: I3841eca46e29a108a79fe47af0cfa97f0bc80a2a

11 years agoMerging in the sixteenth subpel uv experiment
Deb Mukherjee [Wed, 8 Aug 2012 23:49:15 +0000 (16:49 -0700)]
Merging in the sixteenth subpel uv experiment

Merges this experiment in to make it easier to run tests on
filter precision, vectorized implementation etc.

Also removes an experimental filter.

Change-Id: I1e8706bb6d4fc469815123939e9c6e0b5ae945cd

11 years agoMerge "Partial import of "New RTCD implementation" from master branch." into experimental
Christian Duvivier [Wed, 8 Aug 2012 23:49:03 +0000 (16:49 -0700)]
Merge "Partial import of "New RTCD implementation" from master branch." into experimental

11 years agoPartial import of "New RTCD implementation" from master branch.
Christian Duvivier [Wed, 8 Aug 2012 22:47:36 +0000 (15:47 -0700)]
Partial import of "New RTCD implementation" from master branch.

Latest version of all scripts/makefile but rtcd_defs.sh is empty, all
existing functions are still selected using the old/current way.

Change-Id: Ib92946a48a31d6c8d1d7359eca524bc1d3e66174

11 years agoMerge "a tiny fix for MSVC build" into experimental
Debargha Mukherjee [Wed, 8 Aug 2012 23:12:23 +0000 (16:12 -0700)]
Merge "a tiny fix for MSVC build" into experimental

11 years agoMerge "Refactor setting up MVs and buffers in rdopt.c" into experimental
Daniel Kang [Wed, 8 Aug 2012 21:58:24 +0000 (14:58 -0700)]
Merge "Refactor setting up MVs and buffers in rdopt.c" into experimental

11 years agoa tiny fix for MSVC build
Yaowu Xu [Wed, 8 Aug 2012 21:41:37 +0000 (14:41 -0700)]
a tiny fix for MSVC build

Change-Id: Ib23b0711a4690e1edff3131ce48527b6805877fb

11 years agoMerge "Cleanup and commenting of the sub-pixel interpolation functions. Mostly as...
Christian Duvivier [Wed, 8 Aug 2012 19:45:46 +0000 (12:45 -0700)]
Merge "Cleanup and commenting of the sub-pixel interpolation functions. Mostly as a preparation for the upcoming vectorized implementation." into experimental

11 years agoCleanup and commenting of the sub-pixel interpolation functions. Mostly
Christian Duvivier [Wed, 8 Aug 2012 03:57:36 +0000 (20:57 -0700)]
Cleanup and commenting of the sub-pixel interpolation functions. Mostly
as a preparation for the upcoming vectorized implementation.

Change-Id: I0d1629943cee68fcb0ea8b6dd8aef265d050cc7a

11 years agoImport tools/ from master branch
John Koleszar [Wed, 8 Aug 2012 16:28:01 +0000 (09:28 -0700)]
Import tools/ from master branch

Change-Id: I476f43ea513e7c140f4e4f14df73dd3131cb2692

11 years agoRefactor setting up MVs and buffers in rdopt.c
Daniel Kang [Wed, 8 Aug 2012 01:55:28 +0000 (18:55 -0700)]
Refactor setting up MVs and buffers in rdopt.c

Change-Id: I94f08f2cfb37d11d71050dca3200f1d391269a6a

11 years agoSome refactoring of mcomp functions.
Daniel Kang [Tue, 7 Aug 2012 23:44:26 +0000 (16:44 -0700)]
Some refactoring of mcomp functions.

Change-Id: Ic7a7cb1199b085e98ede0e634619b3077c348d57

11 years agoChange the RD cost functions to take into account the seg_eob.
Daniel Kang [Tue, 7 Aug 2012 01:29:59 +0000 (18:29 -0700)]
Change the RD cost functions to take into account the seg_eob.

Change-Id: I2f96e5b205f70fdb559f01637c4b5730246c38a8

11 years agoclamp_mv_min_max -> vp8_clamp_mv_min_max
Daniel Kang [Tue, 7 Aug 2012 22:29:16 +0000 (15:29 -0700)]
clamp_mv_min_max -> vp8_clamp_mv_min_max

It's now used in more places

Change-Id: I63f8e1d827404e0b4f203bdb1df361e565d0779d

11 years agoMore refactoring and cosmetics to rdopt.c
Daniel Kang [Tue, 7 Aug 2012 21:39:25 +0000 (14:39 -0700)]
More refactoring and cosmetics to rdopt.c

Change-Id: I7803d719ead238189e75c52701c3bb6c1552f4b5

11 years agoReorganiziation of the RD loop to make more sense.
Daniel Kang [Tue, 7 Aug 2012 21:33:15 +0000 (14:33 -0700)]
Reorganiziation of the RD loop to make more sense.

Change-Id: Ia1e3b0ff9b70747b3725391de59f230edab767d7

11 years agoMinor cosmetic changes to rdopt.c.
Daniel Kang [Mon, 6 Aug 2012 23:21:23 +0000 (16:21 -0700)]
Minor cosmetic changes to rdopt.c.

Change-Id: Ib7b972486ccbbcb82fa4c05a5f6d7f8aaec32155

11 years agoCombine vp8_block_error_c and vp8_submb_error_c.
Daniel Kang [Mon, 6 Aug 2012 22:03:04 +0000 (15:03 -0700)]
Combine vp8_block_error_c and vp8_submb_error_c.

Change-Id: I58792bac6c7e5a524a6dcdb5241ef18bcc0c3a45

11 years agoA bit of temporary relief on encoder slowness
Yaowu Xu [Tue, 7 Aug 2012 20:55:49 +0000 (13:55 -0700)]
A bit of temporary relief on encoder slowness

The commit replaces run-time initialization of cosine constants with
static constant values, which provides ~30% relief on slow speed. The
real solution, however will be to implement integer versions of those
functions that current use float/double.

Change-Id: Ie3ff1793509653d78dd1aeaf88cc6737da1bc55f

11 years agoa new way of determining reference motion vector
Yaowu Xu [Mon, 6 Aug 2012 17:51:20 +0000 (10:51 -0700)]
a new way of determining reference motion vector

Using surrounding reconstructed pixels from left and above to select
best matching mv to use as reference motion vector for mv encoding.

Test results:
       AVGPSNR  GLBPSNR VPXSSIM
Derf:  1.107%   1.062%  0.992%
Std-hd:1.209%   1.176%  1.029%

Change-Id: I8f10e09ee6538c05df2fb9f069abcaf1edb3fca6

11 years agoRefactoring hybrid transform coding
Jingning Han [Mon, 6 Aug 2012 21:48:11 +0000 (14:48 -0700)]
Refactoring hybrid transform coding

The forward and inverse hybrid transforms are now performed using
single function modules, where the dimension is sent as argument.

Added an inline function clip8b to clip the reconstruction pixels
into range of 0-255.

Change-Id: Id7d870b3e1aefc092721c80c0af6f641eb5f3747

11 years agoRemove code to set transform size.
Daniel Kang [Mon, 6 Aug 2012 21:45:40 +0000 (14:45 -0700)]
Remove code to set transform size.

It's reset in calling functions.

Change-Id: Ia5df086de615aac6feb3c911fe298626a002b850

11 years agoCombine cost_coeffs functions.
Daniel Kang [Mon, 6 Aug 2012 19:15:24 +0000 (12:15 -0700)]
Combine cost_coeffs functions.

Change-Id: I3421d07fdcf2148d75c8dbfc8c44bc2d96a3a8f6

11 years agoMerge token_costs into a single table.
Daniel Kang [Mon, 6 Aug 2012 18:38:50 +0000 (11:38 -0700)]
Merge token_costs into a single table.

Change-Id: Id1ea2d543f12d4589df7038d5fb7bac1fee4da11

11 years agoMore refactoring of RD cost to make later changes easier.
Daniel Kang [Mon, 6 Aug 2012 18:22:28 +0000 (11:22 -0700)]
More refactoring of RD cost to make later changes easier.

Change-Id: Ia6a290a6a53fdb88c971bea2de47ac73dcb7a364

11 years agoMinor refactoring of RD cost functions.
Daniel Kang [Mon, 6 Aug 2012 18:11:56 +0000 (11:11 -0700)]
Minor refactoring of RD cost functions.

Change-Id: I876955b1d577321b5cd3f71e3fb2c4083ad5111b

11 years agoAdd x86_64-darwin11-gcc target.
Christian Duvivier [Mon, 6 Aug 2012 22:05:24 +0000 (15:05 -0700)]
Add x86_64-darwin11-gcc target.

This allows building on MountainLion as the 10.6 SDK has been
removed from the latest Xcode version (4.4 4F250). Also fix
all warnings for that build.

Change-Id: Ib70bca4a25295f13595f0d10ea9f0229631de5a4

11 years agoMerge "enable interleaved decoding of mode and mv" into experimental
Yaowu Xu [Mon, 6 Aug 2012 14:06:15 +0000 (07:06 -0700)]
Merge "enable interleaved decoding of mode and mv" into experimental

11 years agoMerge "fix msvc build" into experimental
Yaowu Xu [Mon, 6 Aug 2012 14:05:56 +0000 (07:05 -0700)]
Merge "fix msvc build" into experimental

11 years agoMerging in high_precision_mv experiment
Deb Mukherjee [Fri, 3 Aug 2012 19:17:18 +0000 (12:17 -0700)]
Merging in high_precision_mv experiment

Merged in the high_precision_mv experiment to make it easier
to work on new mv encoding strategies. Also removed
coef_update_probs3().

Change-Id: I82d3b0bb642419fe05dba82528bc9ba010e90924

11 years agoenable interleaved decoding of mode and mv
Yaowu Xu [Fri, 3 Aug 2012 19:31:38 +0000 (12:31 -0700)]
enable interleaved decoding of mode and mv

Previouly, the decoding of mode and motion vector are done a per frame
basis followed by residue decoding and reconstuction. The commit added
the option to allow decoder to interleave the decoding of mode and mvs
with the residue decoding on a per MB basis.

Change-Id: Ia5316f4a7af9ba7f155c92b5a6fc97201b653571

11 years agoReplacing the 8x8 DCT with 8x8 ADST/DCT for I8x8
Jingning Han [Thu, 2 Aug 2012 16:07:33 +0000 (09:07 -0700)]
Replacing the 8x8 DCT with 8x8 ADST/DCT for I8x8

Fixed the code review comments.

Under the htrans8x8 experiment the 8X8 DCT in the
I8X8 mode is replaced with a combination of 8X8 ADST and
DCT.

Overall coding gains with the htrans8x8 experiment are:
derf:   0.486
std-hd: 1.040
hd:     1.063
yt:     0.506

Note that part of the gain comes from bigger transforms
(8x8 instead of 4x4) and part comes from replacing the DCT
wth the ADST.

Change-Id: I92ca6bbfce11b4165d612b81d9adfad4d010c775

11 years agofix msvc build
Yaowu Xu [Fri, 3 Aug 2012 18:25:35 +0000 (11:25 -0700)]
fix msvc build

Change-Id: I377d50cb347f50341ab6f5f456a6a64438bcb667

11 years agoMerge "16x16 DCT blocks." into experimental
Daniel Kang [Fri, 3 Aug 2012 17:22:04 +0000 (10:22 -0700)]
Merge "16x16 DCT blocks." into experimental

11 years agoMerge "Merging and bug-fix in enhanced_interp experiment" into experimental
Deb Mukherjee [Fri, 3 Aug 2012 17:18:25 +0000 (10:18 -0700)]
Merge "Merging and bug-fix in enhanced_interp experiment" into experimental

11 years ago16x16 DCT blocks.
Daniel Kang [Fri, 3 Aug 2012 00:03:14 +0000 (17:03 -0700)]
16x16 DCT blocks.

Set on all 16x16 intra/inter modes

Features:
- Butterfly fDCT/iDCT
- Loop filter does not filter internal edges with 16x16
- Optimize coefficient function
- Update coefficient probability function
- RD
- Entropy stats
- 16x16 is a config option

Have not tested with experiments.

hd:     2.60%
std-hd: 2.43%
yt:     1.32%
derf:   0.60%

Change-Id: I96fb090517c30c5da84bad4fae602c3ec0c58b1c

11 years agoMerge "A few more conversions from 32-bit to 64-bit RD calculations." into experimental
Ronald S. Bultje [Thu, 2 Aug 2012 22:43:41 +0000 (15:43 -0700)]
Merge "A few more conversions from 32-bit to 64-bit RD calculations." into experimental

11 years agoDefine INT64_MAX for msvc to build
Yaowu Xu [Thu, 2 Aug 2012 18:36:55 +0000 (11:36 -0700)]
Define INT64_MAX for msvc to build

Change-Id: I6cb88d87b7549ded1de6ff9ef65ff958ad448999

11 years agoA few more conversions from 32-bit to 64-bit RD calculations.
Ronald S. Bultje [Thu, 2 Aug 2012 18:01:48 +0000 (11:01 -0700)]
A few more conversions from 32-bit to 64-bit RD calculations.

Change-Id: Ida01bb8f4b35fde24b0f096329d326833f1fdc7e

11 years agoMake RDCOST() results 64-bit.
Ronald S. Bultje [Thu, 2 Aug 2012 17:07:33 +0000 (10:07 -0700)]
Make RDCOST() results 64-bit.

This prevents various integer overflows that several of us have been
seeing in the past few days.

Change-Id: If0020613a608e13d311b7838796c7ad53cb97255

11 years agoUse 8x8 DCT transform for I8X8 prediction mode
Jingning Han [Wed, 1 Aug 2012 17:18:25 +0000 (10:18 -0700)]
Use 8x8 DCT transform for I8X8 prediction mode

Apply 2D-DCT transform of dimension 8x8 to encode prediction
residuals of I8X8 mode.
Brought back block type 3 probability context model for 8x8 tokens,
which is used for the coefficients of Y blocks in I8x8 modes. The
coefficient costs estimate of I8X8 mode in rate-distortion is also
changed appropriately.
Performance results:
derf:   0.246
yt:     0.114
std-hd: 0.730
hd:     0.670

Change-Id: If1d970eeb4e1827c9f0d2c5b27d33089b347ea27

11 years agoRemoved macros for merged experiments
Adrian Grange [Tue, 31 Jul 2012 19:07:26 +0000 (12:07 -0700)]
Removed macros for merged experiments

Removed two macros corresponding to experiments that were
merged into the main code.

Change-Id: I894e8b509a2bb88557f9aba6f226ed7807745065

11 years agoMerging and bug-fix in enhanced_interp experiment
Deb Mukherjee [Sat, 28 Jul 2012 00:46:33 +0000 (17:46 -0700)]
Merging and bug-fix in enhanced_interp experiment

Merged the enhanced_interp experiment.
Found and fixed a bug in the include files framework, whereby
certain encoder files were still using the old INTERP_EXTEND
value of 3 instead of 4. The thresholds for mv range mcomp.c
need a small adjustment to prevent crashes.

The results are more or less unchanged.

Change-Id: Iac5008390f1efc97ce1102fbb5f8989c847fb579

11 years agoAdds support for switchable interpolation filters.
Deb Mukherjee [Wed, 18 Jul 2012 20:43:01 +0000 (13:43 -0700)]
Adds support for switchable interpolation filters.

Allows for swtiching/setting interpolation filters at the MB
level. A frame level flag indicates whether to use a specifc
filter for the entire frame or to signal the interpolation
filter for each MB. When switchable filters are used, the
encoder chooses between 8-tap and 8-tap sharp filters. The
code currently has options to explore other variations as well,
which will be cleaned up subsequently.

One issue with the framework is that encoding is slow. I
tried to do some tricks to speed things up but it is still slow.
Decoding speed should not be affected since the number of
filter taps remain unchanged.

With the current version, we are up 0.5% on derf on average but
some videos city/mobile improve by close to 4 and 2% respectively.
If we did a full-search by turning the SEARCH_BEST_FILTER flag
on, the results are somewhat better.

The framework can be combined with filtered prediction, and I
seek feedback regarding that.

Rebased.

Change-Id: I8f632cb2c111e76284140a2bd480945d6d42b77a

11 years agoMerge "Merges several experiments" into experimental
Deb Mukherjee [Fri, 27 Jul 2012 19:22:55 +0000 (12:22 -0700)]
Merge "Merges several experiments" into experimental

11 years agoMerges several experiments
Deb Mukherjee [Fri, 27 Jul 2012 18:29:46 +0000 (11:29 -0700)]
Merges several experiments

The following five experiments are merged:

newentropy
newupdate
adaptive_entropy (also includes a couple of parameter changes
                  that improves results a little
                  in common/entropymode.c and encoder/modecosts.c
                  that were not merged from the internal branch)
newintramodes
expanded_coef_context

Change-Id: I8a142a831786ee9dc936f22be1d42a8bced7d270

12 years agoMerge "shared object on mac osx" into experimental
John Koleszar [Fri, 27 Jul 2012 00:09:48 +0000 (17:09 -0700)]
Merge "shared object on mac osx" into experimental

12 years agoshared object on mac osx
jimbankoski [Thu, 26 Jul 2012 02:39:33 +0000 (19:39 -0700)]
shared object on mac osx

Change-Id: Ibf357eb492e7d5883fbdf1ddf455e28767c1d65d

12 years agoMerge "Added const specifier to remove warning" into experimental
Adrian Grange [Wed, 25 Jul 2012 14:53:39 +0000 (07:53 -0700)]
Merge "Added const specifier to remove warning" into experimental

12 years agoMerge "Use macro for filter extension length" into experimental
Adrian Grange [Wed, 25 Jul 2012 14:53:08 +0000 (07:53 -0700)]
Merge "Use macro for filter extension length" into experimental

12 years agomakefile: fix .so build rule
John Koleszar [Tue, 24 Jul 2012 23:18:38 +0000 (16:18 -0700)]
makefile: fix .so build rule

Use $^ vs $? to capture all prerequisites, rather than only newer ones.

Change-Id: I464ffb2913cf60f5ca5e07518ad4bf7da10baf87

12 years agoAdded const specifier to remove warning
Adrian Grange [Tue, 24 Jul 2012 19:50:03 +0000 (12:50 -0700)]
Added const specifier to remove warning

The "codecs" array is defined as const so too
should the local variable that points too it.

Change-Id: I536a9ced52257dc44a04fc1a3cad94c1e86f69aa

12 years agoUse macro for filter extension length
Adrian Grange [Tue, 24 Jul 2012 19:20:15 +0000 (12:20 -0700)]
Use macro for filter extension length

Replaced local definitions of the extension required
by the filters with the globally defined value.

Change-Id: If9e590a1f2e5b0bdc2d3e3c3f04aacbd3b09bfee

12 years agoMerge "Update 8x8 tokenizer to not encode an EOB if seg_eob is active." into experimental
Daniel Kang [Tue, 24 Jul 2012 19:33:26 +0000 (12:33 -0700)]
Merge "Update 8x8 tokenizer to not encode an EOB if seg_eob is active." into experimental

12 years agoremove extra end of line
Jim Bankoski [Tue, 24 Jul 2012 16:33:47 +0000 (09:33 -0700)]
remove extra end of line

This commit fixes up shared lib builds on linux.

Change-Id: Ib109dc5a226dc5d7874d2e5b333466cbfd4f4661

12 years agoUpdate 8x8 tokenizer to not encode an EOB if seg_eob is active.
Daniel Kang [Mon, 23 Jul 2012 21:58:07 +0000 (14:58 -0700)]
Update 8x8 tokenizer to not encode an EOB if seg_eob is active.

Change-Id: Id2bac0597b6dd1ce41bd78cbd9e9d876b71cd8a2

12 years agoDll build of libvpx
Jim Bankoski [Mon, 23 Jul 2012 19:32:59 +0000 (12:32 -0700)]
Dll build of libvpx

Change-Id: I74e50b4dfbe73eb98e1dce1695a9973f637220c0

12 years agofixed a compiling issue
Yaowu Xu [Thu, 19 Jul 2012 21:52:04 +0000 (14:52 -0700)]
fixed a compiling issue

Change-Id: I9ccbea76eaeb81ce7b833dd92216734725796e84

12 years agoAdds hybrid transform
Jingning Han [Mon, 25 Jun 2012 19:26:09 +0000 (12:26 -0700)]
Adds hybrid transform

Adds ADST/DCT hybrid transform coding for Intra4x4 mode.
The ADST is applied to directions in which the boundary
pixels are used for prediction, while DCT applied to
directions without corresponding boundary prediction.

Adds enum TX_TYPE in b_mode_infor to indicate the transform
type used.

Make coding style consistent with google style.
Fixed the commented issues.

Experimental results in terms of bit-rate reduction:
derf:   0.731%
yt:     0.982%
std-hd: 0.459%
hd:     0.725%

Will be looking at 8x8 transforms next.

Change-Id: I46dbd7b80dbb3e8856e9c34fbc58cb3764a12fcf

12 years agoMerge "removed floating point version 8x8 fdct" into experimental
Yaowu Xu [Wed, 18 Jul 2012 17:53:57 +0000 (10:53 -0700)]
Merge "removed floating point version 8x8 fdct" into experimental

12 years agoMerge "cleanup experiments in configure" into experimental
Yaowu Xu [Wed, 18 Jul 2012 17:53:46 +0000 (10:53 -0700)]
Merge "cleanup experiments in configure" into experimental

12 years agoDon't auto-default to comp-pred unless content is static.
Ronald S. Bultje [Mon, 16 Jul 2012 23:46:46 +0000 (16:46 -0700)]
Don't auto-default to comp-pred unless content is static.

Although it can be useful, in some cases it causes artifacts in motion-
based content.

Change-Id: I27bb80901020c40636e2018a8217759175a23f5b

12 years agoremoved floating point version 8x8 fdct
Yaowu Xu [Wed, 18 Jul 2012 05:50:47 +0000 (22:50 -0700)]
removed floating point version 8x8 fdct

the integer version has very good precision, the float version is no
longer useful. this commit also removes the experiment option from
configure script.

Change-Id: Ibb92e63c9f5083357cdf89c559d584a7deb3353f

12 years agocleanup experiments in configure
Yaowu Xu [Wed, 18 Jul 2012 05:34:07 +0000 (22:34 -0700)]
cleanup experiments in configure

this commit removes a number of experiment options from configure
script. the associated experiments are already fully merged, the
options in configure script have no effect at all.

Change-Id: I8054ccaee0a04610162ed76ac9e59c4538217113

12 years agoRestyle code
John Koleszar [Fri, 13 Jul 2012 22:21:29 +0000 (15:21 -0700)]
Restyle code

Approximate the Google style guide[1] so that that there's a written
document to follow and tools to check compliance[2].

[1]: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml
[2]: http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py

Change-Id: Idf40e3d8dddcc72150f6af127b13e5dab838685f

12 years agoMerge "Fix bug in reference frame counting." into experimental
Ronald S. Bultje [Tue, 17 Jul 2012 17:37:06 +0000 (10:37 -0700)]
Merge "Fix bug in reference frame counting." into experimental

12 years agoMerge "Add missing mv_{col,row}_{min,max}_sb variables to MACROBLOCK struct." into...
Tim Terriberry [Tue, 17 Jul 2012 01:47:05 +0000 (18:47 -0700)]
Merge "Add missing mv_{col,row}_{min,max}_sb variables to MACROBLOCK struct." into experimental

12 years agoFix bug in reference frame counting.
Ronald S. Bultje [Tue, 17 Jul 2012 00:49:37 +0000 (17:49 -0700)]
Fix bug in reference frame counting.

vp8_encode_inter_macroblock() is called in both pick_mb_modes() as
well as encode_sb(), thus the number of macroblocks in the counter
were twice as big as actual numbers. This doesn't affect output.

Change-Id: I6de8a996ee44d2f7f2080d8d2177dd7bc6207c93

12 years agoSimplify vp8_decode_mb_tokens_8x8.
Daniel Kang [Wed, 11 Jul 2012 00:23:38 +0000 (17:23 -0700)]
Simplify vp8_decode_mb_tokens_8x8.

Change-Id: Icac5b18e5c832681cea866679796a1dd4278cfb8

12 years agoSimplify vp8_decode_mb_tokens.
Daniel Kang [Tue, 10 Jul 2012 16:36:56 +0000 (09:36 -0700)]
Simplify vp8_decode_mb_tokens.

Change-Id: Ib6866e491994f6c7eeb6c2e5ecd1ff54cc187610

12 years agoAdd missing mv_{col,row}_{min,max}_sb variables to MACROBLOCK struct.
Ronald S. Bultje [Mon, 16 Jul 2012 22:25:59 +0000 (15:25 -0700)]
Add missing mv_{col,row}_{min,max}_sb variables to MACROBLOCK struct.

This allows CONFIG_SUPERBLOCKS experiment to almost compile succesfully,
except for the missing pick_sb_modes() function.

Change-Id: Ib2322f2aacdc371e8066f2eb4a8d761c40490b4d

12 years agoUse 8x8 transform for all 16x16 intra prediction modes in keyframes.
Ronald S. Bultje [Mon, 2 Jul 2012 18:13:18 +0000 (11:13 -0700)]
Use 8x8 transform for all 16x16 intra prediction modes in keyframes.

Also use the 8x8 transform in the RD loop.

Change-Id: If1a25aa15d3f64e05c9a31875e309d8cd5bc812d

12 years agoKeep statistics for chosen intra modes in keyframes also.
Ronald S. Bultje [Tue, 3 Jul 2012 20:57:27 +0000 (13:57 -0700)]
Keep statistics for chosen intra modes in keyframes also.

Change-Id: Ibfecf1fb0fcf51fb349746fec015b1a3e44a4530

12 years agoMerge snapshot 2 development history
John Koleszar [Thu, 12 Jul 2012 16:24:43 +0000 (09:24 -0700)]
Merge snapshot 2 development history

Create a merge between the experimental development history and the
previously published snapshot.

Change-Id: If320df72a6bbefec53833626d08dbc9678be2d2d

12 years agoMerge snapshot 1 development history
John Koleszar [Thu, 12 Jul 2012 16:22:01 +0000 (09:22 -0700)]
Merge snapshot 1 development history

Merge in the git history leading up to the first experimental
snapshot.

Change-Id: Ifbdbd5bdb585864b3f996c562ef38b6306731251

12 years agochange to enable encoder to clamp UV motion vector
Yaowu Xu [Fri, 29 Jun 2012 00:03:29 +0000 (17:03 -0700)]
change to enable encoder to clamp UV motion vector

This is to avoid a rare encoder/decoder mismatch for MB using SPLITMV
mode. In decoder, the UV mv can be determined to need clamp, but the
flag is never set in encoder motion vector selection process, and the
clamp is not done in encoding in encoder.

Change-Id: I60520d3f790354c7855dadf03f0978ea9b77e2c0

12 years agoMerge "Add 8x8 fDCT unit test." into experimental
Daniel Kang [Sat, 30 Jun 2012 00:33:36 +0000 (00:33 +0000)]
Merge "Add 8x8 fDCT unit test." into experimental

12 years agoGet rid of some cast.
Christian Duvivier [Fri, 29 Jun 2012 22:05:11 +0000 (15:05 -0700)]
Get rid of some cast.

Change-Id: Iff5ccf2400bcb7b78c7b70f289ea65c982efddd5

12 years agoFix warnings.
Christian Duvivier [Fri, 29 Jun 2012 21:46:11 +0000 (14:46 -0700)]
Fix warnings.

Change-Id: I6dd27a0ea661e6f10a55d7841021b66ae4fc72ae

12 years agoAdd 8x8 fDCT unit test.
Daniel Kang [Thu, 28 Jun 2012 23:26:31 +0000 (16:26 -0700)]
Add 8x8 fDCT unit test.

Also factorize ACMRandom to acm_random.h.

Change-Id: I3b6eeb36fcbf7ae6dd3d2892bc40348f5c17982b