This file is indexed.

/usr/include/gstreamer-1.0/gst/codecparsers/gstvp8rangedecoder.h is in libgstreamer-plugins-bad1.0-dev 1.14.0-1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/*
 * gstvp8rangedecoder.h - VP8 range decoder interface
 *
 * Copyright (C) 2014 Intel Corporation
 *   Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
 * Boston, MA 02110-1301, USA.
 */

#ifndef GST_VP8_RANGE_DECODER_H
#define GST_VP8_RANGE_DECODER_H

#include <glib.h>
#include <gst/gstconfig.h>
#include <gst/codecparsers/codecparsers-prelude.h>

typedef struct _GstVp8RangeDecoder      GstVp8RangeDecoder;
typedef struct _GstVp8RangeDecoderState GstVp8RangeDecoderState;

/**
* GstVp8RangeDecoder:
* @buf: the original bitstream buffer start
* @buf_size: the original bitstream buffer size
*
* Range decoder.
*/
struct _GstVp8RangeDecoder {
  const guchar *buf;
  guint buf_size;

  /*< private >*/
  gpointer _gst_reserved[GST_PADDING_LARGE];
};

/**
* GstVp8RangeDecoderState:
* @range: current "Range" value
* @value: current "Value" value
* @count: number of bits left in "Value" for decoding
*
* Range decoder state.
*/
struct _GstVp8RangeDecoderState {
  guint8 range;
  guint8 value;
  guint8 count;
};

GST_CODEC_PARSERS_API
gboolean  gst_vp8_range_decoder_init (GstVp8RangeDecoder * rd,
                                      const guchar * buf,
                                      guint buf_size);

GST_CODEC_PARSERS_API
gint       gst_vp8_range_decoder_read (GstVp8RangeDecoder * rd, guint8 prob);

GST_CODEC_PARSERS_API
gint       gst_vp8_range_decoder_read_literal (GstVp8RangeDecoder * rd, gint bits);

GST_CODEC_PARSERS_API
guint      gst_vp8_range_decoder_get_pos (GstVp8RangeDecoder * rd);

GST_CODEC_PARSERS_API
void       gst_vp8_range_decoder_get_state (GstVp8RangeDecoder      * rd,
                                            GstVp8RangeDecoderState * state);

#endif /* GST_VP8_RANGE_DECODER_H */