daala.git
2 years agoFix unused but set variable warnings. acct-warnings
Jack Moffitt [Wed, 22 Oct 2014 20:46:31 +0000 (14:46 -0600)]
Fix unused but set variable warnings.

2 years agoUse better probabilities for MV flag coding.
Jack Moffitt [Thu, 21 Aug 2014 19:27:12 +0000 (13:27 -0600)]
Use better probabilities for MV flag coding.

2 years agoRemove left over code from last block size encoding rewrite
Jean-Marc Valin [Tue, 21 Oct 2014 21:19:59 +0000 (17:19 -0400)]
Remove left over code from last block size encoding rewrite

2 years agoAdd entropy coder accounting support.
Jack Moffitt [Thu, 21 Aug 2014 18:59:55 +0000 (12:59 -0600)]
Add entropy coder accounting support.

This generalizes the tool to record symbols and their contexts for doing
entropy coding optimization work. You add labels and then record symbols
with contexts for offline analysis.

2 years agoClean up decoder to match encoder changes in issue 490
Thomas Daede [Tue, 21 Oct 2014 17:12:33 +0000 (11:12 -0600)]
Clean up decoder to match encoder changes in issue 490

2 years agoRemove remaining use of USE_BAND_PARTITIONS
Jean-Marc Valin [Mon, 20 Oct 2014 23:30:56 +0000 (19:30 -0400)]
Remove remaining use of USE_BAND_PARTITIONS

Also, some functions that needed to be static

2 years agoClean up od_encode_block()/od_block_encode()/OD_ENCODE_BLOCK[]
Jean-Marc Valin [Mon, 20 Oct 2014 19:14:21 +0000 (15:14 -0400)]
Clean up od_encode_block()/od_block_encode()/OD_ENCODE_BLOCK[]

2 years agoNever use noref for gain=0 on non-keyframes
Jean-Marc Valin [Fri, 17 Oct 2014 20:45:54 +0000 (16:45 -0400)]
Never use noref for gain=0 on non-keyframes

3 years agoReplace noref=1,gain=0 by a skip on inter when the reference is small
Jean-Marc Valin [Fri, 17 Oct 2014 08:08:27 +0000 (04:08 -0400)]
Replace noref=1,gain=0 by a skip on inter when the reference is small

This makes us use noref much less often.
video1-short results:
           RATE (%)  DSNR (dB)
    PSNR -1.68026  0.08641
 PSNRHVS -2.10895  0.15816
    SSIM -1.25716  0.05708
FASTSSIM -3.63240  0.22229

3 years agoMakes keyframes entropy decoding independent of PVQ
Jean-Marc Valin [Fri, 17 Oct 2014 02:09:34 +0000 (22:09 -0400)]
Makes keyframes entropy decoding independent of PVQ

This makes it possible to do the intropy decoding in parallel with the PVQ
decoding.
subset1 results:
           RATE (%) DSNR (dB)
    PSNR 1.97396 -0.110506
 PSNRHVS 1.77392 -0.124211
    SSIM 2.05182 -0.0904858
FASTSSIM 1.68843 -0.0548173

3 years agoRemove inter-band masking
Jean-Marc Valin [Thu, 16 Oct 2014 23:32:20 +0000 (19:32 -0400)]
Remove inter-band masking

