summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
2017-03-14Merge "vp9: Enable row multithreading for SVC in real-time mode."Jerome Jiang
2017-03-10vp9: Sample encoder vpx_temporal_svc_encoder: enable row-mtMarco
Enable row-mt in the sample encoder vpx_temporal_svc_encoder.c, under certain condiitons. Change-Id: Ic103ee81a9d80be5bf6e5778cc21fc3199db909d
2017-03-10vp9: Enable row multithreading for SVC in real-time mode.Marco
Enable row-mt for SVC for real-time mode, speed >=5. Add the controls to the sample encoders, but keep it off for now. Add the control and enable it for the 1 pass CBR unittests. For speed 7, 3 layer SVC, 2 threads, row-mt enabled gives about ~5% speedup. Change-Id: Ie8e77323c17263e3e7a7b9858aec12a3a93ec0c1
2017-03-08vp9: Add control to vpx_temporal_svc_encoder for row-mt.Marco
Keep it off as default for now. Change-Id: Ia2518a8ce96c9735c3fe67215dde25a35e8620af
2017-02-15vpx_temporal_svc_encoder: Expose error resilient control to cmd line.Jerome Jiang
Change-Id: Ic74a8690b136ffbc370080f70b2d5a6b1572bf63
2017-01-06vp9: Add some controls to sample encoder: vpx_temporal_svc_encoderMarco
Add the gf boost and frame_parallel controls. Set as default to off. Change-Id: Id85fcb16a4fae97f51c09e9ebadb5cdcd510c2f5
2016-12-08vp8 multi_res_encoder: Ajust some settings in sample encoder.Marco
Set #threads to default 1 for all streams, change bit allocaton for 3 temporal layers, and enable denoiser on middle resolution layer. Change-Id: I4a57adbfdb2c319002b8f3cf359613842dc00d75
2016-12-07vp9: Fix some TODOs in svc code.Marco
Change-Id: Ie9f441245987ade9dab38af69adf4dd1fb38ca3f
2016-10-31vp9-svc: Fix some stats in vp9_spatial_svc_encoder.Marco
Correction to rate control stats output under -rcstat. Change-Id: I46fa5d2a66ed657121ee3d685608a148bb9a7bb3
2016-10-28vp9: Updates to SVC sample encoder.Marco
Allow for passing in the layer bitrates at command line. Fix to allow passing in bitrate for each spatial-temporal layer. Change to some default values for 1 pass cbr mode: spatial scale and qp-max/min. Small fixes to some build warnings. Change-Id: I3f9a776262712480a6570bb863a835b2fc49935a
2016-10-03Update to vpx_temporal_svc_encoder command line.Marco
Set the #threads at command line. Change-Id: Id0daa2393880c3da2d903c11a793072d3008b34b
2016-09-27Add compiler flag -Wsign-compareUrvang Joshi
Also, fix the warnings generated by this flag. (cherry picked from commit ebeb1155d4fa6d28e2f40c92265245f8df097fcb) From AOM. Don't actually add -Wsign-compare. It will be covered by -Wextra. Switch to vpx_integer.h from df9c9d6d4c43f02c58d4e776c53323788e013cbc BUG=webm:1069 Change-Id: I1dc6e61caa5d56af4a55b6692ab620bb3144652a
2016-09-19examples: quiet -Wshorten-64-to-32 warningsJames Zern
all around usage of strtol/strtoul Change-Id: If907c89f107a068987aa71ddd93cee9a7389e4cd
2016-09-16Merge changes from topic 'clang-format'James Zern
* changes: apply clang-format .clang-format: update to 3.8.1
2016-09-16zero structures completelyJohann
Use vp[89]_zero when possible. Expand the {} set when neither is available or nearby. Change-Id: Ifc1f46f60100916cd798bf7be3a10f09321c99bd
2016-09-15apply clang-formatclang-format
Change-Id: I501597b7c1e0f0c7ae2aea3ee8073f0a641b3487
2016-09-13vp9cx_set_ref.c: remove unused 'cfg' parameterJohann
Cleans -Wextra/-Wunused-parameter warning: warning: unused parameter ‘cfg’ Change-Id: I84eae57a50306cb66c625bb648b0a330678818db
2016-08-10vp8: Fix denoiser setting in multi-res sample encoder.Marco
Change-Id: I9222f3b252e5ed883659f1a14cd705944ee9da07
2016-08-02vp9 svc: Fix a valgrind error.JackyChen
This error was introduced by the patch: 8ce67d7 vp9 svc: Enable different speed setting for each spatial layer. To use svc, svc_param should be cleared to 0 at the beginning. Change-Id: I222f03ddae8a50e84b4690b78263abb742fae91e
2016-07-18examples: apply clang-formatclang-format
Change-Id: Icc3bbb07c99a31a70030baec7e51b881902a7b5e
2016-07-07Fix Visual Studio build warningYunqing Wang
Fixed signed/unsigned mismatch warning. Change-Id: I1634d0634de752f4b8baa8059e8f3e2891fa53b6
2016-07-06Modify the name of vp9cx_set_ref exampleYunqing Wang
Modified the name of vp9cx_set_ref example so that the test script ran correctly. Change-Id: I0ab2de66220b0a88b7af7ea1633a088ab78dd9ff
2016-07-01Make set_reference control API work in VP9Yunqing Wang
Moved the API patch from NextGenv2. An example was included. To try it, for example, run the following command: $ examples/vpx_cx_set_ref vp9 352 288 in.yuv out.ivf 4 30 Change-Id: I4cf8f23b86d7ebd85ffd2630dcfbd799c0b88101
2016-05-12Merge "twopass_encoder: Add frame limit argument."Tom Finegan
2016-05-11simple_encoder: Add a frame limit argument.Tom Finegan
- Add frame limit argument. - Make all arguments required. - Enable the VP9 simple encoder test. Change-Id: I11d228b358ff90c60ea92e02760cb476434ea571
2016-05-11twopass_encoder: Add frame limit argument.Tom Finegan
- Remove twopass_encoder test TODO re frame limit. - Enable VP9 twopass_encoder test. Change-Id: I0649f15aabef79a63891e997fd20b212af5672e6
2016-04-26vp9: Simplify the logic in denoiser SSE2 code.JackyChen
Block size passed into denoiser filter is always >= BLOCK_8X8 (in vp9_pick_inter_mode), it is not necessary to check smaller block size. Passed the bitexact test on clips with different resolutions and noise levels. Change-Id: I19fa3195d18c27d9e5de60dc11cff1522ef3714e
2016-02-29vp8: multi-res-encoder: Fix timer around encoder in sample encoder.Marco
Change-Id: I0131ab4767e2eb72838ab6e58dd77a85fbf508e0
2016-01-20Vidyo patch: Changes to the scalability code.Marco
Changes to mode selection for 1 pass SVC mode: use base layer motion vector, changes to intra-prediction. Change-Id: I3e883aa04db521cfa026a0b12c9478ea35a344c9
2015-12-17Remove unused POSIX_MMAP referencesJohann
Change-Id: I6998e15f9ed2849a270033217c02e27c79ee8343
2015-10-29Update to vp9_spatial_svc_encoder.Marco
Some fixes for rate control stats and bypass mode. Change-Id: I28bed5467a681b8867cca55852d5d3a25d850f39
2015-10-20Setting change in sample encoder: vpx_temporal_svc_encoder.cMarco
Change-Id: Ifb384fa571eb08b516ed08fe05b8bca0c94b1edf
2015-09-17Add SVC codec control to set frame flags and buffer indices.Marco
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-15Add cyclic refresh parameters to svc-layer context.Marco
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-08-26vp9_spatial_svc_encoder: Enable aq-mode for real-time mode.Marco
For real-time mode (speeds >=5) enable aq-mode=3. Change-Id: Ib8b4ef7609bc30ac935742c8d27e8cd89933c6af
2015-08-26vp9_spatial_svc_encoder: Add encoding time log.Marco
Change-Id: Iab4e4a13a65c9dc5314e5107b126c30667c7b448
2015-07-07Update to vpx_temporal_svc_encoder:Marco
Add set_tune_content control setting. Change-Id: I8f7af8e8e9bc35a2d1546c5a0b2dd14be3cce750
2015-06-18Add dynamic resize logic for 1 pass CBR.Marco
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-15vp9_ethread: create enough threads while using SVCYunqing Wang
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-03Remove ABI check for 1 pass CBR SVC.Marco
Remove the ABI check for the controls needed for SVC 1 pass CBR mode. Bump up the ABI version. Change-Id: I35b79ee010e14af83c6d1e801d574deaaa2fc7eb
2015-06-03Fix to sample encoder: vpx_temporal_svc_encoder.cMarco
vp8 uses ts_target_bitrate for layer settings. Change-Id: Ie72477b549051396feebff87a3744fed04366bf4
2015-06-02Vidyo patch: Rate control for SVC, 1 pass CBR mode.Marco
-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-05-12Merge changes from topic 'missing-proto'James Zern
* 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-12Remove reference to compatibility layerJohann
The compatibility layer was removed before the 1.4.0 release. Change-Id: I268513ee9b3a2640ec33c4a25a5c5614fee7b3b2
2015-05-11tools_common.h: fix usage_exit() prototypeJames Zern
+ the definitions in the examples silences a missing-prototype warning Change-Id: I7c064cacd6d2073a6107de6c3e2cc46ef8a68411
2015-04-29vpx_temporal_svc_encoder: Keep static_threshold off as default.Marco
Change-Id: Iadb42041f08ac969cc0b6af6f15e30c8498db680
2015-04-29vpx_temporal_svc_encoder: Update some settings.Marco
Set denoiser off by default: should add this option to command line. Change-Id: Iaecc94f5b5099feaacd7a5c415fc86eb68a2eea5
2015-04-29vpx_temporal_svc_encoder: Set static threshold to off by default.Marco
Change-Id: I029484a5ffddcc3e518eeee609a6709b01cba146
2015-03-19put spatial svc behind an ABI checkJames Zern
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-11vpx_temporal_svc_encoder: Update some default settings.Marco
Set flags=0 if layering_mode=0, and set static_thresh=1. Change-Id: Id9874923b23966a2b1d0e83965add7d5c9d26d16