Граф коммитов

39 Коммитов

Автор SHA1 Сообщение Дата
Tom Finegan ba02c24cfe Remove CONFIG_{DE,EN}CODERS from the CMake build.
Use CONFIG_AV1_{DE,EN}CODER to control decoder and
encoder support inclusion instead.

BUG=aomedia:76,aomedia:508

Change-Id: Ib150ae382b301885589f30d9b6e98d3bfdd1afce
2017-05-22 22:35:37 +00:00
hui su efdad1f400 Add NELEMENTS() macro in aom_dsp/aom_dsp_common.h
Change-Id: Ia8da431c7a1faa43e130ce71da9561957c5556e7
2017-05-17 18:03:06 +00:00
Sebastien Alaiwan 14af5b9591 Simplify conditions on bitdepth
This avoids use of preprocessor when possible, and removes a
duplicated legacy check on codec name.

Change-Id: I8f0d25cf69b51d3379f25c1a69f88c8d404c4e38
2017-05-12 16:22:45 +00:00
Fangwen Fu 6160df2936 Extend delta q with segments
This is the first patch for ext_delta_q experiment.
* Allow delta q to work with segment features

Change-Id: I9455ebb3b5b23b41daa4afa1149672a20d3a3f2c
2017-04-24 23:29:36 +00:00
Yaowu Xu 3973759207 correct help message
BUG=aomedia:451

Change-Id: I5636c1993a496ddff5d27afa7e72dd787276a86c
2017-04-24 02:35:25 +00:00
Urvang Joshi 09c293efbc Move image matching functions to common location.
Exact same functions were present in two encoder binaries.

BUG=aomedia:442

Change-Id: Ib169c29cee8ae40cbd71c26099a3339ec7143315
2017-04-21 23:36:54 +00:00
Sebastien Alaiwan 374a5907ce Fix encoder use of 16-bit operating path
When compiled with --disable-lowbitdepth, the decoder uses the generic
16-bit operating path, regardless of the input video profile.
The encoder should also use the generic 16-bit operating path if the
low-bitdepth operating path has been disabled at build time.

Change-Id: I421cc774b45d2c76bea8730cc8726224cb4aba1e
2017-04-20 08:03:45 +00:00
Yunqing Wang d8cd55f4dd ext_tile: add 2 tile encoding modes
Added 2 tile encoding modes:
TILE_NORMAL mode supports the large-scale tile coding up to 1024 x 1024
tiles;
TILE_VR mode supports the large-scale tile coding and also the decoding
of a single tile.

TILE_NORMAL mode allows the non-vr content to be encoded in multiple tiles
without using the coding tool that are designed for vr applications.

Change-Id: Id804806a1bbcb916b7f5dc7e2c5509d88f3defcb
2017-04-20 00:10:33 +00:00
Thomas Daede 8082614e81 Remove rt deadline.
The "good" speed levels are universally better than the "rt" ones,
running faster to achieve the same quality.

rt mode also turned off alt refs and lag-in-frames, but these
are still accessible separately (and the low latency test case
explicitly sets them).

Some features were used by the rt scale and not the good scale.
Two additional "good" levels, 7 and 8, were added to accomidate
these features and not reduce test coverage.

Change-Id: I3a6a78ddb664511762c197bc41f3a9909665b565
2017-04-17 23:17:34 +00:00
Sebastien Alaiwan 71e87847eb Homogenize configuration option name.
Rename '--enable-aom-highbitdepth' to '--enable-highbitdepth'

Change-Id: I1de13c3508c30c552532993419d8ace326142ab6
2017-04-12 22:29:11 +00:00
Thomas Daede 6eca835fff Remove "best" deadline parameter from aomenc.
This option increases runtime by 20% and is only marginally
better than good cpu-used=0:

   PSNR | PSNR Cb | PSNR Cr | PSNR HVS |    SSIM | MS SSIM | CIEDE 2000
-0.3382 | -0.3911 | -0.4875 |  -0.2982 | -0.2992 | -0.3164 |    -0.3686

It is also not well integrated with speed_features.c, which is
the main reason for the removal.

