]> granicus.if.org Git - libvpx/log
libvpx
11 years agoDon't use tx32x32 for macroblocks.
Ronald S. Bultje [Fri, 4 Jan 2013 20:05:40 +0000 (12:05 -0800)]
Don't use tx32x32 for macroblocks.

Change-Id: Ib674e0153ca360867ab7a20ba291ac9171a01250

11 years ago64x64 blocksize support.
Ronald S. Bultje [Sun, 6 Jan 2013 02:20:25 +0000 (18:20 -0800)]
64x64 blocksize support.

3.2% gains on std/hd, 1.0% gains on hd.

Change-Id: I481d5df23d8a4fc650a5bcba956554490b2bd200

11 years agoFix mode selection infinite loop bug
Adrian Grange [Fri, 4 Jan 2013 17:00:47 +0000 (09:00 -0800)]
Fix mode selection infinite loop bug

Mode selection for SBs could enter an infinite loop because
the interpolation filter mode index was not being reset
correctly.

Change-Id: I4bbe726f29ef5b6836e94884067c46084713cc11

11 years agoFurther change to mv reference search.
Paul Wilkins [Thu, 3 Jan 2013 15:14:36 +0000 (15:14 +0000)]
Further change to mv reference search.

This experimental change reorders the search so
that all possible references that match the target
reference frame are tested first and these in order
of distance from the current block. These will usually
be the highest scoring candidates.

If we do not find enough good candidates this way
we try non matching cases. These will usually be lower
scoring candidates.

The change in order together with breakouts when
we have found enough candidates should reduce
the computational cost and especially reduce the number
of sort operations.

Quality Results:
Std Hd +0.228%, Hd +0.074%, YT +0.046%, derf +0.137%

This effect is probably due to the fact that more distant
weak candidates are now less likely to get "promoted" over
near candidates even if they are repeated.

Change-Id: Iec37e77d88a48ad0ee1f315b14327a95d63f81f6

11 years agoMerge "make cost_coeffs() and tokenize_b() consistent" into experimental
Yaowu Xu [Thu, 3 Jan 2013 17:57:07 +0000 (09:57 -0800)]
Merge "make cost_coeffs() and tokenize_b() consistent" into experimental

11 years agoMerge "Merge cost_coeffs_2x2() into cost_coeffs()" into experimental
Yaowu Xu [Thu, 3 Jan 2013 17:33:21 +0000 (09:33 -0800)]
Merge "Merge cost_coeffs_2x2() into cost_coeffs()" into experimental

11 years agomake cost_coeffs() and tokenize_b() consistent
Yaowu Xu [Thu, 3 Jan 2013 17:00:30 +0000 (09:00 -0800)]
make cost_coeffs() and tokenize_b() consistent

Change-Id: I7cdb5c32a1400f88ec36d08ea982e38b77731602

11 years agoNew interpolation filter selection algorithm
Adrian Grange [Thu, 20 Dec 2012 22:56:19 +0000 (14:56 -0800)]
New interpolation filter selection algorithm

Old Scheme:
When SWITCHABLE filter selection is enabled the encoder
evaluates the use of each interpolation filter type and
selects the best one to use at the MB level. A frame-
level flag can be set to force the use of a particular
filter type for all MBs in a frame if it is more efficient
to encode that way. The logic here involved a Q dependent
threshold that assumed that the second 8-tap filter was
a high-pass filter. However, this requires a trip around
the recode loop. If the frame-level flag indicates use
of a particular filter, the other filters are not
evaluated in the pick_mode loop.

New Scheme:
Each filter type is evaluated at the MB level and a record
of the best filter is kept, irrespective of what filter
is signaled at the frame-level. Once all MBs have been
encoded, a decision is made as to what frame-level mode
to set for the *next* frame. If one filter is used by 80%
or more of the MBs, then this filter is forced since it
is assumed that this will be more efficient if the
next frame has similar characteristics. i.e. there is a
one-frame lag between measuring the filter selection and
setting the frame-level mode to use.

Change-Id: I6a7e7ced8f27e120fafb99db2dc9c6293f8d20f7

11 years agoMerge cost_coeffs_2x2() into cost_coeffs()
Yaowu Xu [Thu, 3 Jan 2013 16:00:00 +0000 (08:00 -0800)]
Merge cost_coeffs_2x2() into cost_coeffs()

Remove special case function cost_coeffs_2x2() and change function
cost_coeffs() to handle 2nd order haar block as it is handle all
other block types already.

Change-Id: I2aac6f81ee0ae9e03d6a8da4f8681d69b79ce41f

11 years agoMerge "Switch the order of calculating 2-D inverse transform" into experimental
Yunqing Wang [Wed, 2 Jan 2013 19:45:27 +0000 (11:45 -0800)]
Merge "Switch the order of calculating 2-D inverse transform" into experimental

