summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
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
2015-03-06Set the threads/tile_columns in vpx_temporal_svc_encoder.Marco
Change-Id: I794e8b64f26ebe68d7f18c3a11cb7c80e1cd3110
2015-02-12vpx_temporal_svc_encoder: Adjust default qp-max setting for vp9.Marco
Change-Id: Iada495f05193a1f645a5405ad792931f4d9113ab
2015-02-05vpx_temporal_svc_encoder: change default setting for static threshold.Marco
Change-Id: Ie45c8344df9415173eae7aa20384ea8ecb05d07a
2015-02-04Xcode: Fix includes in examples.Tom Finegan
The current file's directory, ".", is treated much more literally when building libvpx examples with Xcode than it is with make, and clang cannot find common include files included via "./" when those files actually reside one directory up in the tree. Change-Id: I5f66a026282e35d80248ca4052ebb882b859172e
2014-12-03Various updates to vp8.Marco
Change-Id: Icc7a816491897107764e4c936288e9000e6319b8
2014-11-26temporal_svc encoder: Change default setting for layering_mode = 0.Marco
Change-Id: I5f723ada144d0bd82ee700ef28a4916fd64ba5e4
2014-11-18Changes SvcContext_t to SvcContextDeb Mukherjee
Fixes a borg build. Change-Id: I8cb510577e8d8bbc7a2e64f9e1bdfe883f49cb61
2014-11-14Add more rate control stats to vpx_temporal_svc_encoder.Marco
Average and variance of actual encoding bitrate over fixed short-time window. Change-Id: Icc3d6d93792c81e1fb9fd3b56008bf47a503b204
2014-11-10Vidyo: Support for one-pass rc-enabled SVC encoderDeb Mukherjee
Adds support for one-pass rc-enabled SVC encoder with callbacks for getting per-layer packets. - the callback function registration is implemented as an encoder control function. - if the callback function is not registered, the old way of aggregating packets with superframe will take effect. - one more control function “VP9E_GET_SVC_LAYER_ID” has been implemented to get the temporal/spatial id from the encoder within the callback. This can be used to get the ids to put on RTP packet. Change-Id: I1a90e00135dde65da128b758e6c00b57299a111a
2014-11-04[spatial svc] Make spatial svc working for one pass rate controlMinghai Shang
Change-Id: Ibd9114485c3d747f9d148f64f706bf873ea473ac
2014-10-13Resolves some lint errorsDeb Mukherjee
And also fixes some style consistency issues. Change-Id: I3dc6d44e17d2d6075dc9b02c4255a7395046c5e0
2014-10-11vp9_spatial_svc_encoder: fix -bit-depth arg parsingJames Zern
use arg_parse_enum_or_int like vpxenc. this also fixes a warning as arg_parse_enum is not currently declared in args.h. Change-Id: If9ce258d6adb6286eb86f529083929d5fe2b3a56
2014-10-02Adds highbitdepth support to svc examplesDeb Mukherjee
Change-Id: I59946642cb5c370726da33f4448a3deaba7d3f11
2014-09-30examples/simple_decoder: Correct comments/remove unnecessary include.Tom Finegan
Change-Id: Iad3db3ca7601529ae32637f859ac8d552da94c87
2014-09-18[spatial svc] Remove vpx_svc_parameters_t and the loop that sets it for each ↵Minghai Shang
layer vpx_svc_parameters_t contains id, resolution and min/max qp for each spatial layer. In this change we will use extra config to send min/max qp and scaling factors, then calculate layer resolution inside encoder. Change-Id: Ib673303266605fe803c3b067284aae5f7a25514a
2014-09-18[spatial svc]Remove quantizers option. Use max/min quantizers for each layer.Minghai Shang
Change-Id: I214bc4169f6c5eaee4957cd308a74d309e999005
2014-09-17[spatial svc] Use string for quantizers and scale-factors option in the test appMinghai Shang
1. This is to align with the ffmpeg implementation 2. Remove APIs for setting quantizers and scale-factors Change-Id: I6e238d71db790a9fb3254baaeb61e2a5aac58f48
2014-09-12Change the control function of VP9 denoiser.JackyChen
Change from VP8E_SET_NOISE_SENSITIVITY to VP9E_SET_NOISE_SENSITIVITY Change-Id: Ia210a7029b26924e30973f0f9798a338e0412407
2014-09-11Merge "[spatial svc] Remove handling frame and stats packets in the codec"Minghai Shang
2014-09-11Merge "Adding lossless encoding example."Dmitry Kovalev
2014-09-11[spatial svc] Remove handling frame and stats packets in the codecMinghai Shang
1. svc_encodeframe.c will not handle frame or stats packets anymore. The app will process them. 2. Remove APIs that related to these packets. Change-Id: Id0d7f8b458dc09c6f77064c0878fd4e572db001b
2014-09-11Adding lossless encoding example.Dmitry Kovalev
Change-Id: Ib8498c3127c397b453beff140503b2aca0d11cfc
2014-09-10examples/twopass_encoder: Use good quality.Tom Finegan
This speeds up the encode significantly. Also added a comment about using best quality to keep new developers informed. Change-Id: I04e8154d4b2c4cae07fe7cc9a71e707f649e9ed4
2014-09-09Merge "Removing legacy compatibility layer."Dmitry Kovalev
2014-09-03Merge "[svc] Temporal svc with two pass rate control"Minghai Shang
2014-09-02Removing legacy compatibility layer.Dmitry Kovalev
Change-Id: I6fdcea0e0faf42386dd2b8f972a3b3fb2c21b2c7
2014-09-02[svc] Temporal svc with two pass rate controlMinghai Shang
It's built based on current spatial svc code. We only support one spatial two temporal layers at this time. Change-Id: I1fdc8584354b910331e626bfae60473b3b701ba1
2014-09-02Switching back to #define instead of static const int.Dmitry Kovalev
To avoid 'variable length array' warnings from gcc. Change-Id: I426f7e93ce674a10b901e79c0c9d9df5d4e47cb6
2014-08-28vp8_multi_resolution_encoder: Huge cleanup.Dmitry Kovalev
Change-Id: I65b2c1fbed5a306949843315999d10368a100431
2014-08-25twopass_encoder: Flush encoder.Dmitry Kovalev
Change-Id: Ib04a545b43f3a36c6df7eaf3ed2d802cf41119bb