It never helped much (and now it's hurting curves slightly apparently) and
it blocks doing entropy decoding independently from (and in parallel with)
PVQ. Also, we had to disable it for robust streams anyway.

subset1 results:
           RATE (%) DSNR (dB)
    PSNR -0.745795 0.0404235
 PSNRHVS -0.263827 0.017698
    SSIM -0.42999 0.0204819
FASTSSIM -0.113949 0.00366062

3 years agoFixes decoder-side robust bit-streams
Jean-Marc Valin [Sat, 4 Oct 2014 06:22:45 +0000 (02:22 -0400)]
Fixes decoder-side robust bit-streams

relying on post-deinterleaved qg==0 wasn't a good idea for robustness

3 years agostate: check ref_img allocation
Tristan Matthews [Sat, 11 Oct 2014 22:59:58 +0000 (18:59 -0400)]
state: check ref_img allocation

3 years agodecode: refactor
Tristan Matthews [Sat, 11 Oct 2014 22:59:06 +0000 (18:59 -0400)]
decode: refactor

3 years agoSimplifies CfL by signalling the gain and sign through PVQ
Jean-Marc Valin [Mon, 6 Oct 2014 06:11:39 +0000 (02:11 -0400)]
Simplifies CfL by signalling the gain and sign through PVQ

3 years agoRemove support for scalar quantization
Jean-Marc Valin [Mon, 6 Oct 2014 05:24:08 +0000 (01:24 -0400)]
Remove support for scalar quantization

Reasons are:
- No quantization matrix support (and none planned) so impossible to have a
  reasonable comparison with PVQ anyway
- We need to reduce the number of interactions between OD_DISABLE* flags
- We need to tune tools for PVQ rather than scalar, which will make scalar worse
- The new intra and CfL patches can't work with scalar

Conflicts:
src/decode.c
src/encode.c

3 years agoUpdate bd_rate.m to run from any directory.
Nathan E. Egge [Tue, 30 Sep 2014 22:39:17 +0000 (18:39 -0400)]
Update bd_rate.m to run from any directory.

3 years agoRewrite superblock splitting code to make it easier to understand
Guillaume Martres [Tue, 23 Sep 2014 08:43:51 +0000 (10:43 +0200)]
Rewrite superblock splitting code to make it easier to understand

Also try to follow the coding style more closely.

3 years agoAdd od_block_size enum to give names to the block sizes
Guillaume Martres [Wed, 24 Sep 2014 19:44:07 +0000 (21:44 +0200)]
Add od_block_size enum to give names to the block sizes

3 years agoBypass PVQ sythesis when the gain is zero
Jean-Marc Valin [Thu, 25 Sep 2014 03:01:26 +0000 (23:01 -0400)]
Bypass PVQ sythesis when the gain is zero

3 years agoencode: refactor
Tristan Matthews [Tue, 23 Sep 2014 13:38:08 +0000 (14:38 +0100)]
encode: refactor

3 years agologging: fix memory leak
Vittorio Giovara [Tue, 23 Sep 2014 13:01:41 +0000 (14:01 +0100)]
logging: fix memory leak

3 years agoencoder_example: remove duplicate code
Tristan Matthews [Mon, 22 Sep 2014 12:23:52 +0000 (13:23 +0100)]
encoder_example: remove duplicate code

3 years agoencode: move img_dump_padded out of encode_img_in
Tristan Matthews [Sun, 21 Sep 2014 16:15:44 +0000 (17:15 +0100)]
encode: move img_dump_padded out of encode_img_in

3 years agoencode: use QUALITY_SHIFT
Tristan Matthews [Sun, 21 Sep 2014 15:52:51 +0000 (16:52 +0100)]
encode: use QUALITY_SHIFT

3 years agoencode: factor copy_and_pad out of encode_img_in
Tristan Matthews [Sun, 21 Sep 2014 12:57:51 +0000 (13:57 +0100)]
encode: factor copy_and_pad out of encode_img_in

3 years agoencode: do quality scaling internally
Tristan Matthews [Sun, 21 Sep 2014 11:17:38 +0000 (07:17 -0400)]
encode: do quality scaling internally

3 years agoRemove unused MV visualization code
Guillaume Martres [Mon, 8 Sep 2014 17:30:12 +0000 (19:30 +0200)]
Remove unused MV visualization code

3 years agoMore accurate MV rate estimation
Guillaume Martres [Tue, 9 Sep 2014 22:03:43 +0000 (00:03 +0200)]
More accurate MV rate estimation

This could be even more accurate by making mv_small_rate_est adaptive or
by using a better estimate for the >=3 part of the component magnitudes,
but so far my attempts to do so have only decreased quality.

Results on video-1-short:
           RATE (%)  DSNR (dB)
    PSNR -0.89100  0.04614
 PSNRHVS -1.04905  0.08080
    SSIM -1.09365  0.05120
FASTSSIM -1.30466  0.07874

Results on sintel_trailer_2k_short:
           RATE (%)  DSNR (dB)
    PSNR -4.66465  0.22110
 PSNRHVS -5.80139  0.31411
    SSIM -4.75017  0.16922
FASTSSIM -4.92864  0.21090

3 years agoplayer_example: give warning on skeleton streams
Tristan Matthews [Sat, 20 Sep 2014 14:19:08 +0000 (10:19 -0400)]
player_example: give warning on skeleton streams

3 years agoMake it possible to encode robust streams with PVQ
Jean-Marc Valin [Tue, 16 Sep 2014 05:37:04 +0000 (01:37 -0400)]
Make it possible to encode robust streams with PVQ

Three changes:
1) theta is now encoded without assuming we know max_theta (most of the loss
   is from here)
