1#include <assert.h>
2
3#include "vl_decoder.h"
4#include "vl_mpeg12_bitstream.h"
5#include "vl_mpeg12_decoder.h"
6#include "vl_video_buffer.h"
7#include "vl_zscan.h"
8
9
10/*
11 * vl_decoder stubs
12 */
13bool
14vl_profile_supported(struct pipe_screen *screen,
15                     enum pipe_video_profile profile,
16                     enum pipe_video_entrypoint entrypoint)
17{
18   assert(0);
19   return false;
20}
21
22int
23vl_level_supported(struct pipe_screen *screen,
24                   enum pipe_video_profile profile)
25{
26   assert(0);
27   return 0;
28}
29
30struct pipe_video_codec *
31vl_create_decoder(struct pipe_context *pipe,
32                  const struct pipe_video_codec *templat)
33{
34   assert(0);
35   return NULL;
36}
37
38
39/*
40 * vl_video_buffer stubs
41 */
42const enum pipe_format *
43vl_video_buffer_formats(struct pipe_screen *screen, enum pipe_format format)
44{
45   assert(0);
46   return NULL;
47}
48
49boolean
50vl_video_buffer_is_format_supported(struct pipe_screen *screen,
51                                    enum pipe_format format,
52                                    enum pipe_video_profile profile,
53                                    enum pipe_video_entrypoint entrypoint)
54{
55   assert(0);
56   return false;
57}
58
59unsigned
60vl_video_buffer_max_size(struct pipe_screen *screen)
61{
62   assert(0);
63   return 0;
64}
65
66void
67vl_video_buffer_set_associated_data(struct pipe_video_buffer *vbuf,
68                                    struct pipe_video_codec *vcodec,
69                                    void *associated_data,
70                                    void (*destroy_associated_data)(void *))
71{
72   assert(0);
73}
74
75void *
76vl_video_buffer_get_associated_data(struct pipe_video_buffer *vbuf,
77                                    struct pipe_video_codec *vcodec)
78{
79   assert(0);
80   return NULL;
81}
82
83void
84vl_video_buffer_template(struct pipe_resource *templ,
85                         const struct pipe_video_buffer *tmpl,
86                         enum pipe_format resource_format,
87                         unsigned depth, unsigned array_size,
88                         unsigned usage, unsigned plane)
89{
90   assert(0);
91}
92
93struct pipe_video_buffer *
94vl_video_buffer_create(struct pipe_context *pipe,
95                       const struct pipe_video_buffer *tmpl)
96{
97   assert(0);
98   return NULL;
99}
100
101struct pipe_video_buffer *
102vl_video_buffer_create_ex2(struct pipe_context *pipe,
103                           const struct pipe_video_buffer *tmpl,
104                           struct pipe_resource *resources[VL_NUM_COMPONENTS])
105{
106   assert(0);
107   return NULL;
108}
109
110
111/*
112 * vl_mpeg12_bitstream stubs
113 */
114void
115vl_mpg12_bs_init(struct vl_mpg12_bs *bs, struct pipe_video_codec *decoder)
116{
117   assert(0);
118}
119
120void
121vl_mpg12_bs_decode(struct vl_mpg12_bs *bs,
122                   struct pipe_video_buffer *target,
123                   struct pipe_mpeg12_picture_desc *picture,
124                   unsigned num_buffers,
125                   const void * const *buffers,
126                   const unsigned *sizes)
127{
128   assert(0);
129}
130
131
132/*
133 * vl_mpeg12_decoder stubs
134 */
135struct pipe_video_codec *
136vl_create_mpeg12_decoder(struct pipe_context *pipe,
137                         const struct pipe_video_codec *templat)
138{
139   assert(0);
140   return NULL;
141}
142
143/*
144 * vl_zscan
145 */
146const int vl_zscan_normal[] = {0};
147const int vl_zscan_alternate[] = {0};
148