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

202 Коммитов

Автор SHA1 Сообщение Дата
Yaowu Xu fad338b35d Add lossless_encoder example from libvpx
Change-Id: Ieeecbae2da5d5c2ae9028face8f347135241ffb9
2016-09-13 00:28:08 +00:00
Yaowu Xu 2e3fedd7f4 Fix a number of typos and improve formatting
Change-Id: I79c1b3171823376c4f6dcc72fe829e00b7bd46b4
2016-09-01 23:15:09 +00:00
Urvang Joshi 4790a69faa 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.

Change-Id: I322a1366bd4fd6c0dec9e758c2d5e88e003b1cbf
2016-08-22 23:32:56 +00:00
Urvang Joshi ebeb1155d4 Add compiler flag -Wsign-compare
Also, fix the warnings generated by this flag.

Change-Id: I1dc6e61caa5d56af4a55b6692ab620bb3144652a
2016-07-11 09:43:19 -07:00
Jim Bankoski 8bfd01fefc simple_encoder: make it so we can run it in tests.
Added a limit, resolving a todo and added a limit parameter so that we
can do a very simple fast encode in 1 pass.

Ported from : https://chromium-review.googlesource.com/#/c/343553/

Change-Id: I265cd912d970d560a0b00b86e6c7ec7b6fef1e7b
2016-05-25 22:13:30 +00:00
Jim Bankoski 1801d35d96 twopass_encoder: sample and test script fixed.
Added a limit function and removed a todo and fixed script so that
it can actually be run on av1.

Change-Id: Ib8d1d1b5c7dbe0169e4e6c7d89d28801d7699c37
2016-05-20 15:35:57 +00:00
Jim Bankoski a5c5f8561a set_maps: add back script and fix.
Change-Id: Ie50a81063b5e14f4b5f3b5adcb822dba6b3ee93d
2016-05-20 15:34:36 +00:00
clang-format 17b6b0ee8f apply clang-format
this was missed in the resurrected examples/aom_cx_set_ref.c and the
accompanying fix in av1/decoder/decoder.c as well as in:
2a10c91 rdopt,rd_pick_intra4x4block: port tsan fix from libvpx

Change-Id: Ie47eabf7869f629ffb82257f09665165083aef96
2016-05-19 15:09:54 +00:00
Jim Bankoski 2c82d97b5c svc: Remove non working svc code tests and examples.
This code is calling unimplemented code in av1, remove.   If necessary
we can port from vp9 when implemented in av1.

Change-Id: I49a12820201eda9c7ccd46224fda26a75288b85d
2016-05-19 07:01:45 -07:00
Jim Bankoski 16944e5925 aom_cx_set_ref: Example showing setting a reference frame.
This code was pulled over from libvpx (89a8174 and 9aaa3c9
Make set_reference control API work in VP9 and VP10). The testing
script was added to insure it's working properly.

Change-Id: Ica311c169a1e51718503e23756c4c394818217dd
2016-05-17 13:16:00 -07:00
Adrian Grange 54e6676757 Replace "VPx" by "AVx"
Change-Id: If363eccaa8be7fb9f8cf41488bf3f5e6d4c00645
2016-03-29 21:35:38 +00:00
Adrian Grange 5082a369e4 Change "Vpx" to "Avx"
Change-Id: I0d1e439b75eb749dd80a86474ac5f494478d0360
2016-03-29 21:35:16 +00:00
Adrian Grange fa8ca9f2c2 Change "vp9" to "av1"
Change-Id: I5942c24dec6fdcfe7e27518c8049b59e6f99a1aa
2016-03-28 12:56:02 -07:00
Adrian Grange ec838b76b6 Convert "vp8" to "aom"
Change-Id: I0d57cf019d5715d3360736763be0c5afe0bd0de4
2016-03-28 12:18:16 -07:00
Adrian Grange 80edfa0132 Change "VP9" to "AV1"
Change-Id: I6f40ab4725f59bee3d05e3989c1510dfd847b7f9
2016-03-28 12:13:50 -07:00
Adrian Grange d1a11fb9dd Change "vp8" to "aom"
Change-Id: I7fce5490afdc78ac62dafc4616b617d251487979
2016-03-25 16:04:42 -07:00
Adrian Grange dd1a5c8db5 Replace "VP8" with "AOM"
Note: Check AOMD_SET_DESCRIPTOR; there was a VPX & VP8 version
that when renamed become the same.