2) Approximate sin(theta)=theta when computing K
3) Disable inter-band masking

Changes 1) and 2) only apply to P-frames, but 3) is even for key-frames to
avoid them looking different from P-frames.

Metrics on video-1-short:
           RATE (%)  DSNR (dB)
    PSNR 0.31829  -0.01388
 PSNRHVS 1.62467  -0.12656
    SSIM 0.86702  -0.03900
FASTSSIM 1.15187  -0.06973

3 years agoDC RDO using the actual skip probabilities
Jean-Marc Valin [Thu, 11 Sep 2014 05:37:36 +0000 (01:37 -0400)]
DC RDO using the actual skip probabilities

video-1-short metrics:
           RATE (%)  DSNR (dB)
    PSNR -0.41900  0.02230
 PSNRHVS -0.47261  0.03719
    SSIM -0.54069  0.02580
FASTSSIM -0.34503  0.02112

3 years agoAdds optional code to measure the actual overhead of the entropy coder
Jean-Marc Valin [Fri, 12 Sep 2014 05:44:10 +0000 (01:44 -0400)]
Adds optional code to measure the actual overhead of the entropy coder

3 years agoUsing finer quantizer for keyframes
Jean-Marc Valin [Wed, 10 Sep 2014 18:56:40 +0000 (14:56 -0400)]
Using finer quantizer for keyframes

Metrics on video-1-short:
           RATE (%)  DSNR (dB)
    PSNR -0.20639  0.01102
 PSNRHVS -0.16628  0.01316
    SSIM -0.20454  0.00984
FASTSSIM -0.22283  0.01366

3 years agoEnable the SSE2 4x4 IDCT
Thomas Daede [Wed, 10 Sep 2014 23:15:33 +0000 (16:15 -0700)]
Enable the SSE2 4x4 IDCT

This should have been enabled earlier but slipped through.

3 years agoupload_commits.sh: Use the full commit message
Guillaume Martres [Fri, 5 Sep 2014 19:06:50 +0000 (21:06 +0200)]
upload_commits.sh: Use the full commit message

3 years agoFix desync by properly clearing mv_grid in the decoder
Guillaume Martres [Tue, 9 Sep 2014 09:05:38 +0000 (11:05 +0200)]
Fix desync by properly clearing mv_grid in the decoder

The desync happens since dd3fca176f087d8fe72ddf2e972d728ef92d941f which
assumes that the grid is cleared. It was reproducable by encoding 16
frames of parkjoy_1080p at -v 50.

3 years agoFix AVX2 feature detection
Thomas Daede [Thu, 4 Sep 2014 20:17:27 +0000 (13:17 -0700)]
Fix AVX2 feature detection

3 years agoRevert Makefile.am changes from previous commit
Thomas Daede [Tue, 9 Sep 2014 18:37:30 +0000 (11:37 -0700)]
Revert Makefile.am changes from previous commit

avx2dct.c is part of a separate patch series, and should have not been included.

3 years agoAdd AVX2 intrinsics detection to autotools
Thomas Daede [Thu, 4 Sep 2014 20:18:31 +0000 (13:18 -0700)]
Add AVX2 intrinsics detection to autotools

3 years agoUse AC_TRY_LINK in tests for intrinics so that a missing intrinsics symbol is noticed.
Thomas Daede [Tue, 9 Sep 2014 00:36:40 +0000 (17:36 -0700)]
Use AC_TRY_LINK in tests for intrinics so that a missing intrinsics symbol is noticed.

3 years agodoc: fix pdf generation
Tristan Matthews [Sun, 17 Aug 2014 22:51:36 +0000 (15:51 -0700)]
doc: fix pdf generation

