]> granicus.if.org Git - libvpx/log
libvpx
8 years agoDefine SIMD_INLINE using AOM_FORCE_INLINE
Steinar Midtskogen [Tue, 18 Oct 2016 06:04:28 +0000 (08:04 +0200)]
Define SIMD_INLINE using AOM_FORCE_INLINE

Change-Id: I7d6394e48e9b6093e5b523387ed250f371ee7fb9

8 years agoAOM_FORCE_INLINE: fix always_inline attribute
James Zern [Mon, 17 Oct 2016 19:39:34 +0000 (12:39 -0700)]
AOM_FORCE_INLINE: fix always_inline attribute

Change-Id: Ia8ce146489713e137004ccf41faf35aa5645b8ae

8 years agoFree memory allocated by daala_ec encoder.
Nathan E. Egge [Fri, 14 Oct 2016 11:07:03 +0000 (07:07 -0400)]
Free memory allocated by daala_ec encoder.

Free the two memory buffers allocated by the daala_ec encoder when
 calling od_ec_enc_clear() from aom_daala_stop_encode().

Change-Id: If20e86374ea29e51ee59111012905e56039dd4cc

8 years agoMove clpf_sse4_1.c to clpf_sse4.c in agreement with convention
Steinar Midtskogen [Tue, 18 Oct 2016 05:56:52 +0000 (07:56 +0200)]
Move clpf_sse4_1.c to clpf_sse4.c in agreement with convention

Change-Id: Ia9adc46b8a4d08c5b8e0089ea1a1526df4f1e1dc

8 years agosync avg_test.cc with aom/master
Yaowu Xu [Wed, 19 Oct 2016 21:23:22 +0000 (14:23 -0700)]
sync avg_test.cc with aom/master

Change-Id: I651db25bee8f83a9fc6dcd35db5007a002f171c0

8 years agoFix Visual Studio build.
Thomas [Tue, 20 Sep 2016 11:07:11 +0000 (12:07 +0100)]
Fix Visual Studio build.

Change-Id: I01608dfd597cc1d2bd4e73918aa29cf9251edb08

8 years agoStep size and arithmetic coding for delta quantization.
Thomas Davies [Mon, 5 Sep 2016 15:51:31 +0000 (16:51 +0100)]
Step size and arithmetic coding for delta quantization.

Example performance: 1.8% bit rate savings using
the AQ test mode aq-mode=4 :
./aomenc --codec=av1 --ivf --tile-columns=1 --tile-rows=1 \
                 --kf-max-dist=1000 --kf-min-dist=1000 --cpu-used=0 \
                 --passes=1 --threads=1 --lag-in-frames=0 \
                 --end-usage=q --limit=600 --cq-level=42 \
                 --aq-mode=4 --error-resilient=1 out.bits FourPeople_1280x720_60.y4m

Change-Id: Iba01cf2732a57f3c27481ac2a3c8fc37bb9e5533

8 years agoSupport for delta-q at superblock level
Arild Fuldseth [Mon, 15 Aug 2016 13:07:52 +0000 (15:07 +0200)]
Support for delta-q at superblock level

Change-Id: I4128af44776d1f361bddc1fdffb75ed2224dbfa5

8 years agoMerge "Always send frame size explicitly" into nextgenv2
Yaowu Xu [Wed, 19 Oct 2016 22:00:40 +0000 (22:00 +0000)]
Merge "Always send frame size explicitly" into nextgenv2

8 years agoMerge "Fix build issues when --enable-aom-qm" into nextgenv2
Yaowu Xu [Wed, 19 Oct 2016 21:56:40 +0000 (21:56 +0000)]
Merge "Fix build issues when --enable-aom-qm" into nextgenv2

8 years agoMerge "Fix decodeframe.c format" into nextgenv2
Yaowu Xu [Wed, 19 Oct 2016 21:28:06 +0000 (21:28 +0000)]
Merge "Fix decodeframe.c format" into nextgenv2

8 years agoMerge "Remove OBMC from the experimental configure list" into nextgenv2
Yue Chen [Wed, 19 Oct 2016 21:02:15 +0000 (21:02 +0000)]
Merge "Remove OBMC from the experimental configure list" into nextgenv2

8 years agoMerge "Add unit test for delta-q (aq-mode=4)" into nextgenv2
Yaowu Xu [Wed, 19 Oct 2016 21:01:03 +0000 (21:01 +0000)]
Merge "Add unit test for delta-q (aq-mode=4)" into nextgenv2

8 years agoFix decodeframe.c format
Jingning Han [Wed, 19 Oct 2016 20:48:57 +0000 (13:48 -0700)]
Fix decodeframe.c format

Change-Id: I2228a3d1778917ac760582fbec3c868be5d9ba1c

8 years agoAlways send frame size explicitly
Arild Fuldseth [Fri, 2 Sep 2016 11:00:05 +0000 (13:00 +0200)]
Always send frame size explicitly

