Functions
gst_jpeg_bit_writer_frame_header
GstJpegBitWriterResult gst_jpeg_bit_writer_frame_header (GstJpegFrameHdr * frame_hdr, GstJpegMarker marker, guint8 * data, guint * size)
Generating the according JPEG bit stream by providing the frame header.
Parameters:
frame_hdr
–
the frame header of GstJpegFrameHdr to write
marker
–
the GstJpegMarker id for this segment
data
–
the bit stream generated by this frame header
size
–
the size in bytes of the input and output
Since : 1.26
gst_jpeg_bit_writer_huffman_table
GstJpegBitWriterResult gst_jpeg_bit_writer_huffman_table (GstJpegHuffmanTables * huff_tables, guint8 * data, guint * size)
Generating the according JPEG bit stream by providing the huffman tables.
Parameters:
huff_tables
–
the huffman tables of GstJpegHuffmanTables to write
data
–
the bit stream generated by the huffman tables
size
–
the size in bytes of the input and output
Since : 1.26
gst_jpeg_bit_writer_quantization_table
GstJpegBitWriterResult gst_jpeg_bit_writer_quantization_table (GstJpegQuantTables * quant_tables, guint8 * data, guint * size)
Generating the according JPEG bit stream by providing the quantization tables.
Parameters:
quant_tables
–
the quantization tables of GstJpegQuantTables to write
data
–
the bit stream generated by the quantization tables
size
–
the size in bytes of the input and output
Since : 1.26
gst_jpeg_bit_writer_restart_interval
GstJpegBitWriterResult gst_jpeg_bit_writer_restart_interval (guint16 interval, guint8 * data, guint * size)
Generating the according JPEG bit stream by providing the interval value.
Parameters:
interval
–
the interval value for restart
data
–
the bit stream generated by the interval value
size
–
the size in bytes of the input and output
Since : 1.26
gst_jpeg_bit_writer_scan_header
GstJpegBitWriterResult gst_jpeg_bit_writer_scan_header (GstJpegScanHdr * scan_hdr, guint8 * data, guint * size)
Generating the according JPEG bit stream by providing the scan header.
Parameters:
scan_hdr
–
data
–
the bit stream generated by this scan header
size
–
the size in bytes of the input and output
Since : 1.26
gst_jpeg_bit_writer_segment_with_data
GstJpegBitWriterResult gst_jpeg_bit_writer_segment_with_data (GstJpegMarker marker, guint8 * seg_data, guint seg_size, guint8 * data, guint * size)
Generating the bit stream for a JPEG segment.
Parameters:
marker
–
the GstJpegMarker id for this segment
seg_data
–
the user provided bit stream data
seg_size
–
the size of the segment data
data
–
the generated bit stream of this segment
size
–
the size in bytes of the input and output
Since : 1.26
Enumerations
GstJpegBitWriterResult
typedef enum { GST_JPEG_BIT_WRITER_OK, GST_JPEG_BIT_WRITER_INVALID_DATA, GST_JPEG_BIT_WRITER_NO_MORE_SPACE, GST_JPEG_BIT_WRITER_ERROR } GstJpegBitWriterResult;
The result of writing JPEG data into bit stream.
Members
GST_JPEG_BIT_WRITER_OK
(0)
–
The writing succeeded
GST_JPEG_BIT_WRITER_INVALID_DATA
(1)
–
The input data to write is invalid
GST_JPEG_BIT_WRITER_NO_MORE_SPACE
(2)
–
The output does not have enough size
GST_JPEG_BIT_WRITER_ERROR
(3)
–
An general error occurred when writing
Since : 1.24
The results of the search are