Change-Id: I022a71c0dfcd77948dda35ec754167e03bca616d
2016-03-25 14:24:04 -07:00
Adrian Grange ff00fc0f24 Change "VPX" to "AOM"
Change-Id: I6593a44de3b571193c2a4c8787ddf3b2fc24a268
2016-03-25 12:57:08 -07:00
Yaowu Xu 01dee0bba5 Change "vp10" to "av1" in source code
Change-Id: Ifd0d08b97538dcc04227eceb6fb087224c760c59
2016-03-25 12:43:01 -07:00
Adrian Grange cebe6f0cf5 Convert "vpx" to "aom"
Change the name of source files to replace "vpx" with "aom".
Change occurences of "vpx" in the code to "aom".

Change-Id: I002c0eaa2c350cf1a895bf01bea5788c61328027
2016-03-25 12:25:01 -07:00
Adrian Grange a872b06380 Add AOM copyright header to all .c files
Change-Id: I79d52362aec9565cc4b6fe7a1c1c08dcfb726465
2016-03-24 11:43:07 -07:00
Yaowu Xu 3d26d91670 libvpx -> libaom
Change-Id: I820483aefdc14f2ae946e08fe10fa01f3e845767
2016-03-22 12:33:42 -07:00
Yaowu Xu bf4202ed50 Rename vpx to aom
Change-Id: Ibc7933fba85feeb30ef9b14b302d932aff19f54e
2016-03-22 08:52:19 -07:00
clang-format 421bb4d426 apply clang-format to the examples
Change-Id: I31e383b0e3312d6a07efa104c799ff9aa42d433f
2016-01-28 16:44:56 -08:00
Yaowu Xu 6435821697 Remove postproc and postproc-visualizer 2016-01-21 14:41:27 -08:00
Jim Bankoski 50cbe24cc1 remove more vp8 and vp9 only code
Change-Id: I774bc9e371bf77137d411cb906c59807a4c73ed7
2016-01-21 14:16:46 -08:00
Yaowu Xu 3246fc04fb vp9->vpx in --enable-vp9-highbitdepth
Also changed all related macros and tests

Change-Id: I5269578c0f716fd391111a43932f856778494d29
2016-01-20 16:14:22 -08:00
Johann 91c75c5c23 Remove unused POSIX_MMAP references
Change-Id: I6998e15f9ed2849a270033217c02e27c79ee8343
2015-12-17 17:04:11 -08:00
Marco 9cb73659d5 Update to vp9_spatial_svc_encoder.
Some fixes for rate control stats and bypass mode.

Change-Id: I28bed5467a681b8867cca55852d5d3a25d850f39
2015-10-29 08:21:10 -07:00
Marco be3f2713ad Setting change in sample encoder: vpx_temporal_svc_encoder.c
Change-Id: Ifb384fa571eb08b516ed08fe05b8bca0c94b1edf
2015-10-20 10:40:20 -07:00
Marco 730cdefd3e Add SVC codec control to set frame flags and buffer indices.
Add SVC codec control to set the frame flags and buffer indices
for each spatial layer of the current (super)frame to be encoded.
This allows the application to set (and change on the fly) the
reference frame configuration for spatial layers.

Added an example layer pattern (spatial and temporal layers)
in vp9_spatial_svc_encoder for the bypass_mode using new control.

Change-Id: I05f941897cae13fb9275b939d11f93941cb73bee
2015-09-17 09:37:15 -07:00
Marco eb53c69ece Add cyclic refresh parameters to svc-layer context.
For 1 pass CBR spatial-SVC:
Add cyclic refresh parameters to the svc-layer context.

This allows cyclic refresh (aq-mode=3) to be applied to
the whole super-frame (all spatial layers).
This gives a performance improvement for spatial layer encoding.

Addd the aq_mode mode on/off setting as command line option.

Change-Id: Ib9c3b5ba3cb7851bfb8c37d4f911664bef38e165
2015-09-15 10:06:36 -07:00
Marco 1b556e1f9a vp9_spatial_svc_encoder: Enable aq-mode for real-time mode.
For real-time mode (speeds >=5) enable aq-mode=3.

Change-Id: Ib8b4ef7609bc30ac935742c8d27e8cd89933c6af
2015-08-26 15:19:44 -07:00
Marco 4ebded6840 vp9_spatial_svc_encoder: Add encoding time log.
Change-Id: Iab4e4a13a65c9dc5314e5107b126c30667c7b448
2015-08-26 12:20:10 -07:00
Marco 83f8ab5001 Update to vpx_temporal_svc_encoder:
Add set_tune_content control setting.

Change-Id: I8f7af8e8e9bc35a2d1546c5a0b2dd14be3cce750
2015-07-07 11:08:50 -07:00
Marco d77f51ba9e Add dynamic resize logic for 1 pass CBR.
Decision to scale down/up is based on buffer state and average QP
over previous time window. Limit the total amount of down-scaling
to be at most one scale down for now.