11 years agoMerge "Skip finding best ref_mvs when the mode is ZEROMV" into experimental
Yunqing Wang [Wed, 2 Jan 2013 19:45:19 +0000 (11:45 -0800)]
Merge "Skip finding best ref_mvs when the mode is ZEROMV" into experimental

11 years agoChange INT64_MAX to LLONG_MAX
Paul Wilkins [Wed, 2 Jan 2013 18:06:00 +0000 (18:06 +0000)]
Change INT64_MAX to LLONG_MAX

This is needed to make the windows build work after
the removal of vp9_type_alisases.h.

Change-Id: I8addf38e9f3c8b864e0e30a8916a26e0264dd02c

11 years agoAdded update-able mv-ref probabilities.
Paul Wilkins [Mon, 10 Dec 2012 12:38:48 +0000 (12:38 +0000)]
Added update-able mv-ref probabilities.

Part of NEW_MVREF experiment.
Added update-able probabilities.

Change-Id: I5a4fcf4aaed1d0d1dac980f69d535639a3d59401

11 years agoSkip finding best ref_mvs when the mode is ZEROMV
Yunqing Wang [Fri, 28 Dec 2012 00:04:44 +0000 (16:04 -0800)]
Skip finding best ref_mvs when the mode is ZEROMV

Read mode before calling vp9_find_best_ref_mvs(). If the mode is
ZEROMV, the best ref_mvs are not needed. Then, we can skip calling
vp9_find_best_ref_mvs().

Change-Id: I5baa3658dd3f1c7107211cbbbcf919b4584be2e2

11 years agoSwitch the order of calculating 2-D inverse transform
Yunqing Wang [Thu, 27 Dec 2012 21:48:17 +0000 (13:48 -0800)]
Switch the order of calculating 2-D inverse transform

The 2-D inverse transform X = M1*Z*Transposed_M2 was calculated
in 2 steps from left to right:
1. Vertical transform: Y = M1*Z
2. Horizontal transform: X= Y*Transposed_M2
In SIMD, a transpose is needed in vertical transform.

Here, switched the calculation order to do it from right to left.
In this way, we could eliminate that transpose by writing the
intermediate results out to their transposed positions.

Change-Id: I34dfe5eb01292f6e363712420d99475e2e81e12c

11 years agoRemoved mmx versions of vp9_bilinear_predict filters
Scott LaVarnway [Fri, 21 Dec 2012 22:41:49 +0000 (14:41 -0800)]
Removed mmx versions of vp9_bilinear_predict filters

These filters will not work with VP9.

Change-Id: Ic26c77961084fcea6bfa97f4cd95afdea2282e85

11 years agoFix MSVS build for removed vp9/common/vp9_onyxd.h
John Koleszar [Thu, 20 Dec 2012 23:39:43 +0000 (15:39 -0800)]
Fix MSVS build for removed vp9/common/vp9_onyxd.h

Change-Id: I75ad0b4ca5b53b5bf759cc26a484ec196d275279

11 years agoNew previous coef context experiment
Deb Mukherjee [Tue, 27 Nov 2012 23:51:06 +0000 (15:51 -0800)]
New previous coef context experiment

Adds an experiment to derive the previous context of a coefficient
not just from the previous coefficient in the scan order but from a
combination of several neighboring coefficients previously encountered
in scan order.  A precomputed table of neighbors for each location
for each scan type and block size is used. Currently 5 neighbors are
used.

Results are about 0.2% positive using a strategy where the max coef
magnitude from the 5 neigbors is used to derive the context.

Change-Id: Ie708b54d8e1898af742846ce2d1e2b0d89fd4ad5

11 years agomake: fix dependency generation
John Koleszar [Wed, 19 Dec 2012 21:44:32 +0000 (13:44 -0800)]
make: fix dependency generation

Remove an extra level of escaping around the $@ variable to get valid output.
Prior to this change, modifying header files did not trigger a rebuild of
sources dependent on them.

Change-Id: I93ecc60371b705b64dc8a2583a5d31126fe3f851

11 years agoUse boolcoder API instead of inlining
John Koleszar [Fri, 16 Nov 2012 18:48:23 +0000 (10:48 -0800)]
Use boolcoder API instead of inlining

This patch changes the token packing to call the bool encoder API rather
than inlining it into the token packing function, and similarly removes
a special get_signed case from the detokenizer. This allows easier
experimentation with changing the bool coder as a whole.

Change-Id: I52c3625bbe4960b68cfb873b0e39ade0c82f9e91

11 years agoUse standard integer types for pixel values and coefficients.
Ronald S. Bultje [Tue, 18 Dec 2012 23:31:19 +0000 (15:31 -0800)]
Use standard integer types for pixel values and coefficients.

For coefficients, use int16_t (instead of short); for pixel values in
16-bit intermediates, use uint16_t (instead of unsigned short); for all
others, use uint8_t (instead of unsigned char).

Change-Id: I3619cd9abf106c3742eccc2e2f5e89a62774f7da