3 years agoAdd check functions for optimized DCT implementations.
Thomas Daede [Mon, 8 Sep 2014 20:18:52 +0000 (13:18 -0700)]
Add check functions for optimized DCT implementations.

Checks are enabled by defining OD_CHECKASM.

3 years agoSimplify (and improve) the adaptation of MV expectation
Guillaume Martres [Fri, 5 Sep 2014 16:31:05 +0000 (18:31 +0200)]
Simplify (and improve) the adaptation of MV expectation

Use generic_{encode,decode} to do the adaptation instead of doing it by
hand.
Results on video-1-short:
           RATE (%)  DSNR (dB)
    PSNR -0.01933  0.00103
 PSNRHVS -0.02247  0.00178
    SSIM -0.01943  0.00093
FASTSSIM -0.02078  0.00127

3 years agoFix calculation of MV expectation
Guillaume Martres [Wed, 3 Sep 2014 23:15:58 +0000 (01:15 +0200)]
Fix calculation of MV expectation

We were calculating E(ox) instead of E(abs(ox) - 3 | abs(ox) >= 3) (same
for oy).
Results on video-1-short:
           RATE (%)  DSNR (dB)
    PSNR -0.09505  0.00506
 PSNRHVS -0.10656  0.00841
    SSIM -0.09582  0.00459
FASTSSIM -0.10099  0.00617

3 years agoAdd more assertions to level 3 MV encoding
Guillaume Martres [Fri, 5 Sep 2014 18:19:34 +0000 (20:19 +0200)]
Add more assertions to level 3 MV encoding

This should make it harder to introduce desyncs like the one fixed by
by the previous commit.

3 years agoFix desync introduced by dd3fca176f087d8fe72ddf2e972d728ef92d941f
Guillaume Martres [Fri, 5 Sep 2014 18:17:01 +0000 (20:17 +0200)]
Fix desync introduced by dd3fca176f087d8fe72ddf2e972d728ef92d941f

Note that dd3fca176f087d8fe72ddf2e972d728ef92d941f itself fixed by
accident another desync introduced by
f317efd3bd8fa07ba5b7cfca139712ac3b200a78.

3 years agosad_4x4_sse: fix for i686
Tristan Matthews [Mon, 1 Sep 2014 06:02:40 +0000 (02:02 -0400)]
sad_4x4_sse: fix for i686

- Split into two blocks to avoid "impossible constraints"
- Removed earlyclobber "&" constraint modifiers for outputs which aren't
written to until all inputs have been consumed.

3 years agoAdd SSE2/SSE4.1 version of od_bin_idct4x4.
Andreas Gal [Wed, 27 Aug 2014 03:05:41 +0000 (11:05 +0800)]
Add SSE2/SSE4.1 version of od_bin_idct4x4.

Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
3 years agoAdd run-time CPU detection for the 4x4 DCT.
Andreas Gal [Wed, 27 Aug 2014 02:30:01 +0000 (10:30 +0800)]
Add run-time CPU detection for the 4x4 DCT.

Also tests all implementations in dcttest.
This is not actually the test we want to run: we want to test that
 they match the C version exactly, using OD_CHECKASM similar to how
 sse2mc.c does it.
However, it's a start.

Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
3 years agoAdd SSE2/SSE4.1 version of od_bin_fdct4x4.
Andreas Gal [Wed, 27 Aug 2014 01:15:11 +0000 (09:15 +0800)]
Add SSE2/SSE4.1 version of od_bin_fdct4x4.

Currently requires configuring with -msse4.1 in your CFLAGS to build
 the SSE4.1 version.

Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
3 years agoAdd SSE4.1 and AVX2 detection.
Andreas Gal [Wed, 27 Aug 2014 01:15:11 +0000 (09:15 +0800)]
Add SSE4.1 and AVX2 detection.

We'll want to renumber the flags they when we add other instruction
 sets, but this doesn't affect ABI, so that can be done later.

Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
3 years agoImprove .gitignore for doc and submit_awcy.py
Guillaume Martres [Sun, 31 Aug 2014 00:56:08 +0000 (02:56 +0200)]
Improve .gitignore for doc and submit_awcy.py

3 years agomcenc: check allocations and cleanup
Tristan Matthews [Wed, 27 Aug 2014 02:17:13 +0000 (22:17 -0400)]
mcenc: check allocations and cleanup

