Created
August 2, 2019 21:47
-
-
Save leandromoreira/908ffa5a8bf09aec32b004b8da627642 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+AVCodec ff_libdav1d_decoder = { | |
+ .name = "libdav1d", | |
+ .long_name = NULL_IF_CONFIG_SMALL("dav1d AV1 decoder by VideoLAN"), | |
+ .type = AVMEDIA_TYPE_VIDEO, | |
+ .id = AV_CODEC_ID_AV1, | |
+ .priv_data_size = sizeof(Libdav1dContext), | |
+ .init = libdav1d_init, | |
+ .close = libdav1d_close, | |
+ .flush = libdav1d_flush, | |
+ .receive_frame = libdav1d_receive_frame, | |
+ .capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AUTO_THREADS, | |
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP | | |
+ FF_CODEC_CAP_SETS_PKT_DTS, | |
+ .priv_class = &libdav1d_class, | |
+ .wrapper_name = "libdav1d", | |
+};` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment