diff options
author | Yaowu Xu <yaowu@google.com> | 2015-03-13 12:52:52 -0700 |
---|---|---|
committer | Yaowu Xu <yaowu@google.com> | 2015-03-13 15:41:01 -0700 |
commit | a562e90b9ba71ffb1cb9d8a41d8e8824861d8d14 (patch) | |
tree | 010f660f62a645f5fa3528e794b748ae9276f108 /vpx/vpx_encoder.h | |
parent | 268f10669a700bb7b7ece3ae06490bd9e99b8a6f (diff) | |
download | libvpx-a562e90b9ba71ffb1cb9d8a41d8e8824861d8d14.tar.gz |
Fix comments for vpx_codec_enc_config_default()
This makes clear that for end-usage, only 0 is supported currently.
Change-Id: I99795807c20df1d71b3c803e8d5f3b36583dcc85
Diffstat (limited to 'vpx/vpx_encoder.h')
-rw-r--r-- | vpx/vpx_encoder.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vpx/vpx_encoder.h b/vpx/vpx_encoder.h index 8f7bff518..8977ec46c 100644 --- a/vpx/vpx_encoder.h +++ b/vpx/vpx_encoder.h @@ -827,9 +827,9 @@ extern "C" { * be called by all applications to initialize the configuration structure * before specializing the configuration with application specific values. * - * \param[in] iface Pointer to the algorithm interface to use. - * \param[out] cfg Configuration buffer to populate - * \param[in] usage End usage. Set to 0 or use codec specific values. + * \param[in] iface Pointer to the algorithm interface to use. + * \param[out] cfg Configuration buffer to populate. + * \param[in] reserved Must set to 0 for VP8 and VP9. * * \retval #VPX_CODEC_OK * The configuration was populated. @@ -840,7 +840,7 @@ extern "C" { */ vpx_codec_err_t vpx_codec_enc_config_default(vpx_codec_iface_t *iface, vpx_codec_enc_cfg_t *cfg, - unsigned int usage); + unsigned int reserved); /*!\brief Set or change configuration |