3 years agoRemoving legacy metrics code.
Nathan E. Egge [Sun, 31 Aug 2014 14:41:04 +0000 (10:41 -0400)]
Removing legacy metrics code.

3 years agomcenc.c: Properly clear MVs hit cache
Guillaume Martres [Fri, 29 Aug 2014 17:43:40 +0000 (19:43 +0200)]
mcenc.c: Properly clear MVs hit cache

This avoids spurious hits when hit_bit is reset to 0.
Unfortunately this slightly increases rate on video-1-short:
           RATE (%)  DSNR (dB)
    PSNR 0.03606  -0.00193
 PSNRHVS 0.03931  -0.00311
    SSIM 0.01739  -0.00084
FASTSSIM 0.02251  -0.00138

3 years agopkg-config: fix uninstalled .pc files
Tristan Matthews [Thu, 28 Aug 2014 18:16:52 +0000 (14:16 -0400)]
pkg-config: fix uninstalled .pc files

3 years agoMake frame buffers explicitly aligned.
Steinar Midtskogen [Fri, 22 Aug 2014 02:27:37 +0000 (04:27 +0200)]
Make frame buffers explicitly aligned.

3 years agoRemove od_state.input
Thomas Daede [Sat, 23 Aug 2014 00:04:40 +0000 (17:04 -0700)]
Remove od_state.input

3 years agoSimplify OD_UNBIASED_RSHIFT.
Andreas Gal [Mon, 25 Aug 2014 18:05:44 +0000 (12:05 -0600)]
Simplify OD_UNBIASED_RSHIFT.

Just in case the compiler can't figure it out.

Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
3 years agoUse round-to-even for BMA MC predictors to avoid biasing
Guillaume Martres [Mon, 25 Aug 2014 21:46:31 +0000 (23:46 +0200)]
Use round-to-even for BMA MC predictors to avoid biasing

Results on video-1-short:
           RATE (%)  DSNR (dB)
    PSNR -0.05573  0.00298
 PSNRHVS -0.06775  0.00537
    SSIM -0.05525  0.00266
FASTSSIM -0.06724  0.00412

3 years agoFix constant velocity predictors in the BMA MC search
Guillaume Martres [Mon, 25 Aug 2014 21:42:31 +0000 (23:42 +0200)]
Fix constant velocity predictors in the BMA MC search

They're stored at full-pel resolution, not 1/8th pel.

Results on video-1-short:
           RATE (%)  DSNR (dB)
    PSNR -0.95104  0.05093
 PSNRHVS -1.44406  0.11487
    SSIM -1.25525  0.06062
FASTSSIM -1.10287  0.06805

3 years agoRename mvs in od_mv_node to bma_mvs to avoid confusion
Guillaume Martres [Mon, 25 Aug 2014 21:33:20 +0000 (23:33 +0200)]
Rename mvs in od_mv_node to bma_mvs to avoid confusion

There is already an mvs in od_mv_est_ctx corresponding to the MV mesh

3 years agoodintrin: Fix include path for unix/Makefile
Steinar Midtskogen [Mon, 25 Aug 2014 21:41:55 +0000 (17:41 -0400)]
odintrin: Fix include path for unix/Makefile

Signed-off-by: Tristan Matthews <le.businessman@gmail.com>
3 years agoAdded patchlevel in OD_GNUC_PREREQ and removed redefinition.
Steinar Midtskogen [Mon, 25 Aug 2014 21:27:27 +0000 (17:27 -0400)]
Added patchlevel in OD_GNUC_PREREQ and removed redefinition.

Signed-off-by: Tristan Matthews <le.businessman@gmail.com>
3 years agointernal: add OD_UNLIKELY macro
Tristan Matthews [Mon, 25 Aug 2014 04:24:47 +0000 (00:24 -0400)]
internal: add OD_UNLIKELY macro

3 years agostate: cleanup on allocation failure
Tristan Matthews [Mon, 25 Aug 2014 04:19:56 +0000 (00:19 -0400)]
state: cleanup on allocation failure

3 years agoRemove incorrect assertion: level 2 MVs outside the frame can be valid
Guillaume Martres [Sat, 23 Aug 2014 00:10:18 +0000 (02:10 +0200)]
Remove incorrect assertion: level 2 MVs outside the frame can be valid