This commit changes to send frame size explicitly when
error_resilient_mode=1. Purpose is to allow parsing of bitstream
after a packet loss.

Change-Id: I7d1c010a465aa18914762cc1a3e61db377304c08

8 years agoFix build issues when --enable-aom-qm
Yaowu Xu [Wed, 19 Oct 2016 16:31:50 +0000 (09:31 -0700)]
Fix build issues when --enable-aom-qm

Change-Id: I1a462675c06c4b2a5f8b4b347f23fec67feccdd0

8 years agoMerge "Fix failing TestBitIO test with --enable-daala_ec." into nextgenv2
Yaowu Xu [Wed, 19 Oct 2016 18:59:20 +0000 (18:59 +0000)]
Merge "Fix failing TestBitIO test with --enable-daala_ec." into nextgenv2

8 years agoMerge "Change return type of tell and tell_frac to uint32_t." into nextgenv2
Yaowu Xu [Wed, 19 Oct 2016 18:59:07 +0000 (18:59 +0000)]
Merge "Change return type of tell and tell_frac to uint32_t." into nextgenv2

8 years agoRemove OBMC from the experimental configure list
Yue Chen [Wed, 19 Oct 2016 18:22:04 +0000 (11:22 -0700)]
Remove OBMC from the experimental configure list

It was replaced by MOTION_VAR in commit cb60b18

Change-Id: I7ab625eef4dbae2e5585d9fa3b6873aa78b2c254

8 years agoAdd unit test for delta-q (aq-mode=4)
Arild Fuldseth (arilfuld) [Thu, 22 Sep 2016 12:23:45 +0000 (14:23 +0200)]
Add unit test for delta-q (aq-mode=4)

Change-Id: Ic529355880b4dbd076a7e46e7b03a49a1ee5f6f0

8 years agoMerge changes I3922dea2,I3bab2848,I21f7478a,Ida5de713,Ib9f0eefe, ... into nextgenv2
Urvang Joshi [Wed, 19 Oct 2016 18:25:52 +0000 (18:25 +0000)]
Merge changes I3922dea2,I3bab2848,I21f7478a,Ida5de713,Ib9f0eefe, ... into nextgenv2

* changes:
  Fix warnings reported by -Wshadow: Part4: main directory
  Fix warnings reported by -Wshadow: Part3: test/ directory
  Fix warnings reported by -Wshadow: Part2b: more from av1 directory
  Fix warnings reported by -Wshadow: Part2: av1 directory
  Fix warnings reported by -Wshadow: Part1b: scan_order struct and variable
  Fix warnings reported by -Wshadow: Part1: aom_dsp directory
  Move STAT_TYPE enum to source file.
  Code cleanup: mainly rd_pick_partition and methods called from there.

8 years agoFix failing TestBitIO test with --enable-daala_ec.
Nathan E. Egge [Tue, 11 Oct 2016 21:46:03 +0000 (17:46 -0400)]
Fix failing TestBitIO test with --enable-daala_ec.

Change-Id: I6a885b7c6315261d67a9c2fcde914206b8301f4a

8 years agoChange return type of tell and tell_frac to uint32_t.
Nathan E. Egge [Wed, 7 Sep 2016 03:48:43 +0000 (23:48 -0400)]
Change return type of tell and tell_frac to uint32_t.

The bit accounting functions aom_reader_tell() and aom_reader_tell_frac()
 return the number of bits and 1/8th bits respectively.
This patch changes the return type from ptrdiff_t which is signed to
 uint32_t which is unsigned.
The size_t type is not used since we only care about the number of bits
 or 1/8 bits per entropy coder context and we don't expect to code more
 than 512 megabits per tile.

Change-Id: I84a119d1f52829dcbdb66a92656eacca06e42b11

8 years agoMerge "Temporary fix for 4X8 block intra prediction." into nextgenv2
Hui Su [Wed, 19 Oct 2016 16:55:20 +0000 (16:55 +0000)]
Merge "Temporary fix for 4X8 block intra prediction." into nextgenv2

8 years agoMerge "Fix format in set_offsets()" into nextgenv2
Hui Su [Wed, 19 Oct 2016 16:54:29 +0000 (16:54 +0000)]
Merge "Fix format in set_offsets()" into nextgenv2

8 years agoMerge "Add av1_fdct64_new and av1_idct64_new" into nextgenv2
Angie Chiang [Wed, 19 Oct 2016 16:34:24 +0000 (16:34 +0000)]
Merge "Add av1_fdct64_new and av1_idct64_new" into nextgenv2

8 years agoFix warnings reported by -Wshadow: Part4: main directory
Urvang Joshi [Mon, 17 Oct 2016 21:53:33 +0000 (14:53 -0700)]
Fix warnings reported by -Wshadow: Part4: main directory

Now that all warnings are taken care of, add warning flag -Wshadow to
configure.

Note: Enabling this flag for C++ generates some useless warnings about
some function parameters shadowing class member function names. So, only
enabling this warning for C code.

Cherry-picked from aomedia/master: b96cbc4

Change-Id: I3922dea2e6976b16519c4aa4d1bd395c198134f1

8 years agoFix for var_tx context update
Peter de Rivaz [Wed, 19 Oct 2016 10:43:11 +0000 (11:43 +0100)]
Fix for var_tx context update

The tx_partition_set_contexts function changes tx_size even
for blocks coded with a rectangular transform.
This causes an internal rd inconsistency when using all of
CONFIG_VAR_TX, CONFIG_RECT_TX, CONFIG_EXT_TX.

Change-Id: Ia45d4a8893b0961534219bb96d9652719038c7a1

8 years agoReorder includes
Yaowu Xu [Wed, 19 Oct 2016 00:15:40 +0000 (17:15 -0700)]
Reorder includes

Change-Id: I97487bf353471bf9d245cd620780adfb1d3fc2b1

8 years agoBit accounting.
Michael Bebenita [Thu, 25 Aug 2016 21:40:54 +0000 (14:40 -0700)]
Bit accounting.

This patch adds bit account infrastructure to the bit reader API.
When configured with --enable-accounting, every bit reader API
function records the number of bits necessary to decoding a symbol.
Accounting symbol entries are collected in global accounting data
structure, that can be used to understand exactly where bits are
spent (http://aomanalyzer.org). The data structure is cleared and
reused each frame to reduce memory usage. When configured without
--enable-accounting, bit accounting does not incur any runtime
overhead.

All aom_read_xxx functions now have an additional string parameter
that specifies the symbol name. By default, the ACCT_STR macro is
used (which expands to __func__). For more precise accounting,
these should be replaced with more descriptive names.

Change-Id: Ia2e1343cb842c9391b12b77272587dfbe307a56d

8 years agoMerge "Fix ransac random generator seeding" into nextgenv2
Debargha Mukherjee [Wed, 19 Oct 2016 01:39:08 +0000 (01:39 +0000)]
Merge "Fix ransac random generator seeding" into nextgenv2

8 years agoMerge "Update segment tree_cdf per frame." into nextgenv2
Yaowu Xu [Wed, 19 Oct 2016 01:09:52 +0000 (01:09 +0000)]
Merge "Update segment tree_cdf per frame." into nextgenv2

8 years agoMerge "Adds ability to measure with a higher precision the number of bits read per...
Yaowu Xu [Wed, 19 Oct 2016 01:09:41 +0000 (01:09 +0000)]
Merge "Adds ability to measure with a higher precision the number of bits read per symbol." into nextgenv2

8 years agoMerge "Add clamping to parameter search" into nextgenv2
Sarah Parker [Wed, 19 Oct 2016 00:44:28 +0000 (00:44 +0000)]
Merge "Add clamping to parameter search" into nextgenv2

8 years agoMerge "Adjust gm costing so GLOBAL_ZERO is treated as regular zeromv" into nextgenv2
Sarah Parker [Wed, 19 Oct 2016 00:44:12 +0000 (00:44 +0000)]
Merge "Adjust gm costing so GLOBAL_ZERO is treated as regular zeromv" into nextgenv2

8 years agoFix format in set_offsets()
Jingning Han [Fri, 15 Jul 2016 18:06:05 +0000 (11:06 -0700)]
Fix format in set_offsets()

Change-Id: I371297e6ee000e6dc01ba1544763cbed429b0e5a

8 years agoTemporary fix for 4X8 block intra prediction.
Brennan Shacklett [Wed, 3 Aug 2016 17:35:01 +0000 (10:35 -0700)]
Temporary fix for 4X8 block intra prediction.

Currently the RD loop traverses 4X8 blocks in inverted N order while
the bitstream stores blocks smaller than 8x8 in Z order. This causes a
discrepancy where the RD loop reads uninitialized data while
performing intra prediction.  As a temporary fix simply disable the
use of the extended right edge for 4X8 blocks, until the bitstream can
be changed to match the logical structure of the blocks.

Change-Id: I44a9e4fc1a15cd551a7b38c3c1227bc5dac77e9a

8 years agoFix warnings reported by -Wshadow: Part3: test/ directory
Urvang Joshi [Mon, 17 Oct 2016 21:34:48 +0000 (14:34 -0700)]
Fix warnings reported by -Wshadow: Part3: test/ directory

Cherry-picked from aomedia/master: be029580

Change-Id: I3bab28488388f92f2db20e6af8fc9cf2d7f26015

8 years agoFix warnings reported by -Wshadow: Part2b: more from av1 directory
Urvang Joshi [Mon, 17 Oct 2016 23:31:34 +0000 (16:31 -0700)]
Fix warnings reported by -Wshadow: Part2b: more from av1 directory

From code only part of nextgenv2 (and not aomedia)

Change-Id: I21f7478a59d525dff23747efe5238ded16b743d2

8 years agoFix warnings reported by -Wshadow: Part2: av1 directory
Urvang Joshi [Fri, 14 Oct 2016 23:51:44 +0000 (16:51 -0700)]
Fix warnings reported by -Wshadow: Part2: av1 directory

While we are at it:
- Rename some variables to more meaningful names
- Reuse some common consts from a header instead of redefining them.

Cherry-picked from aomedia/master: 863b0499

Change-Id: Ida5de713156dc0126a27f90fdd36d29a398a3c88

8 years agoFix warnings reported by -Wshadow: Part1b: scan_order struct and variable
Urvang Joshi [Fri, 14 Oct 2016 22:53:39 +0000 (15:53 -0700)]
Fix warnings reported by -Wshadow: Part1b: scan_order struct and variable

- Change struct name to all caps SCAN_ORDER to be locally consistent.
- Rename struct pointers to 'scan_order' instead of hard to read short
  names 'so' and 'sc'.

Cherry-picked from aomedia/master: 30abc082

Change-Id: Ib9f0eefe28fa97d23d642b77d7dc8e5f8613177d

8 years agoFix warnings reported by -Wshadow: Part1: aom_dsp directory
Urvang Joshi [Fri, 14 Oct 2016 22:30:27 +0000 (15:30 -0700)]
Fix warnings reported by -Wshadow: Part1: aom_dsp directory

While we are at it:
- Rename some variables to more meaningful names
- Reuse some common consts from a header instead of redefining them.

Cherry-picked from aomedia/master: 09eea2193

Change-Id: I61030e773137ae107d3bd43556c0d5bb26f9dbf8

8 years agoMove STAT_TYPE enum to source file.
Urvang Joshi [Mon, 17 Oct 2016 23:38:05 +0000 (16:38 -0700)]
Move STAT_TYPE enum to source file.

In the header, all we need is number of stat types, not the names for actual
types.

Removing it avoids names like 'Y', 'U', 'V' and 'ALL' being visible
in all files that include the encoder.h header.

Change-Id: I874a73a3cfe6bcb29aedea102077a52addc49af6

8 years agoCode cleanup: mainly rd_pick_partition and methods called from there.
Urvang Joshi [Fri, 14 Oct 2016 00:27:51 +0000 (17:27 -0700)]
Code cleanup: mainly rd_pick_partition and methods called from there.

- Const correctness
- Refactoring
- Make variables local when possible etc
- Remove -Wcast-qual to allow explicitly casting away const.

Cherry-picked from aomedia/master: c27fcccc
And then a number of more const correctness changes to make sure other
experiments build OK.

Change-Id: I77c18d99d21218fbdc9b186d7ed3792dc401a0a0

8 years agoUpdate segment tree_cdf per frame.
Nathan E. Egge [Sat, 20 Aug 2016 00:06:51 +0000 (20:06 -0400)]
Update segment tree_cdf per frame.

Move computing the segmentation_probs.tree_cdf table per symbol to
 computing it only when the probabilities are updated.

Change-Id: I3826418094bbaca4ded87de5ff04d4b27c85e35a

8 years agoAdds ability to measure with a higher precision the number of bits
Michael Bebenita [Thu, 25 Aug 2016 18:27:56 +0000 (11:27 -0700)]
Adds ability to measure with a higher precision the number of bits
read per symbol.

Change-Id: I218abaa5172b769b66dba45050381c0212602668

8 years agoAdd clamping to parameter search
Sarah Parker [Tue, 18 Oct 2016 23:27:04 +0000 (16:27 -0700)]
Add clamping to parameter search

This fixes mismatches due to overflowing low precision parameters.

Change-Id: If34e39ca7ab0adc9688d46b0e8ed62cbb6fdaff0

8 years agoAdjust gm costing so GLOBAL_ZERO is treated as regular zeromv
Sarah Parker [Tue, 18 Oct 2016 23:18:23 +0000 (16:18 -0700)]
Adjust gm costing so GLOBAL_ZERO is treated as regular zeromv

Change-Id: I1b41146ae844c985566f5f9fdaeb5d4a4a5927b6

8 years agoFix ransac random generator seeding
Sarah Parker [Tue, 11 Oct 2016 19:29:07 +0000 (12:29 -0700)]
Fix ransac random generator seeding

Ransac's get_rand_indices originally used rand_r seeded with the
same value every time, producing the same random sequence at every
iteration. This causes the global motion parameters to be slightly
less accurate because ransac cannot improve the model fit after
the first attempt.

Change-Id: Idca2f88468ea21d19ba41ab66e5a2744ee33aade

8 years agoAdd av1_fdct64_new and av1_idct64_new
Angie Chiang [Tue, 18 Oct 2016 19:24:20 +0000 (12:24 -0700)]
Add av1_fdct64_new and av1_idct64_new

Change-Id: If497816d7f6ee094d40872a2f988c91e90b78d7b

8 years agoRemove rd_variance_adjustment
Guillaume Martres [Tue, 23 Aug 2016 08:16:35 +0000 (01:16 -0700)]
Remove rd_variance_adjustment

This function is called after `super_block_yrd` and assumes that the dst
buffer is correct but that is no longer always the case after
daf841b4a10ece1b6831300d79f271d00f9d027b since we don't call
`txfm_rd_in_plane` after the RDO loop in `choose_tx_size_from_rd`.
We could fix this by always saving and restoring the dst buffer but
removing `rd_variance_adjustment` is a better solution:
- Getting the dst buffer always right is tricky as demonstrated by the
  fact that it is wrong now, even if we fix it now we could break it later
  and not notice
- Perceptual weighting is a good idea but `rd_variance_adjustment` is the
  wrong approach as it weights both the rate and the distortion:
  to get meaningful units you should only weight the distortion,
  weighting rate means that we pretend some bits cost less than other
  bits, this is not the case. The distortion weighting approach is
  implemented by Daala in `od_compute_dist` and we plan to experiment
  with this in AV1 too.
- Removing `rd_variance_adjustment` improves coding efficiency on all
  metrics, here are the results for objective-1-fast using the Low
  Latency settings:

      PSNR Y:     -0.14%
     PSNRHVS:     -0.17%
        SSIM:     -0.12%
      MSSSIM:     -0.12%
   CIEDE2000:     -0.07%

Change-Id: I74b26b568ee65f56521646b8f30dd53bcd29fce3

8 years agoAdd cb4x4 experimental flag
Jingning Han [Fri, 19 Aug 2016 17:10:14 +0000 (10:10 -0700)]
Add cb4x4 experimental flag

Experiment on coding block at resolution of 4x4 block.

Change-Id: I6aa201038f00c590747d800edb0a3e76ab1a51e8

8 years agoRemove unused PICK_MODE_CONTEXT::is_coded.
Yushin Cho [Wed, 10 Aug 2016 18:52:05 +0000 (11:52 -0700)]
Remove unused PICK_MODE_CONTEXT::is_coded.

Change-Id: Ibc73b4066dcdee45d32355144124762d26a16a28

8 years agoRemove unused array 'last_frame_seg_map_copy'.
Urvang Joshi [Thu, 28 Jul 2016 22:51:12 +0000 (15:51 -0700)]
Remove unused array 'last_frame_seg_map_copy'.

This array was allocated and used to save and restore segmentation map,
however the original segmentation map was never modified between the
calls to save and restore.

Change-Id: Iaf0fbfed733c097e84cf44d2aa6b8f35d2fb456b

8 years agoAdd sub8x8_mc experimental flag
Jingning Han [Tue, 21 Jun 2016 01:24:38 +0000 (18:24 -0700)]
Add sub8x8_mc experimental flag

Change-Id: Ifcc329df240c0771172180933a6180b21fd31abe

8 years agoMerge "Remove macroblock::skip_optimize." into nextgenv2
Yaowu Xu [Tue, 18 Oct 2016 19:52:50 +0000 (19:52 +0000)]
Merge "Remove macroblock::skip_optimize." into nextgenv2

8 years agoMerge "Skip 4x4 transform if maximum possible transform is 32x32" into nextgenv2
Yaowu Xu [Tue, 18 Oct 2016 19:52:41 +0000 (19:52 +0000)]
Merge "Skip 4x4 transform if maximum possible transform is 32x32" into nextgenv2

8 years agoMerge "Take out some early termination speed features" into nextgenv2
Yaowu Xu [Tue, 18 Oct 2016 19:48:46 +0000 (19:48 +0000)]
Merge "Take out some early termination speed features" into nextgenv2

8 years agoMerge "Add experimental tag for 64x64 transform" into nextgenv2
Angie Chiang [Tue, 18 Oct 2016 19:14:55 +0000 (19:14 +0000)]
Merge "Add experimental tag for 64x64 transform" into nextgenv2

8 years agoRemove macroblock::skip_optimize.
Yushin Cho [Tue, 21 Jun 2016 21:29:56 +0000 (14:29 -0700)]
Remove macroblock::skip_optimize.

This is not used since the commint 00cd5de536fd5545d8fb663b2db81c014e3e6a41,
"Remove skip_recode speed feature".

Change-Id: Ic03da6c0095f6285a3889d5d22e8aaa2e6cbfd79

8 years agoSkip 4x4 transform if maximum possible transform is 32x32
Hui Su [Tue, 18 Oct 2016 17:21:36 +0000 (10:21 -0700)]
Skip 4x4 transform if maximum possible transform is 32x32

On average no compression performance changes. Encoding speed is
increased by 10~20% on some test clips in the derf set.

Change-Id: I9856caaa260303f6f6259686671bed7d51012277

8 years agoTake out some early termination speed features
Jingning Han [Tue, 7 Jun 2016 23:11:42 +0000 (16:11 -0700)]
Take out some early termination speed features

Drop some speed features used in speed 2 and above, during the
algorithm development process. This helps simplify the codebase.

Change-Id: I3b2f5560d90b00d2d8fd57c2cb36f6ddd3f228e4

8 years agoMerge "Move a statement to match order in aom/master" into nextgenv2
Yaowu Xu [Tue, 18 Oct 2016 17:58:32 +0000 (17:58 +0000)]
Merge "Move a statement to match order in aom/master" into nextgenv2

8 years agoMerge "Remove stale OD_ACCOUNTING code." into nextgenv2
Yaowu Xu [Tue, 18 Oct 2016 17:58:13 +0000 (17:58 +0000)]
Merge "Remove stale OD_ACCOUNTING code." into nextgenv2

8 years agoAdd experimental tag for 64x64 transform
Debargha Mukherjee [Tue, 18 Oct 2016 17:24:31 +0000 (10:24 -0700)]
Add experimental tag for 64x64 transform

Change-Id: I65c04006f6e6eb13ceb22efc1c39915cb3c82b82

8 years agoMove a statement to match order in aom/master
Yaowu Xu [Tue, 18 Oct 2016 17:00:21 +0000 (10:00 -0700)]
Move a statement to match order in aom/master

Change-Id: Ic11eae36c9c62a20699197847aa3ef9562d4ad7e

8 years agoMerge "Port aom_reader_tell() support" into nextgenv2
Yaowu Xu [Tue, 18 Oct 2016 16:48:57 +0000 (16:48 +0000)]
Merge "Port aom_reader_tell() support" into nextgenv2

8 years agoRemove stale OD_ACCOUNTING code.
Michael Bebenita [Tue, 23 Aug 2016 23:03:39 +0000 (16:03 -0700)]
Remove stale OD_ACCOUNTING code.

Change-Id: Ie90dd06c387119ccd9c920a328c942477df00bb7

8 years agoMerge "Fix for var_tx entropy context with rect_tx" into nextgenv2
Debargha Mukherjee [Tue, 18 Oct 2016 16:03:37 +0000 (16:03 +0000)]
Merge "Fix for var_tx entropy context with rect_tx" into nextgenv2

8 years agoMerge "Correction to costing rect_tx" into nextgenv2
Debargha Mukherjee [Tue, 18 Oct 2016 16:03:18 +0000 (16:03 +0000)]
Merge "Correction to costing rect_tx" into nextgenv2

8 years agoPort aom_reader_tell() support
Michael Bebenita [Wed, 3 Aug 2016 23:13:04 +0000 (16:13 -0700)]
Port aom_reader_tell() support

This commit ports the following from aom/master:
4c46278 Add aom_reader_tell() support.
b9c9935 Remove an erroneous declaration.
56c9c3b Fix ANS build.

Change-Id: I59bd910f58c218c649a1de2a7b5fae0397e13cb1

8 years agoFix for var_tx entropy context with rect_tx
Peter de Rivaz [Tue, 18 Oct 2016 14:38:01 +0000 (15:38 +0100)]
Fix for var_tx entropy context with rect_tx

This computation should match the code in encode_block
to increase the accuracy of the rd optimization.

Change-Id: Ibc9d9ab6d88d0c0f3af62e9cc233216aba48a57e

8 years agoCorrection to costing rect_tx
Peter de Rivaz [Tue, 18 Oct 2016 10:47:56 +0000 (11:47 +0100)]
Correction to costing rect_tx

When built with var_tx and ext_tx, select_tx_size_fix_type is used
to compute the cost for using a particular tx_type.
The code indexes the array inter_tx_type_costs at the wrong location
resulting in a zero cost for signalling tx_type for rect_tx blocks.

Change-Id: Iba38be3a0d822109f778f0600b242dfb40359766

8 years agoCreate aom_cdf_prob type for 16-bit probabilities.
Nathan E. Egge [Fri, 19 Aug 2016 21:16:31 +0000 (17:16 -0400)]
Create aom_cdf_prob type for 16-bit probabilities.

Change-Id: I33899eca44300037816c9f20c965aa8311a1ef52

8 years agoRename daala_read_tree_cdf() to daala_read_symbol().
Nathan E. Egge [Fri, 19 Aug 2016 19:31:43 +0000 (15:31 -0400)]
Rename daala_read_tree_cdf() to daala_read_symbol().

Change-Id: I35f85bad88c637cea62577c546cdd5ced0e21bd6

8 years agoMerge "Add filter_intra experiment flag" into nextgenv2
Hui Su [Tue, 18 Oct 2016 00:54:20 +0000 (00:54 +0000)]
Merge "Add filter_intra experiment flag" into nextgenv2

8 years agoMerge "Fix warning when discarding const qualifier." into nextgenv2
Yaowu Xu [Tue, 18 Oct 2016 00:50:09 +0000 (00:50 +0000)]
Merge "Fix warning when discarding const qualifier." into nextgenv2

8 years agoMerge "Revert code formatting of OD_UNIFORM_CDFS_Q15." into nextgenv2
Yaowu Xu [Tue, 18 Oct 2016 00:49:56 +0000 (00:49 +0000)]
Merge "Revert code formatting of OD_UNIFORM_CDFS_Q15." into nextgenv2

8 years agoMerge "Rename aom_write_tree_cdf() to aom_write_symbol()." into nextgenv2
Yaowu Xu [Tue, 18 Oct 2016 00:49:41 +0000 (00:49 +0000)]
Merge "Rename aom_write_tree_cdf() to aom_write_symbol()." into nextgenv2

8 years agoMerge "Bug fix in super_block_uvrd()." into nextgenv2
Yaowu Xu [Tue, 18 Oct 2016 00:49:27 +0000 (00:49 +0000)]
Merge "Bug fix in super_block_uvrd()." into nextgenv2

8 years agoMerge "Display --bit-depth in -h with highbitdepth enabled." into nextgenv2
Yaowu Xu [Tue, 18 Oct 2016 00:49:18 +0000 (00:49 +0000)]
Merge "Display --bit-depth in -h with highbitdepth enabled." into nextgenv2

8 years agoMerge "Update partition_cdf per frame." into nextgenv2
Yaowu Xu [Tue, 18 Oct 2016 00:49:05 +0000 (00:49 +0000)]
Merge "Update partition_cdf per frame." into nextgenv2

8 years agoMerge "Update inter_ext_tx_cdf per frame." into nextgenv2
Yaowu Xu [Tue, 18 Oct 2016 00:48:53 +0000 (00:48 +0000)]
Merge "Update inter_ext_tx_cdf per frame." into nextgenv2

8 years agoMerge "Update intra_ext_tx_cdf per frame." into nextgenv2
Yaowu Xu [Tue, 18 Oct 2016 00:48:41 +0000 (00:48 +0000)]
Merge "Update intra_ext_tx_cdf per frame." into nextgenv2

8 years agoMerge "Update switchable_interp_cdf once per frame." into nextgenv2
Yaowu Xu [Tue, 18 Oct 2016 00:48:26 +0000 (00:48 +0000)]
Merge "Update switchable_interp_cdf once per frame." into nextgenv2

8 years agoMerge "Refactor motion estimation in MOTION_VAR experiment" into nextgenv2
Yue Chen [Tue, 18 Oct 2016 00:32:00 +0000 (00:32 +0000)]
Merge "Refactor motion estimation in MOTION_VAR experiment" into nextgenv2

8 years agoAdd filter_intra experiment flag
hui su [Mon, 17 Oct 2016 23:14:27 +0000 (16:14 -0700)]
Add filter_intra experiment flag

Will break ext-intra into 2 experiments: ext-intra and filter-intra.

Change-Id: Ibf66e9b9d9307fd58a703eada9569b74d171434b

8 years agoRefactor motion estimation in MOTION_VAR experiment
Yue Chen [Mon, 10 Oct 2016 19:37:54 +0000 (12:37 -0700)]
Refactor motion estimation in MOTION_VAR experiment

To get ready for pulling AV1 to nextgenv2. Refactoring is done to
make the code structures similar, especially for the motion search
part.

Change-Id: I5d7636394408d97de55394d668540f5627827983

8 years agoFix warning when discarding const qualifier.
Nathan E. Egge [Thu, 18 Aug 2016 06:34:53 +0000 (02:34 -0400)]
Fix warning when discarding const qualifier.

Cherry-pick Daala 211c2a41: Clean up EC tell() and tell_frac() functions.
Add a const qualifier to the od_ec_enc and od_ec_dec parameters of
 the od_ec_enc_tell(), od_ec_enc_tell_frac(), od_ec_dec_tell(), and
 od_ec_dec_tell_frac() functions.
Add an OD_WARN_UNUSED_RESULT to od_ec_enc_tell_frac().

Change-Id: Ia50e2fd75e98d8a03d993449d658b695cf56e6fb

8 years agoRevert code formatting of OD_UNIFORM_CDFS_Q15.
Nathan E. Egge [Tue, 21 Jun 2016 03:01:29 +0000 (23:01 -0400)]
Revert code formatting of OD_UNIFORM_CDFS_Q15.

The formatting of OD_UNIFORM_CDFS_Q15[] in entcode.c is helpful for
 for understanding what is contained in the array (e.g., the uniform
 probability distributions of small sizes 2 through 16).
This patch reverts the change made in f4b2926d and adds linter hints to
 ignore the formatting.

Change-Id: I2ad9fe6673b86e6067cb97b40f0f0e69a119cdf5

8 years agoRename aom_write_tree_cdf() to aom_write_symbol().
Nathan E. Egge [Mon, 25 Jul 2016 14:23:33 +0000 (10:23 -0400)]
Rename aom_write_tree_cdf() to aom_write_symbol().

Change-Id: I7c088c55f1c461063976d5bd84ff2026c4f3bc69

8 years agoBug fix in super_block_uvrd().
Yushin Cho [Tue, 21 Jun 2016 21:51:23 +0000 (14:51 -0700)]
Bug fix in super_block_uvrd().

In super_block_uvrd(),if is_cost_valid == 0, all return parameters,
i.e. rate, distortion, skippable, and sse, are reset.
So, should not call txfm_rd_in_plane() if is_cost_valid == 0.
Also, the bug causes av1_xform_quant() to see invalid diff signal
since av1_subtract_plane() is not called in super_block_uvrd().

Change-Id: Iaa06061e2e9aa8876b4611a54f4ae6b8d499332b

8 years agoDisplay --bit-depth in -h with highbitdepth enabled.
Nathan E. Egge [Tue, 12 Jul 2016 22:03:18 +0000 (18:03 -0400)]
Display --bit-depth in -h with highbitdepth enabled.

Display the -b --bit-depth command line parameter on of aomenc when
 --config-aom-highbitdepth is enabled.

Change-Id: I76147e38b9985e68b1e642e21be8fd4d8ec4d966

8 years agoUpdate partition_cdf per frame.
Nathan E. Egge [Tue, 3 May 2016 13:48:54 +0000 (09:48 -0400)]
Update partition_cdf per frame.

Move computing the partition_cdf tables per symbol to
 computing them only when the probabilities are updated.

Change-Id: I442f9230ba00be7f5d0558d7c38d7324ad009ee8

8 years agoUpdate inter_ext_tx_cdf per frame.
Nathan E. Egge [Tue, 3 May 2016 14:01:32 +0000 (10:01 -0400)]
Update inter_ext_tx_cdf per frame.

Move computing the inter_ext_tx_cdf tables per symbol to
 computing them only when the probabilities are updated.

Change-Id: I5e1e62f8eae8f6b2edbbd378beeb786649502c10

8 years agoUpdate intra_ext_tx_cdf per frame.
Nathan E. Egge [Tue, 26 Apr 2016 16:31:14 +0000 (12:31 -0400)]
Update intra_ext_tx_cdf per frame.

Move computing the intra_ext_tx_cdf tables per symbol to
 computing them only when the probabilities are updated.

Change-Id: I26d5e419e103093e98a7d896c196176305b50fc9

8 years agoUpdate switchable_interp_cdf once per frame.
Nathan E. Egge [Tue, 26 Apr 2016 15:37:06 +0000 (11:37 -0400)]
Update switchable_interp_cdf once per frame.

Move from computing the switchable_interp_cdf per symbol to
 computing once per frame when the probabilities are adapted.

Change-Id: I6571126239f0327e22bb09ee8bad94114291683e

8 years agoReplace {} with continue
Yaowu Xu [Mon, 17 Oct 2016 15:12:18 +0000 (08:12 -0700)]
Replace {} with continue

Change-Id: I2e939e898cc30c2999b47f2789191e08272b1cc0

8 years agoMerge changes Ie43c599f,Icd0dbed4,Ic04e180b into nextgenv2
Yaowu Xu [Fri, 14 Oct 2016 23:46:48 +0000 (23:46 +0000)]
Merge changes Ie43c599f,Icd0dbed4,Ic04e180b into nextgenv2

* changes:
  Move av1_indices_from_tree() to common code space.
  Add code to compute in-order mappings for tokens.
  Fix bug in av1_tree_to_cdf_2D() macro.

8 years agoMerge changes I339d0389,I2fa1e87a,If79fa5ae,Icb1a8cb8,Ic76de4a4, ... into nextgenv2
Yaowu Xu [Fri, 14 Oct 2016 23:42:22 +0000 (23:42 +0000)]
Merge changes I339d0389,I2fa1e87a,If79fa5ae,Icb1a8cb8,Ic76de4a4, ... into nextgenv2

* changes:
  Add missing CONFIG_DAALA_EC declaration.
  Add API for writing trees using a CDF.
  Add macro to build a simple cdf table.
  Use Daala entropy coder to code trees.
  Silence clang-format code review warning.
  Use Daala entropy coder to code bits.
  Clear existing format issue in the codebase
  Add Daala entropy coder.