Diffstat (limited to 'noncore/multimedia/opieplayer2/nullvideo.c') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/nullvideo.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/nullvideo.c b/noncore/multimedia/opieplayer2/nullvideo.c index b8b8eb3..8badb7b 100644 --- a/noncore/multimedia/opieplayer2/nullvideo.c +++ b/noncore/multimedia/opieplayer2/nullvideo.c | |||
@@ -21,13 +21,29 @@ typedef struct opie_frame_s opie_frame_t; | |||
21 | struct opie_frame_s { | 21 | struct opie_frame_s { |
22 | vo_frame_t frame; | 22 | vo_frame_t frame; |
23 | char* name; | 23 | char* name; |
24 | int version; | 24 | int version; |
25 | int m_width; | 25 | int m_width; |
26 | int m_height; | 26 | int m_height; |
27 | int m_ratio_code; | ||
28 | int format; | ||
29 | int flags; | ||
30 | int user_ratio; | ||
31 | |||
32 | int ideal_width; | ||
33 | int ideal_height; | ||
34 | int output_width, output_height; | ||
27 | uint8_t *chunk[3]; | 35 | uint8_t *chunk[3]; |
36 | uint8_t *rgb_dst; | ||
37 | int yuv_stride; | ||
38 | int stripe_height, stripe_inc; | ||
39 | |||
40 | int bytes_per_line; | ||
41 | uint8_t *data; | ||
42 | |||
43 | |||
28 | null_driver_t *output; | 44 | null_driver_t *output; |
29 | }; | 45 | }; |
30 | 46 | ||
31 | static uint32_t null_get_capabilities(vo_driver_t *self ){ | 47 | static uint32_t null_get_capabilities(vo_driver_t *self ){ |
32 | null_driver_t* this = (null_driver_t*)self; | 48 | null_driver_t* this = (null_driver_t*)self; |
33 | printf("capabilities\n"); | 49 | printf("capabilities\n"); |
@@ -213,6 +229,12 @@ int null_is_scaling( vo_driver_t* self ){ | |||
213 | return ((null_driver_t*)self)->m_is_scaling; | 229 | return ((null_driver_t*)self)->m_is_scaling; |
214 | } | 230 | } |
215 | void null_set_scaling( vo_driver_t* self, int scale ){ | 231 | void null_set_scaling( vo_driver_t* self, int scale ){ |
216 | ((null_driver_t*)self)->m_is_scaling = scale; | 232 | ((null_driver_t*)self)->m_is_scaling = scale; |
217 | } | 233 | } |
218 | 234 | ||
235 | void null_set_gui_width( vo_driver_t* self, int width ){ | ||
236 | |||
237 | } | ||
238 | void null_set_gui_height( vo_driver_t* self, int height ){ | ||
239 | |||
240 | } | ||