gstvp9bitwriter

## Functions

### gst_vp9_bit_writer_frame_header

    GstVp9BitWriterResult
    gst_vp9_bit_writer_frame_header (GstVp9FrameHdr * frame_hdr,
                                     guint8 * data,
                                     guint * size)

Generating the according VP9 bit stream by providing the frame header.

Parameters:

`frame_hdr` –

the frame header of GstVp9FrameHdr to write

`data` –

the stream generated by the frame header

`size` –

the size in bytes of the input and output

Returns (GstVp9BitWriterResult) –

a GstVp9BitWriterResult

Since : 1.24

### gst_vp9_bit_writer_superframe_info

    GstVp9BitWriterResult
    gst_vp9_bit_writer_superframe_info (guint frame_num,
                                        gint * frame_size,
                                        guint8 * data,
                                        guint * size)

Appending the super frame info at the end of this stream. Note: the input data should already contain all frames' data in the same order of frame_size.

Parameters:

`frame_num` –

the frame number to composite this super frame

`frame_size` –

the size of each frame

`data` –

the stream data of this super frame

`size` –

the size in bytes of the input and output

Returns (GstVp9BitWriterResult) –

a GstVp9BitWriterResult

Since : 1.24

## Enumerations

### GstVp9BitWriterResult

    typedef enum
    {
      GST_VP9_BIT_WRITER_OK,
      GST_VP9_BIT_WRITER_INVALID_DATA,
      GST_VP9_BIT_WRITER_NO_MORE_SPACE,
      GST_VP9_BIT_WRITER_ERROR
    } GstVp9BitWriterResult;

The result of writing VP9 data into bit stream.

#### Members

`GST_VP9_BIT_WRITER_OK` (0) –

The writing succeeded

`GST_VP9_BIT_WRITER_INVALID_DATA` (1) –

The input data to write is invalid

`GST_VP9_BIT_WRITER_NO_MORE_SPACE` (2) –

The output does not have enough size

`GST_VP9_BIT_WRITER_ERROR` (3) –

An general error occurred when writing

Since : 1.24

The results of the search are