3 years agoFix typo in od_mc_predict8
Guillaume Martres [Fri, 22 Aug 2014 22:16:00 +0000 (00:16 +0200)]
Fix typo in od_mc_predict8

Results on video-1-short:
          RATE (%)  DSNR (dB)
    PSNR  0.05477  -0.00294
 PSNRHVS -0.27886   0.02215
    SSIM -0.22127   0.01067
FASTSSIM -0.13975   0.00859

3 years agoencode: move allocations out of encode_create
Tristan Matthews [Fri, 22 Aug 2014 18:02:42 +0000 (14:02 -0400)]
encode: move allocations out of encode_create

3 years agoOptimize level 3 motion flags in the margin.
Jack Moffitt [Fri, 22 Aug 2014 06:11:58 +0000 (00:11 -0600)]
Optimize level 3 motion flags in the margin.

3 years agoDon't encode motion vectors outside the frame.
Jack Moffitt [Fri, 22 Aug 2014 00:16:26 +0000 (18:16 -0600)]
Don't encode motion vectors outside the frame.

They are forced to zero.

3 years agoFix DC bits accounting for non-keyframes
Guillaume Martres [Thu, 21 Aug 2014 19:20:43 +0000 (21:20 +0200)]
Fix DC bits accounting for non-keyframes

3 years agowebtools/metrics.html: Port to the new bit accounting format
Guillaume Martres [Thu, 21 Aug 2014 09:15:30 +0000 (11:15 +0200)]
webtools/metrics.html: Port to the new bit accounting format

3 years agostate: move common structs into state
Tristan Matthews [Wed, 20 Aug 2014 05:09:16 +0000 (22:09 -0700)]
state: move common structs into state

Also avoid allocations every frame

3 years agoOctave implementation of bd_rate.
Nathan E. Egge [Thu, 21 Aug 2014 00:27:55 +0000 (20:27 -0400)]
Octave implementation of bd_rate.

Updated bjontegaard metric using 6 different interpolation types.
Currently only piecewise-linear and cubic-polyfit are enabled with
 default of piecewise-linear.

3 years agotools: fix warning
Tristan Matthews [Wed, 20 Aug 2014 01:07:18 +0000 (18:07 -0700)]
tools: fix warning

3 years agoencode: don't alloc tf and modes every frame
Tristan Matthews [Wed, 20 Aug 2014 00:27:31 +0000 (17:27 -0700)]
encode: don't alloc tf and modes every frame

3 years agoAdd public API to test for header or keyframe packets.
Timothy B. Terriberry [Tue, 19 Aug 2014 23:46:42 +0000 (16:46 -0700)]
Add public API to test for header or keyframe packets.

Turns out we already had these functions implemented, just not
 exposed publicly.
However, I want the API to not use an ogg_packet structure to reduce
 our dependencies on libogg.
Also, the Daala keyframe flag is inverted from the Theora one (from
 which these functions were ported), and we currently treat 0-byte
 packets as "not a video data packet" instead of as implicit empty
 delta frames like Theora does.

3 years agostate: fix memory leak
Tristan Matthews [Tue, 19 Aug 2014 22:58:53 +0000 (15:58 -0700)]
state: fix memory leak

3 years agoencode: do fewer allocs per frame
Tristan Matthews [Tue, 19 Aug 2014 21:31:04 +0000 (14:31 -0700)]
encode: do fewer allocs per frame

Make coefficient arrays persist to avoid allocing/freeing them every frame.

3 years agoIncrease zero bias for dc to eliminate flickering.
Steinar Midtskogen [Tue, 19 Aug 2014 17:40:43 +0000 (19:40 +0200)]
Increase zero bias for dc to eliminate flickering.

3 years agoencode: use same syntax for copy_pad and edge_ext
Tristan Matthews [Tue, 19 Aug 2014 20:14:43 +0000 (13:14 -0700)]
encode: use same syntax for copy_pad and edge_ext

3 years agoblock_size: use float literals when assigning to float
Tristan Matthews [Tue, 19 Aug 2014 05:06:45 +0000 (22:06 -0700)]
block_size: use float literals when assigning to float