Change-Id: If88c50367f63b860ad57f650869b978ec7734aad
2017-03-21 20:15:38 +00:00
Urvang Joshi 51c048eb2b aomenc: Don't print warning in quiet mode.
Change-Id: I8a23fcf0839c2c2b1d638c3e0fc9d4e5a09f1269
2017-02-17 00:26:20 +00:00
Fangwen Fu 7b9f2b3b0d add horizontal tile dependence support
Change-Id: I1050b69045407381d4626b65a0bf6f35957a66f4
2017-02-04 00:45:16 +00:00
Ryan Lei 9b02b0e6cd deblocking_across_tiles->loopfilter_across_tiles
This commit renames deblocking_across_tiles to loopfilter_across_tiles, 
to get ready for dering and clpf integration.

Change-Id: Id25b051da9b1e5cb92f35a9619662597462d9537
2017-02-03 01:25:52 +00:00
Fangwen Fu 8d164de25c enable explicit temp mv prediction signaling
Change-Id: Ieb2922c3df4ef4f8514b8a6df6f9a8fc45ef3cf4
2017-01-23 14:22:45 -08:00
James Zern b643036483 Fix compile warnings for target=armv7-android-gcc
Fix compile warnings about implicit type conversion for
target=armv7-android-gcc in aomenc.c.

cherry-picked from libvpx:
380a26112 Fix compile warnings for target=armv7-android-gcc

BUG=aomedia:111

Change-Id: Iffa6af8ac5d87582f418e3425bee0e1d48f27b93
2017-01-19 19:38:54 +00:00
Ryan Lei 7386eda0e0 Add an experiment to disable lpf on tile boundaries
This commit adds a new experiment to allow disabling of loop filtering
on tile boundaries. It is implemented by adding a syntax field
"loopfilter_across_tiles_enabled" into the uncompressed frame header. 
If it is set to 0, decoder and encoder will disables loop filtering for
block edges that are also tile boundaries.

Change-Id: Ib80bfd82d49c74f1ba46ae18ceedb30704ac8aa5
2017-01-04 04:59:42 +00:00
Alex Converse fab6224318 Remove obsolete control AOME_SET_ARNR_TYPE and command line flag
The control is deprecated and is a noop.

Change-Id: I66f248485a906c26205a1b26e61e15d976207fd8
2016-12-13 23:23:38 +00:00
Yaowu Xu 9dcf560295 Use "-" instead of "_" in aom-qm parameters
To be consistent with rest of comand line parameters.

Change-Id: Id7588ddf5f8a2b468311aa1b86cf1664a3e3c660
2016-11-12 00:35:55 +00:00
Yaowu Xu 859a52784a Apply clang-format
Change-Id: Ie57676814833824b1f3612b60ed9b0485c7ffd52
2016-11-11 19:23:40 +00:00
Thomas Davies af6df17516 Add options setting number of tile groups or MTU.
Default MTU size is 0, which implies a fixed number
of tile groups. MTU matching overrides fixed tile
group. MTU matching will succeed unless a single
tile is bigger than the MTU.

--mtu-size is in bytes, and includes headers but
not transport/wrapper overheads

Change-Id: I2b70bd41b175b54273b02d836f2a84011f617a7c
2016-11-10 17:31:07 +00:00
Yaowu Xu 6c8ec65bfe Add missing support aomenc parameter for aom-qm
BUG=aomedia:79

Change-Id: I09c9547295e4ab540861d6d4def24718dcefc854
2016-11-09 22:27:59 +00:00
Arild Fuldseth (arilfuld) 59622cf292 Fixes compilation error on Windows/Visual Studio
Change-Id: I32377deb5f1e882370c70449cb8f68f2fdafcbef
2016-10-31 09:13:53 -07:00
Thomas Daede 8ec53b2655 Automatically upgrade profile to match input chroma subsampling.
This is a follow-up to 1195a396f6.

Change-Id: I4db554e5d88290d55258062e29a1652707d91037
2016-10-25 08:56:55 -07:00
Thomas Daede c0dca3c507 Automatically set internal bit depth to at least the input bit depth.
Upgrade profile if required.