11 years agoMerge "Changed MAX_PSNR to 100" into experimental
Yaowu Xu [Tue, 18 Dec 2012 23:00:02 +0000 (15:00 -0800)]
Merge "Changed MAX_PSNR to 100" into experimental

11 years agoChanged MAX_PSNR to 100
Yaowu Xu [Tue, 18 Dec 2012 22:36:20 +0000 (14:36 -0800)]
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

11 years agoMerge "correct logic in cnvcontext experiment for tx32x32" into experimental
Yaowu Xu [Tue, 18 Dec 2012 22:23:39 +0000 (14:23 -0800)]
Merge "correct logic in cnvcontext experiment for tx32x32" into experimental

11 years agoMerge "Give 4x4 scan and coef_band tables a _4x4 suffix." into experimental
Ronald S. Bultje [Tue, 18 Dec 2012 22:17:46 +0000 (14:17 -0800)]
Merge "Give 4x4 scan and coef_band tables a _4x4 suffix." into experimental

11 years agoMerge "Remove redundant "Prob" type (it's a duplicate of vp9_prob)." into experimental
Ronald S. Bultje [Tue, 18 Dec 2012 22:17:16 +0000 (14:17 -0800)]
Merge "Remove redundant "Prob" type (it's a duplicate of vp9_prob)." into experimental

11 years agocorrect logic in cnvcontext experiment for tx32x32
Yaowu Xu [Tue, 18 Dec 2012 19:25:24 +0000 (11:25 -0800)]
correct logic in cnvcontext experiment for tx32x32

Change-Id: I004ded11983b7fda85793912ebc5c6f266dc5eb5

11 years agoFix uninitialized warning
Yunqing Wang [Tue, 18 Dec 2012 20:58:18 +0000 (12:58 -0800)]
Fix uninitialized warning

Fixed uninitialized warning for txfm_size.

Change-Id: I42b7e802c3e84825d49f34e632361502641b7cbf

11 years agoFix a warning
Yunqing Wang [Tue, 18 Dec 2012 20:09:46 +0000 (12:09 -0800)]
Fix a warning

Fixed the warning: the size of array ‘intermediate_buffer’ can’t
be evaluated [-Wvla].

Change-Id: Ibcffd6969bd71cee0c10f7cf18960e58cd0bd915

11 years agoGive 4x4 scan and coef_band tables a _4x4 suffix.
Ronald S. Bultje [Tue, 18 Dec 2012 18:49:10 +0000 (10:49 -0800)]
Give 4x4 scan and coef_band tables a _4x4 suffix.

This matches the names of tables for all other transform sizes.

Change-Id: Ia7681b7f8d34c97c27b0eb0e34d490cd0f8d02c6

