提交 e13b7909 编写于 作者: H Hendrik Leppkes

Update dav1d to 0.9.0-26

上级 530320ac
/*
* Copyright © 2018, VideoLAN and dav1d authors
* Copyright © 2018-2021, VideoLAN and dav1d authors
* Copyright © 2018, Two Orioles, LLC
* All rights reserved.
*
......@@ -202,6 +202,35 @@ DAV1D_API void dav1d_close(Dav1dContext **c_out);
*/
DAV1D_API void dav1d_flush(Dav1dContext *c);
enum Dav1dEventFlags {
/**
* The last returned picture contains a reference to a new Sequence Header,
* either because it's the start of a new coded sequence, or the decoder was
* flushed before it was generated.
*/
DAV1D_EVENT_FLAG_NEW_SEQUENCE = 1 << 0,
/**
* The last returned picture contains a reference to a Sequence Header with
* new operating parameters information for the current coded sequence.
*/
DAV1D_EVENT_FLAG_NEW_OP_PARAMS_INFO = 1 << 1,
};
/**
* Fetch a combination of DAV1D_EVENT_FLAG_* event flags generated by the decoding
* process.
*
* @param c Input decoder instance.
* @param flags Where to write the flags.
*
* @return 0 on success, or < 0 (a negative DAV1D_ERR code) on error.
*
* @note Calling this function will clear all the event flags currently stored in
* the decoder.
*
*/
DAV1D_API int dav1d_get_event_flags(Dav1dContext *c, enum Dav1dEventFlags *flags);
# ifdef __cplusplus
}
# endif
......
/*
* Copyright © 2018, VideoLAN and dav1d authors
* Copyright © 2018-2020, VideoLAN and dav1d authors
* Copyright © 2018, Two Orioles, LLC
* All rights reserved.
*
......
/*
* Copyright © 2018, VideoLAN and dav1d authors
* Copyright © 2018-2020, VideoLAN and dav1d authors
* Copyright © 2018, Two Orioles, LLC
* All rights reserved.
*
......
......@@ -28,7 +28,7 @@
#define DAV1D_VERSION_H
#define DAV1D_API_VERSION_MAJOR 5
#define DAV1D_API_VERSION_MINOR 0
#define DAV1D_API_VERSION_PATCH 1
#define DAV1D_API_VERSION_MINOR 1
#define DAV1D_API_VERSION_PATCH 0
#endif /* DAV1D_VERSION_H */
......@@ -4,6 +4,6 @@ includedir=${prefix}/include
Name: libdav1d
Description: AV1 decoding library
Version: 0.8.2
Version: 0.9.0
Libs: -L${libdir} -ldav1d
Cflags: -I${includedir}
/*
* Copyright © 2018, VideoLAN and dav1d authors
* Copyright © 2018-2021, VideoLAN and dav1d authors
* Copyright © 2018, Two Orioles, LLC
* All rights reserved.
*
......@@ -202,6 +202,35 @@ DAV1D_API void dav1d_close(Dav1dContext **c_out);
*/
DAV1D_API void dav1d_flush(Dav1dContext *c);
enum Dav1dEventFlags {
/**
* The last returned picture contains a reference to a new Sequence Header,
* either because it's the start of a new coded sequence, or the decoder was
* flushed before it was generated.
*/
DAV1D_EVENT_FLAG_NEW_SEQUENCE = 1 << 0,
/**
* The last returned picture contains a reference to a Sequence Header with
* new operating parameters information for the current coded sequence.
*/
DAV1D_EVENT_FLAG_NEW_OP_PARAMS_INFO = 1 << 1,
};
/**
* Fetch a combination of DAV1D_EVENT_FLAG_* event flags generated by the decoding
* process.
*
* @param c Input decoder instance.
* @param flags Where to write the flags.
*
* @return 0 on success, or < 0 (a negative DAV1D_ERR code) on error.
*
* @note Calling this function will clear all the event flags currently stored in
* the decoder.
*
*/
DAV1D_API int dav1d_get_event_flags(Dav1dContext *c, enum Dav1dEventFlags *flags);
# ifdef __cplusplus
}
# endif
......
/*
* Copyright © 2018, VideoLAN and dav1d authors
* Copyright © 2018-2020, VideoLAN and dav1d authors
* Copyright © 2018, Two Orioles, LLC
* All rights reserved.
*
......
/*
* Copyright © 2018, VideoLAN and dav1d authors
* Copyright © 2018-2020, VideoLAN and dav1d authors
* Copyright © 2018, Two Orioles, LLC
* All rights reserved.
*
......
......@@ -28,7 +28,7 @@
#define DAV1D_VERSION_H
#define DAV1D_API_VERSION_MAJOR 5
#define DAV1D_API_VERSION_MINOR 0
#define DAV1D_API_VERSION_PATCH 1
#define DAV1D_API_VERSION_MINOR 1
#define DAV1D_API_VERSION_PATCH 0
#endif /* DAV1D_VERSION_H */
......@@ -4,6 +4,6 @@ includedir=${prefix}/include
Name: libdav1d
Description: AV1 decoding library
Version: 0.8.2
Version: 0.9.0
Libs: -L${libdir} -ldav1d
Cflags: -I${includedir}
DAV1D 0.8.2
DAV1D 0.9.0-26-gb52be25
GMP 6.2.1
NETTLE 3.7.1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册