3 years agoblock_size: fix documentation
Tristan Matthews [Tue, 19 Aug 2014 02:31:02 +0000 (19:31 -0700)]
block_size: fix documentation

3 years agotools: Don't leak fds in submit_awcy.py
Thomas Daede [Tue, 19 Aug 2014 01:25:12 +0000 (18:25 -0700)]
tools: Don't leak fds in submit_awcy.py

3 years agoAdd tool for submitting jobs to AreWeCompressedYet
Thomas Daede [Mon, 18 Aug 2014 21:54:26 +0000 (14:54 -0700)]
Add tool for submitting jobs to AreWeCompressedYet

3 years agoOnly use extern when necessary
Tristan Matthews [Mon, 18 Aug 2014 23:57:05 +0000 (16:57 -0700)]
Only use extern when necessary

3 years agotools: fix building for CC=c++
Tristan Matthews [Mon, 18 Aug 2014 20:45:46 +0000 (13:45 -0700)]
tools: fix building for CC=c++

3 years agofix pathological case of building for CC=c++
Tristan Matthews [Mon, 18 Aug 2014 18:14:22 +0000 (11:14 -0700)]
fix pathological case of building for CC=c++

* enum <-> int conversion has to be explicit
* extern linkage for const arrays must be explicit
* {m,c,re}alloc returned pointers must be cast
* Use const char * when appropriate
* Return value of dct.c's main (i.e. the test) was being set to a garbage value.

3 years agoFix compilation without USE_BAND_PARTITIONS.
Timothy B. Terriberry [Mon, 18 Aug 2014 19:18:28 +0000 (12:18 -0700)]
Fix compilation without USE_BAND_PARTITIONS.

3 years agoRemove more obsolete MC code.
Timothy B. Terriberry [Mon, 18 Aug 2014 17:48:09 +0000 (10:48 -0700)]
Remove more obsolete MC code.

This should be the last of the code for the edge labels and vector
 interpolation.

3 years agoencoder: avoid malloc per frame
Tristan Matthews [Mon, 18 Aug 2014 05:24:47 +0000 (22:24 -0700)]
encoder: avoid malloc per frame

3 years agoexamples: fix coding style
Guillaume Martres [Thu, 14 Aug 2014 23:20:12 +0000 (01:20 +0200)]
examples: fix coding style

3 years agoAdd runtime configuration of motion compensation search parameters
Guillaume Martres [Wed, 6 Aug 2014 18:47:53 +0000 (20:47 +0200)]
Add runtime configuration of motion compensation search parameters

3 years agoImprove options handling
Guillaume Martres [Wed, 6 Aug 2014 16:30:50 +0000 (18:30 +0200)]
Improve options handling

- Order arguments consistently in OPTSTRING, OPTIONS and usage string.
- Remove unused arguments
- encoder_example.c: document -h switch, replace 'h:' by 'h' in
  OPTSTRING since -h does not take an argument.

3 years agostate: move adapt_ctx out of dec/encint
Tristan Matthews [Sun, 17 Aug 2014 21:35:12 +0000 (14:35 -0700)]
state: move adapt_ctx out of dec/encint

3 years agoFix a typo in the mesh decimation description.
Timothy B. Terriberry [Wed, 13 Aug 2014 23:03:46 +0000 (16:03 -0700)]
Fix a typo in the mesh decimation description.

v is only used in the sense of "for all v".
The specific v being operated on throughout step 2 is v^*.

Thanks to Guillame Martres for the report.

3 years agoRemove obsolete MC test code.
Timothy B. Terriberry [Tue, 12 Aug 2014 21:30:31 +0000 (14:30 -0700)]
Remove obsolete MC test code.

This was designed to test continuity between the various edge
 interpolation types.
Since we no longer support CGI, there is only one edge type.
Technically, we could still repurpose this test to check for
 continuity between OBMC blending when adjacent block sizes differ,
 but that would require redesigning the test, and would have to be
 reworked when support for adjacent blocks that differ by more than
 one size level is added.

3 years agoRemove edge labels from MV grid.
Timothy B. Terriberry [Tue, 12 Aug 2014 21:28:01 +0000 (14:28 -0700)]
Remove edge labels from MV grid.

Just continuing to remove code that is now unused since CGI was
 removed.