Reset certain quantities after resize (buffer level, cyclic refresh,
rate correction factor).

Feature is enable via the setting rc_resize_allowed = 1.

Change-Id: I9b1a53024e1e1e953fb8a1e1f75d21d160280dc7
2015-06-18 17:13:37 -07:00
Yunqing Wang c98273c9e7 vp9_ethread: create enough threads while using SVC
This patch modified the thread creating code. When use_svc is true,
the number of threads created is decided by the highest resolution.
This resolved WebM issue 1018.

Change-Id: I367227b14d1f8b08bbdad3635b232a3a37bbba26
2015-06-15 14:30:54 -07:00
Marco a8c5ab2ca6 Remove ABI check for 1 pass CBR SVC.
Remove the ABI check for the controls needed for SVC 1 pass CBR mode.
Bump up the ABI version.

Change-Id: I35b79ee010e14af83c6d1e801d574deaaa2fc7eb
2015-06-03 17:43:22 -07:00
Marco 5df6c04585 Fix to sample encoder: vpx_temporal_svc_encoder.c
vp8 uses ts_target_bitrate for layer settings.

Change-Id: Ie72477b549051396feebff87a3744fed04366bf4
2015-06-03 14:50:27 -07:00
Marco c139b81a13 Vidyo patch: Rate control for SVC, 1 pass CBR mode.
-Make Rate control work for SVC 1 pass CBR mode.
-Added temporal layering mode.
-Fixed bug in non-rd variance partition.
-Modified/updated the sample encoders (vp9_spatial_svc_encoder, vpx_temporal_svc_encoder).
-Added datarate unittest(s) for 1 pass CBR SVC.

Change-Id: Ie94b1b68a56ea1267b5087c625e5df04def2ee48
2015-06-02 07:54:13 -07:00
James Zern f237849862 Merge changes from topic 'missing-proto'
* changes:
  vpxenc: make some functions static
  vpxdec: make some functions static
  tools_common.h: fix get_vpx_decoder_count() proto
  tools_common.h: fix get_vpx_encoder_count() proto
  tools_common.h: fix usage_exit() prototype
2015-05-12 19:02:05 +00:00
Johann 4aaf4661c3 Remove reference to compatibility layer
The compatibility layer was removed before the 1.4.0 release.

Change-Id: I268513ee9b3a2640ec33c4a25a5c5614fee7b3b2
2015-05-12 10:40:13 -07:00
James Zern 59e7a47c41 tools_common.h: fix usage_exit() prototype
+ the definitions in the examples

silences a missing-prototype warning

Change-Id: I7c064cacd6d2073a6107de6c3e2cc46ef8a68411
2015-05-11 20:54:55 -07:00
Marco ee3d42bf3f vpx_temporal_svc_encoder: Keep static_threshold off as default.
Change-Id: Iadb42041f08ac969cc0b6af6f15e30c8498db680
2015-04-29 14:41:36 -07:00
Marco 0810a2d8bc vpx_temporal_svc_encoder: Update some settings.
Set denoiser off by default: should add this option to command line.

Change-Id: Iaecc94f5b5099feaacd7a5c415fc86eb68a2eea5
2015-04-29 09:26:24 -07:00
Marco 03f12e142b vpx_temporal_svc_encoder: Set static threshold to off by default.
Change-Id: I029484a5ffddcc3e518eeee609a6709b01cba146
2015-04-29 08:38:14 -07:00
James Zern 18613408a3 put spatial svc behind an ABI check
this removes the CONFIG_* checks from public headers, but means
'--enable-experimental --enable-spatial-svc' builds will fail without a
local change to the ABI in vpx_encoder.h. this should be all right for
testing this experiment.

Change-Id: Ief55e7b9d1e8332cfce990275e04c29b30af0c4a
2015-03-19 12:29:16 -07:00
Marco a250ebf8b8 vpx_temporal_svc_encoder: Update some default settings.
Set flags=0 if layering_mode=0, and set static_thresh=1.

Change-Id: Id9874923b23966a2b1d0e83965add7d5c9d26d16
2015-03-11 14:09:49 -07:00
Marco c76ebffdcc Set the threads/tile_columns in vpx_temporal_svc_encoder.
Change-Id: I794e8b64f26ebe68d7f18c3a11cb7c80e1cd3110
2015-03-06 09:53:55 -08:00
Marco 87a6175d6e vpx_temporal_svc_encoder: Adjust default qp-max setting for vp9.
Change-Id: Iada495f05193a1f645a5405ad792931f4d9113ab
2015-02-12 12:40:02 -08:00