Change-Id: Ieb2b77d2446290a8fc749739247a01e8f0600c55
2016-10-24 14:08:34 -07:00
Yaowu Xu c76572af16 Merge changes Icfc16070,Ied47a248,I8af087d9,I322a1366,If04580af into nextgenv2
* changes:
  Palette: Use inverse_color_order to find color index faster.
  Rewrite some loops to avoid -Wunsafe-loop-optimizations warnings.
  Remove some useless casts
  Add compiler warning flag -Wextra and fix related warnings.
  Declare some array sizes to be constants (known at compile time).
2016-10-21 17:31:42 +00:00
Urvang Joshi d71a231c49 Add compiler warning flag -Wextra and fix related warnings.
Note: some of these warnings are enabled by a combination of -Wunused
(added earlier) and -Wextra.

Cherry-picked from aomedia/master: 4790a69

Change-Id: I322a1366bd4fd6c0dec9e758c2d5e88e003b1cbf
2016-10-20 15:49:16 -07:00
Yaowu Xu 748d3f5e0f Merge "Fix Visual Studio build." into nextgenv2 2016-10-20 22:29:57 +00:00
James Zern d37c22271c Merge "Add matching brace in aomenc.c" into nextgenv2 2016-10-20 19:38:57 +00:00
hui su 251e151c3d Add matching brace in aomenc.c
Change-Id: Iccb75d5204f0f52f2c7d6e18d1f8223ce10f68ba
2016-10-19 15:31:51 -07:00
Thomas e28d92be97 Fix Visual Studio build.
Change-Id: I01608dfd597cc1d2bd4e73918aa29cf9251edb08
2016-10-19 15:14:27 -07:00
Thomas Davies f693610a1a 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
2016-10-19 15:14:27 -07:00
Arild Fuldseth 07441165fe Support for delta-q at superblock level
Change-Id: I4128af44776d1f361bddc1fdffb75ed2224dbfa5
2016-10-19 15:14:27 -07:00
Urvang Joshi 4145bf05ae 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
2016-10-19 07:56:53 -07:00
Nathan E. Egge d1b239c0c3 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
2016-10-17 10:45:24 -07:00
Yaowu Xu d59fb48bc7 Add notes for an option
cherry-picked from aom/master:
2b40739490

Change-Id: Ia7b3bfd68e2c31b21f49a429fecc4d0b701b045f
2016-09-30 15:39:53 -07:00
clang-format 67948d312d apply clang-format
Change-Id: If22018f8911d9d7ee99c2127bdfcc56e42b0e2d7
2016-09-15 16:41:21 -07:00
Yaowu Xu 9c01aa1b0c Change to use aom copyright notice
This minimize code differences between AOM master and nextgenv2

Change-Id: If144865bdf3ef0818e7aac11018b9e786444c550
2016-09-02 08:22:07 -07:00
Yaowu Xu f883b42cab Port renaming changes from AOMedia
Cherry-Picked the following commits:
0defd8f Changed "WebM" to "AOMedia" & "webm" to "aomedia"
54e6676 Replace "VPx" by "AVx"
5082a36 Change "Vpx" to "Avx"
7df44f1 Replace "Vp9" w/ "Av1"
967f722 Remove kVp9CodecId
828f30c Change "Vp8" to "AOM"
030b5ff AUTHORS regenerated
2524cae Add ref-mv experimental flag
016762b Change copyright notice to AOMedia form
81e5526 Replace vp9 w/ av1
9b94565 Add missing files
fa8ca9f Change "vp9" to "av1"
ec838b7  Convert "vp8" to "aom"
80edfa0 Change "VP9" to "AV1"
d1a11fb Change "vp8" to "aom"
7b58251 Point to WebM test data
dd1a5c8 Replace "VP8" with "AOM"
ff00fc0 Change "VPX" to "AOM"
01dee0b Change "vp10" to "av1" in source code
cebe6f0 Convert "vpx" to "aom"
17b0567 rename vp10*.mk to av1_*.mk
fe5f8a8 rename files vp10_* to av1_*

Change-Id: I6fc3d18eb11fc171e46140c836ad5339cf6c9419
2016-08-31 18:19:03 -07:00