diff options
author | James Zern <jzern@google.com> | 2020-04-24 15:59:25 -0700 |
---|---|---|
committer | James Zern <jzern@google.com> | 2020-04-24 16:25:10 -0700 |
commit | e404f867ccb574f2780bdfd973b320e777bd055a (patch) | |
tree | e1fa92f25c80e77adadf777efd010503f07ac8c4 /vpx/internal/vpx_codec_internal.h | |
parent | ae145ca3a403c817c6392cfc92446f0fc57a50a8 (diff) | |
download | libvpx-e404f867ccb574f2780bdfd973b320e777bd055a.tar libvpx-e404f867ccb574f2780bdfd973b320e777bd055a.tar.gz libvpx-e404f867ccb574f2780bdfd973b320e777bd055a.tar.bz2 libvpx-e404f867ccb574f2780bdfd973b320e777bd055a.zip |
Update comments on nonexistent vpx_codec_init
Update comments on the nonexistent vpx_codec_init() function. Replace it
with vpx_codec_dec_init() and vpx_codec_enc_init().
based on the change in libaom:
b1b8c68e8 Update comments on nonexistent aom_codec_init
Change-Id: I63d3f6c87706a98f631457b5f6ce51e8b0c5cfb1
Diffstat (limited to 'vpx/internal/vpx_codec_internal.h')
-rw-r--r-- | vpx/internal/vpx_codec_internal.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vpx/internal/vpx_codec_internal.h b/vpx/internal/vpx_codec_internal.h index 5135d3422..f01a63e0c 100644 --- a/vpx/internal/vpx_codec_internal.h +++ b/vpx/internal/vpx_codec_internal.h @@ -27,13 +27,15 @@ * </pre> * * An application instantiates a specific decoder instance by using - * vpx_codec_init() and a pointer to the algorithm's interface structure: + * vpx_codec_dec_init() and a pointer to the algorithm's interface structure: * <pre> * my_app.c: * extern vpx_codec_iface_t my_codec; * { * vpx_codec_ctx_t algo; - * res = vpx_codec_init(&algo, &my_codec); + * int threads = 4; + * vpx_codec_dec_cfg_t cfg = { threads, 0, 0 }; + * res = vpx_codec_dec_init(&algo, &my_codec, &cfg, 0); * } * </pre> * |