123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- #ifndef GST_VP8_RANGE_DECODER_H
- #define GST_VP8_RANGE_DECODER_H
- #include <glib.h>
- #include <gst/gstconfig.h>
- typedef struct _GstVp8RangeDecoder GstVp8RangeDecoder;
- typedef struct _GstVp8RangeDecoderState GstVp8RangeDecoderState;
- struct _GstVp8RangeDecoder {
- const guchar *buf;
- guint buf_size;
-
- gpointer _gst_reserved[GST_PADDING_LARGE];
- };
- struct _GstVp8RangeDecoderState {
- guint8 range;
- guint8 value;
- guint8 count;
- };
- gboolean
- gst_vp8_range_decoder_init (GstVp8RangeDecoder * rd, const guchar * buf,
- guint buf_size);
- gint
- gst_vp8_range_decoder_read (GstVp8RangeDecoder * rd, guint8 prob);
- gint
- gst_vp8_range_decoder_read_literal (GstVp8RangeDecoder * rd, gint bits);
- guint
- gst_vp8_range_decoder_get_pos (GstVp8RangeDecoder * rd);
- void
- gst_vp8_range_decoder_get_state (GstVp8RangeDecoder * rd,
- GstVp8RangeDecoderState * state);
- #endif
|