mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
codecparsers: vp8parser: Added frame type enums
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6959>
This commit is contained in:
parent
7c3ee65d60
commit
982bfe4f5d
1 changed files with 36 additions and 0 deletions
|
@ -34,6 +34,8 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GST_VP8_MAX_REF_FRAMES 3
|
||||
|
||||
typedef struct _GstVp8FrameHdr GstVp8FrameHdr;
|
||||
typedef struct _GstVp8QuantIndices GstVp8QuantIndices;
|
||||
typedef struct _GstVp8Segmentation GstVp8Segmentation;
|
||||
|
@ -57,6 +59,40 @@ typedef enum {
|
|||
GST_VP8_PARSER_ERROR,
|
||||
} GstVp8ParserResult;
|
||||
|
||||
/**
|
||||
* GstVp8FrameType:
|
||||
* @GST_VP8_KEY_FRAME: Key frame, only have intra blocks
|
||||
* @GST_VP8_INTER_FRAME: Inter frame, both intra and inter blocks
|
||||
*
|
||||
* VP8 frame types
|
||||
*
|
||||
* Since: 1.26
|
||||
*/
|
||||
typedef enum {
|
||||
GST_VP8_KEY_FRAME = 0,
|
||||
GST_VP8_INTER_FRAME = 1
|
||||
} GstVp8FrameType;
|
||||
|
||||
/**
|
||||
* GstVp8RefFrameType:
|
||||
* @GST_VP8_REF_FRAME_INTRA: Intra reference frame
|
||||
* @GST_VP8_REF_FRAME_LAST: Last Reference frame
|
||||
* @GST_VP8_REF_FRAME_GOLDEN: Golden Reference frame
|
||||
* @GST_VP8_REF_FRAME_ALTREF: Alternate Reference frame
|
||||
* @GST_VP8_REF_FRAME_MAX:
|
||||
*
|
||||
* Reference Frame types
|
||||
*
|
||||
* Since: 1.26
|
||||
*/
|
||||
typedef enum {
|
||||
GST_VP8_REF_FRAME_INTRA,
|
||||
GST_VP8_REF_FRAME_LAST,
|
||||
GST_VP8_REF_FRAME_GOLDEN,
|
||||
GST_VP8_REF_FRAME_ALTREF,
|
||||
GST_VP8_REF_FRAME_MAX,
|
||||
} GstVp8RefFrameType;
|
||||
|
||||
/**
|
||||
* GstVpQuantIndices:
|
||||
* @y_ac_qi: indicates the dequantization table index used for the
|
||||
|
|
Loading…
Reference in a new issue