11 years agoRemove redundant "Prob" type (it's a duplicate of vp9_prob).
Ronald S. Bultje [Tue, 18 Dec 2012 18:38:12 +0000 (10:38 -0800)]
Remove redundant "Prob" type (it's a duplicate of vp9_prob).

Change-Id: I9548891d7b8ff672a31579bcdce74e4cea529883

11 years agoRemove vp9_type_aliases.h
John Koleszar [Fri, 14 Dec 2012 20:35:33 +0000 (12:35 -0800)]
Remove vp9_type_aliases.h

Prefer the standard fixed-size integer typedefs.

Change-Id: Iad75582350669e49a8da3b7facb9c259e9514a5b

11 years agofixed an encoder/decoder mismatch
Yaowu Xu [Thu, 13 Dec 2012 22:58:30 +0000 (14:58 -0800)]
fixed an encoder/decoder mismatch

The mismatch was caused by an improper merge of cleanup code around
tokenize_b() and stuff_b() with TX32X32 experiment.

Change-Id: I225ae62f015983751f017386548d9c988c30664c

11 years agofixed build issue with round()
Yaowu Xu [Thu, 13 Dec 2012 22:51:27 +0000 (14:51 -0800)]
fixed build issue with round()

not defined in msvc

Change-Id: I8fe8462a0c2f636d8b43c0243832ca67578f3665

11 years agoBuild fixes with teh super blcoks and 32x32 expts
Deb Mukherjee [Thu, 13 Dec 2012 20:18:38 +0000 (12:18 -0800)]
Build fixes with teh super blcoks and 32x32 expts

Change-Id: I3c751f8d57ac7d3b754476dc6ce144d162534e6d

11 years agoMerge "Further improvements on the hybrid dwt/dct expt" into experimental
Deb Mukherjee [Thu, 13 Dec 2012 19:04:56 +0000 (11:04 -0800)]
Merge "Further improvements on the hybrid dwt/dct expt" into experimental

11 years agoFurther improvements on the hybrid dwt/dct expt
Deb Mukherjee [Wed, 12 Dec 2012 01:06:35 +0000 (17:06 -0800)]
Further improvements on the hybrid dwt/dct expt

Modifies the scanning pattern and uses a floating point 16x16
dct implementation for now to handle scaling better.
Also experiments are in progress with 2/6 and 9/7 wavelets.

Results have improved to within ~0.25% of 32x32 dct for std-hd
and about 0.03% for derf. This difference can probably be bridged by
re-optimizing the entropy stats for these transforms. Currently
the stats used are common between 32x32 dct and dwt/dct.

Experiments are in progress with various scan pattern - wavelet
combinations.

Ideally the subbands should be tokenized separately, and an
experiment will be condcuted next on that.

Change-Id: Ia9cbfc2d63cb7a47e562b2cd9341caf962bcc110

11 years agoMerge "New default coefficient/band probabilities." into experimental
Ronald S. Bultje [Thu, 13 Dec 2012 17:56:50 +0000 (09:56 -0800)]
Merge "New default coefficient/band probabilities." into experimental

11 years agoNew default coefficient/band probabilities.
Ronald S. Bultje [Wed, 12 Dec 2012 18:25:58 +0000 (10:25 -0800)]
New default coefficient/band probabilities.

Gives 0.5-0.6% improvement on derf and stdhd, and 1.1% on hd. The
old tables basically derive from times that we had only 4x4 or
only 4x4 and 8x8 DCTs.

Note that some values are filled with 128, because e.g. ADST ever
only occurs as Y-with-DC, as does 32x32; 16x16 ever only occurs
as Y-with-DC or as UV (as complement of 32x32 Y); and 8x8 Y2 ever
only has 4 coefficients max. If preferred, I can add values of
other tables in their place (e.g. use 4x4 2nd order high-frequency
probabilities for 8x8 2nd order), so that they make at least some
sense if we ever implement a larger 2nd order transform for the
8x8 DCT (etc.), please let me know

Change-Id: I917db356f2aff8865f528eb873c56ef43aa5ce22

11 years agoMerge "Consistently use get_prob(), clip_prob() and newly added clip_pixel()." into...
Ronald S. Bultje [Wed, 12 Dec 2012 18:34:14 +0000 (10:34 -0800)]
Merge "Consistently use get_prob(), clip_prob() and newly added clip_pixel()." into experimental

11 years agoConsistently use get_prob(), clip_prob() and newly added clip_pixel().
Ronald S. Bultje [Mon, 10 Dec 2012 20:09:07 +0000 (12:09 -0800)]
Consistently use get_prob(), clip_prob() and newly added clip_pixel().

Add a function clip_pixel() to clip a pixel value to the [0,255] range
of allowed values, and use this where-ever appropriate (e.g. prediction,
reconstruction). Likewise, consistently use the recently added function
clip_prob(), which calculates a binary probability in the [1,255] range.
If possible, try to use get_prob() or its sister get_binary_prob() to
calculate binary probabilities, for consistency.

Since in some places, this means that binary probability calculations
are changed (we use {255,256}*count0/(total) in a range of places,
and all of these are now changed to use 256*count0+(total>>1)/total),
this changes the encoding result, so this patch warrants some extensive
testing.

Change-Id: Ibeeff8d886496839b8e0c0ace9ccc552351f7628

11 years agoMerge "clean up tokenize_b() and stuff_b()" into experimental
Yaowu Xu [Tue, 11 Dec 2012 21:51:56 +0000 (13:51 -0800)]
Merge "clean up tokenize_b() and stuff_b()" into experimental

11 years agoclean up tokenize_b() and stuff_b()
Yaowu Xu [Thu, 6 Dec 2012 20:40:57 +0000 (12:40 -0800)]
clean up tokenize_b() and stuff_b()

Change-Id: I0c1be01aae933243311ad321b6c456adaec1a0f5

11 years agoMerge "experiment with CONTEXT conversion" into experimental
Yaowu Xu [Tue, 11 Dec 2012 17:46:36 +0000 (09:46 -0800)]
Merge "experiment with CONTEXT conversion" into experimental

11 years agoMerge "A bug fix related to switchable filters" into experimental
Deb Mukherjee [Mon, 10 Dec 2012 20:28:06 +0000 (12:28 -0800)]
Merge "A bug fix related to switchable filters" into experimental

11 years agoA bug fix related to switchable filters
Deb Mukherjee [Mon, 10 Dec 2012 20:10:36 +0000 (12:10 -0800)]
A bug fix related to switchable filters

The switchable count update was mistakenly inside a macro.

Change-Id: Iec04c52ad57034b88312dbaf05eee1f47ce265b3

11 years agoFurther changes to mv reference code.
Paul Wilkins [Wed, 5 Dec 2012 16:23:38 +0000 (16:23 +0000)]
Further changes to mv reference code.

Some further changes and refactoring of mv
reference code and selection of center point for
searches. Mainly relates to not passing so many
different local copies of things around.

Some place holder comments.

Change-Id: I309f10ffe9a9cde7663e7eae19eb594371c8d055

11 years agoMerge remote-tracking branch 'origin/vp9-preview' into experimental
John Koleszar [Sat, 8 Dec 2012 01:26:31 +0000 (17:26 -0800)]
Merge remote-tracking branch 'origin/vp9-preview' into experimental

11 years agoexperiment with CONTEXT conversion
Yaowu Xu [Wed, 28 Nov 2012 23:15:51 +0000 (15:15 -0800)]
experiment with CONTEXT conversion

This commit changed the ENTROPY_CONTEXT conversion between MBs that
have different transform sizes.

In additioin, this commit also did a number of cleanup/bug fix:
1. removed duplicate function vp9_fix_contexts() and changed to use
vp8_reset_mb_token_contexts() for both encoder and decoder
2. fixed a bug in stuff_mb_16x16 where wrong context was used for
the UV.
3. changed reset all context to 0 if a MB is skipped to simplify the
logic.

Change-Id: I7bc57a5fb6dbf1f85eac1543daaeb3a61633275c

11 years agolibvpx_test: ensure rtcd init functions are called
John Koleszar [Thu, 6 Dec 2012 21:56:25 +0000 (13:56 -0800)]
libvpx_test: ensure rtcd init functions are called

In addition to allowing tests to use the RTCD-enabled functions (perhaps transitively)
without having run a full encode/decode test yet, this fixes a linking issue with
Apple's G++ whereby the Common symbols (the function pointers themselves) wouldn't
be resolved. Fixing this linking issue is the primary impetus for this patch, as none
of the tests exercise the RTCD functionality except through the main API.

Change-Id: I12aed91ca37a707e5309aa6cb9c38a649c06bc6a

11 years agoMerge "Fix implicit cast." into vp9-preview
Jim Bankoski [Sat, 8 Dec 2012 01:16:01 +0000 (17:16 -0800)]
Merge "Fix implicit cast." into vp9-preview

11 years agoMerge "Fix meaninglesss if." into vp9-preview
Jim Bankoski [Sat, 8 Dec 2012 01:15:52 +0000 (17:15 -0800)]
Merge "Fix meaninglesss if." into vp9-preview

11 years agoClean up 4x4 coefficient decoding code.
Ronald S. Bultje [Sat, 8 Dec 2012 00:26:25 +0000 (16:26 -0800)]
Clean up 4x4 coefficient decoding code.

Don't use vp9_decode_coefs_4x4() for 2nd order DC or luma blocks. The
code introduces some overhead which is unnecessary for these cases.
Also, remove variable declarations that are only used once, remove
magic offsets into the coefficient buffer (use xd->block[i].qcoeff
instead of xd->qcoeff + magic_offset), and fix a few Google Style
Guide violations.

Change-Id: I0ae653fd80ca7f1e4bccd87ecef95ddfff8f28b4

11 years agoIntroduce vp9_coeff_probs/counts/stats/accum types.
Ronald S. Bultje [Sat, 8 Dec 2012 00:09:59 +0000 (16:09 -0800)]
Introduce vp9_coeff_probs/counts/stats/accum types.

Use these, instead of the 4/5-dimensional arrays, to hold statistics,
counts, accumulations and probabilities for coefficient tokens. This
commit also re-allows ENTROPY_STATS to compile.

Change-Id: If441ffac936f52a3af91d8f2922ea8a0ceabdaa5

11 years agoFix meaninglesss if.
Frank Galligan [Fri, 7 Dec 2012 23:20:39 +0000 (15:20 -0800)]
Fix meaninglesss if.

Change-Id: I0cb06d77805246fe39d39ad3bc5df3c3f52c7050

11 years agoRemove unused symbols from vp9 asm offsets C files.
Frank Galligan [Fri, 7 Dec 2012 23:29:18 +0000 (15:29 -0800)]
Remove unused symbols from vp9 asm offsets C files.

Change-Id: I366e6d175da3012f1c8607fd7fad99fbbb616091

11 years agoFix implicit cast.
Frank Galligan [Fri, 7 Dec 2012 23:25:44 +0000 (15:25 -0800)]
Fix implicit cast.

Change-Id: I1eb7433061a6c529471026e0ebdc6467942062eb

11 years ago32x32 transform for superblocks.
Ronald S. Bultje [Fri, 7 Dec 2012 22:45:05 +0000 (14:45 -0800)]
32x32 transform for superblocks.

This adds Debargha's DCT/DWT hybrid and a regular 32x32 DCT, and adds
code all over the place to wrap that in the bitstream/encoder/decoder/RD.

Some implementation notes (these probably need careful review):
- token range is extended by 1 bit, since the value range out of this
  transform is [-16384,16383].
- the coefficients coming out of the FDCT are manually scaled back by
  1 bit, or else they won't fit in int16_t (they are 17 bits). Because
  of this, the RD error scoring does not right-shift the MSE score by
  two (unlike for 4x4/8x8/16x16).
- to compensate for this loss in precision, the quantizer is halved
  also. This is currently a little hacky.
- FDCT and IDCT is double-only right now. Needs a fixed-point impl.
- There are no default probabilities for the 32x32 transform yet; I'm
  simply using the 16x16 luma ones. A future commit will add newly
  generated probabilities for all transforms.
- No ADST version. I don't think we'll add one for this level; if an
  ADST is desired, transform-size selection can scale back to 16x16
  or lower, and use an ADST at that level.

Additional notes specific to Debargha's DWT/DCT hybrid:
- coefficient scale is different for the top/left 16x16 (DCT-over-DWT)
  block than for the rest (DWT pixel differences) of the block. Therefore,
  RD error scoring isn't easily scalable between coefficient and pixel
  domain. Thus, unfortunately, we need to compute the RD distortion in
  the pixel domain until we figure out how to scale these appropriately.

Change-Id: I00386f20f35d7fabb19aba94c8162f8aee64ef2b

11 years agolibvpx_test: ensure rtcd init functions are called
John Koleszar [Thu, 6 Dec 2012 21:56:25 +0000 (13:56 -0800)]
libvpx_test: ensure rtcd init functions are called

In addition to allowing tests to use the RTCD-enabled functions (perhaps transitively)
without having run a full encode/decode test yet, this fixes a linking issue with
Apple's G++ whereby the Common symbols (the function pointers themselves) wouldn't
be resolved. Fixing this linking issue is the primary impetus for this patch, as none
of the tests exercise the RTCD functionality except through the main API.

Change-Id: I12aed91ca37a707e5309aa6cb9c38a649c06bc6a

11 years agoMove vp8_scale_frame to vpx namespace
Johann [Tue, 4 Dec 2012 00:23:49 +0000 (16:23 -0800)]
Move vp8_scale_frame to vpx namespace

Change-Id: I92d613e89c8f1174eca0789116120bfa20c25c28

11 years agoRemove last duck_ functions
Johann [Mon, 3 Dec 2012 23:08:17 +0000 (15:08 -0800)]
Remove last duck_ functions

Change-Id: I5fbcd2006d05bfe841f3c7af9c1aeb2cb83b3149

11 years agoUse 'vpx_scale' consistently
Johann [Mon, 3 Dec 2012 22:19:49 +0000 (14:19 -0800)]
Use 'vpx_scale' consistently

Change-Id: I178352813d2b8702d081caf405de9dbad9af2cc3

11 years agoMerge "Change to MV reference search." into experimental
Paul Wilkins [Wed, 5 Dec 2012 17:14:46 +0000 (09:14 -0800)]
Merge "Change to MV reference search." into experimental

11 years agoMerge remote-tracking branch 'origin/vp9-preview' into experimental
John Koleszar [Wed, 5 Dec 2012 17:01:57 +0000 (09:01 -0800)]
Merge remote-tracking branch 'origin/vp9-preview' into experimental

11 years agoBegin to refactor vpx_scale usage in VP9
Johann [Mon, 3 Dec 2012 20:26:51 +0000 (12:26 -0800)]
Begin to refactor vpx_scale usage in VP9

Only declare the functions in vpx_scale RTCD and include the relevant
header.

Remove unused files and functions in vpx_scale to avoid wasting time
renaming. vpx_scale/win32/scaleopt.c contains functions which have not
been called in a long time but are potentially optimized.

The 'vp8' functions have not been renamed yet. That is for after the
cleanup.

Change-Id: I2c325a101d60fa9d27e7dfcd5b52a864b4a1e09c

11 years agoRemove ARM optimizations from VP9
Johann [Sun, 2 Dec 2012 22:14:00 +0000 (14:14 -0800)]
Remove ARM optimizations from VP9

Change-Id: I9f0ae635fb9a95c4aa1529c177ccb07e2b76970b

11 years agoUpdate ARM for vpx_scale changes
Johann [Fri, 30 Nov 2012 20:25:01 +0000 (12:25 -0800)]
Update ARM for vpx_scale changes

Refactor asm_offsets for vpx_scale.

Change-Id: I2db0eeb28c8e757bd033c6614a1e5319a1a204a5

11 years agoMerge remote-tracking branch 'origin/vp9-preview' into experimental
John Koleszar [Wed, 5 Dec 2012 16:41:35 +0000 (08:41 -0800)]
Merge remote-tracking branch 'origin/vp9-preview' into experimental

11 years agovp9_bilinear_filters_mmx: add missing extern specifiers
John Koleszar [Wed, 5 Dec 2012 16:27:48 +0000 (08:27 -0800)]
vp9_bilinear_filters_mmx: add missing extern specifiers

Change-Id: Ibabf18947f90cb4f45052763ebf44cfb8209bd8b

11 years agoChange to MV reference search.
Paul Wilkins [Tue, 4 Dec 2012 17:21:05 +0000 (17:21 +0000)]
Change to MV reference search.

This patch reduces the cpu cost of the MV ref
search by only allowing insert for candidates
that would be in the current top 4.

This could alter the outcome and slightly favors
near candidates which are tested first but also
limits the worst case loop count to 4 and means in
many cases it will drop out and not happen.

Change-Id: Idd795a825f9fd681f30f4fcd550c34c38939e113

11 years agoMerge "Begin to refactor vpx_scale usage in VP9" into experimental
Johann [Tue, 4 Dec 2012 23:23:42 +0000 (15:23 -0800)]
Merge "Begin to refactor vpx_scale usage in VP9" into experimental

11 years agoEnable unit tests to build with MSVC
Yaowu Xu [Tue, 4 Dec 2012 20:28:10 +0000 (12:28 -0800)]
Enable unit tests to build with MSVC

Change-Id: Ie80597221bee494679ae2ba50cca22dea2609cba

11 years agoFix the build with MSVC
Yaowu Xu [Tue, 4 Dec 2012 16:35:37 +0000 (08:35 -0800)]
Fix the build with MSVC

1. remove the dependency on non existing "vp9_temporal_filter_x86.h"
2. prefix filenames with vp9_ in obj_int_extract.bat to reflect the
change of the actual filenames.

Change-Id: Ib1b4d96ac41788f76917764a6722d8461c857302

11 years agoMerge "vp9: Fix assert check." into vp9-preview
Frank Galligan [Tue, 4 Dec 2012 01:29:46 +0000 (17:29 -0800)]
Merge "vp9: Fix assert check." into vp9-preview

11 years agomerged optimiz_b_16x16() into optmize_b()
Yaowu Xu [Mon, 3 Dec 2012 22:53:45 +0000 (14:53 -0800)]
merged optimiz_b_16x16() into optmize_b()

The commit changed the trellis quantization function optimize_b() to
work for MBs using all transform sizes, and eliminated the function
for MB using 16x16 transform only, optimize_b_16x16.

Change-Id: I3fa650587ab5198ed16315b38754783a72b33ba2

11 years agoMerge "Remove ARM optimizations from VP9" into experimental
Johann [Mon, 3 Dec 2012 21:54:38 +0000 (13:54 -0800)]
Merge "Remove ARM optimizations from VP9" into experimental

11 years agoMerge "Update ARM for vpx_scale changes" into experimental
Johann [Mon, 3 Dec 2012 21:54:04 +0000 (13:54 -0800)]
Merge "Update ARM for vpx_scale changes" into experimental

11 years agoBegin to refactor vpx_scale usage in VP9
Johann [Mon, 3 Dec 2012 20:26:51 +0000 (12:26 -0800)]
Begin to refactor vpx_scale usage in VP9

Only declare the functions in vpx_scale RTCD and include the relevant
header.

Remove unused files and functions in vpx_scale to avoid wasting time
renaming. vpx_scale/win32/scaleopt.c contains functions which have not
been called in a long time but are potentially optimized.

The 'vp8' functions have not been renamed yet. That is for after the
cleanup.

Change-Id: I2c325a101d60fa9d27e7dfcd5b52a864b4a1e09c

11 years agoRemove ARM optimizations from VP9
Johann [Sun, 2 Dec 2012 22:14:00 +0000 (14:14 -0800)]
Remove ARM optimizations from VP9

Change-Id: I9f0ae635fb9a95c4aa1529c177ccb07e2b76970b

11 years agoUpdate ARM for vpx_scale changes
Johann [Fri, 30 Nov 2012 20:25:01 +0000 (12:25 -0800)]
Update ARM for vpx_scale changes

Refactor asm_offsets for vpx_scale.

Change-Id: I2db0eeb28c8e757bd033c6614a1e5319a1a204a5

11 years agoMerge "fixes --disable-vp9-encoder" into vp9-preview
Jim Bankoski [Mon, 3 Dec 2012 20:41:30 +0000 (12:41 -0800)]
Merge "fixes --disable-vp9-encoder" into vp9-preview

11 years agofixes --disable-vp9-encoder
Jim Bankoski [Mon, 3 Dec 2012 20:21:16 +0000 (12:21 -0800)]
fixes --disable-vp9-encoder

Change-Id: I467bf0fdf3b35326bcce58d5459e6d2dbfd6c5e5

11 years agovp9: Fix assert check.
Frank Galligan [Mon, 3 Dec 2012 20:18:59 +0000 (12:18 -0800)]
vp9: Fix assert check.

Change-Id: If0cc1ab60dff6abd67dae7c7b3dc83a1afd7fe65

11 years agovp9: Remove superfluous command.
Frank Galligan [Mon, 3 Dec 2012 18:20:11 +0000 (10:20 -0800)]
vp9: Remove superfluous command.

- vpx_calloc is called on arf_not_zz above.
- Note The removed vpx_memset call had an issue with sizeof.

Change-Id: I86fd7a167d0a042e581e613e2a6c0b5e63073fc6

11 years agoMerge "Rename vpx_scale/rtcd.c to vpx_scale/vpx_scale_rtcd.c" into experimental
John Koleszar [Mon, 3 Dec 2012 17:18:45 +0000 (09:18 -0800)]
Merge "Rename vpx_scale/rtcd.c to vpx_scale/vpx_scale_rtcd.c" into experimental

11 years agoSupports inter-intra prediction with superblocks
Deb Mukherjee [Fri, 30 Nov 2012 19:46:20 +0000 (11:46 -0800)]
Supports inter-intra prediction with superblocks

Adds support for compound inter-intra prediction with superblocks.
Also, fixes a bug that disabled intra modes for superblocks.

Change-Id: I4d711317e1bc19df8c2f32dc645429f7fff31036

11 years agoRename vpx_scale/rtcd.c to vpx_scale/vpx_scale_rtcd.c
Frank Galligan [Fri, 30 Nov 2012 23:48:52 +0000 (15:48 -0800)]
Rename vpx_scale/rtcd.c to vpx_scale/vpx_scale_rtcd.c

Change-Id: I4765ca3dab880a3673c15fb56b2d912ec2ea194e

11 years agoAdds switchable filters with superblocks
Deb Mukherjee [Fri, 30 Nov 2012 00:39:15 +0000 (16:39 -0800)]
Adds switchable filters with superblocks

Allows switchbale filters to be used without mismatch when the
superblock experiment is on.

Also removes a spurious clamping code in decodemv.c which causes
rare encode/decode mismatches.

Change-Id: I809d9ee0b2859552b613500b539a615515b863ae

11 years agowarnings in various experiments
Jim Bankoski [Fri, 30 Nov 2012 15:29:43 +0000 (07:29 -0800)]
warnings in various experiments

Change-Id: Ib5106d4772450f8026f823dd743f162ab833b1d6

11 years agogoogle style guide include guards
Jim Bankoski [Fri, 30 Nov 2012 00:36:10 +0000 (16:36 -0800)]
google style guide include guards

Change-Id: I2c252f3ddcc99e96c1f5d3dab8bcb25a2a3637ea

11 years agoMerge "Further improve macroblock loop filters" into experimental
Yunqing Wang [Fri, 30 Nov 2012 00:07:14 +0000 (16:07 -0800)]
Merge "Further improve macroblock loop filters" into experimental

11 years agoMerge "Minor refactoring of superblock decoding" into experimental
Deb Mukherjee [Thu, 29 Nov 2012 23:33:42 +0000 (15:33 -0800)]
Merge "Minor refactoring of superblock decoding" into experimental

11 years agoMinor refactoring of superblock decoding
Deb Mukherjee [Thu, 29 Nov 2012 23:26:56 +0000 (15:26 -0800)]
Minor refactoring of superblock decoding

Refactoring for improved readability - no bitstream or
performance change.

Change-Id: I4488ed4715f8dbe38c66431106478669041b8b33

11 years agoa vp8 warning to boot.
Jim Bankoski [Thu, 29 Nov 2012 22:24:54 +0000 (14:24 -0800)]
a vp8 warning to boot.

Change-Id: I32ed051c8b4d3e5afa4e13bb4e3b2ca5e922ff64

11 years agointrinsic warnings begone
Jim Bankoski [Thu, 29 Nov 2012 22:14:26 +0000 (14:14 -0800)]
intrinsic warnings begone

Change-Id: I6a224c590b6a2c5b91f9084ffb8083d18223a206

11 years agolast remaining warning
Jim Bankoski [Thu, 29 Nov 2012 22:07:21 +0000 (14:07 -0800)]
last remaining warning

Change-Id: I1f49d96cdb5e342041c9a72ef31df361a1b609eb

11 years agofix implicit warnings idct etc
Jim Bankoski [Thu, 29 Nov 2012 19:23:02 +0000 (11:23 -0800)]
fix implicit warnings idct etc

Change-Id: I54a122cc8c0b6ed2dbc3c6ecfcd44736cd40b687

11 years agoAdditional warning message cleanup.
Jim Bankoski [Thu, 29 Nov 2012 18:10:51 +0000 (10:10 -0800)]
Additional warning message cleanup.

Change-Id: I429a97ac57db3de0bf67ce3f3fe0c6b409f77a9e

11 years agoMerge changes Iaa67bcf1,Ibea3bc80 into experimental
Yaowu Xu [Thu, 29 Nov 2012 17:34:10 +0000 (09:34 -0800)]
Merge changes Iaa67bcf1,Ibea3bc80 into experimental

* changes:
  more warning cleanup
  unused variables & warnings

11 years agoMerge "more unused variables." into experimental
Yaowu Xu [Thu, 29 Nov 2012 17:33:59 +0000 (09:33 -0800)]
Merge "more unused variables." into experimental