Diffstat (limited to 'noncore/multimedia/opieplayer2/nullvideo.c') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/nullvideo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/nullvideo.c b/noncore/multimedia/opieplayer2/nullvideo.c index 63d5752..3a18a40 100644 --- a/noncore/multimedia/opieplayer2/nullvideo.c +++ b/noncore/multimedia/opieplayer2/nullvideo.c | |||
@@ -1,64 +1,66 @@ | |||
1 | 1 | ||
2 | /*#include <xine.h>*/ | 2 | /*#include <xine.h>*/ |
3 | #include <stdlib.h> | 3 | #include <stdlib.h> |
4 | #include <stdio.h> | 4 | #include <stdio.h> |
5 | 5 | ||
6 | #include <math.h> | 6 | #include <math.h> |
7 | 7 | ||
8 | #include <xine/video_out.h> | 8 | #include <xine/video_out.h> |
9 | #include <xine/xine_internal.h> | 9 | #include <xine/xine_internal.h> |
10 | #include <xine/xineutils.h> | 10 | #include <xine/xineutils.h> |
11 | #include <xine/configfile.h> | 11 | #include <xine/configfile.h> |
12 | 12 | ||
13 | #include <pthread.h> | 13 | #include <pthread.h> |
14 | #include "alphablend.h" | 14 | #include "alphablend.h" |
15 | #include "yuv2rgb.h" | 15 | #include "yuv2rgb.h" |
16 | 16 | ||
17 | #define printf(x,...) | ||
18 | |||
17 | /* the caller for our event draw handler */ | 19 | /* the caller for our event draw handler */ |
18 | typedef void (*display_xine_frame_t) (void *user_data, uint8_t* frame, | 20 | typedef void (*display_xine_frame_t) (void *user_data, uint8_t* frame, |
19 | int width, int height,int bytes ); | 21 | int width, int height,int bytes ); |
20 | 22 | ||
21 | typedef struct null_driver_s null_driver_t; | 23 | typedef struct null_driver_s null_driver_t; |
22 | 24 | ||
23 | struct null_driver_s { | 25 | struct null_driver_s { |
24 | vo_driver_t vo_driver; | 26 | vo_driver_t vo_driver; |
25 | uint32_t m_capabilities; | 27 | uint32_t m_capabilities; |
26 | int m_show_video; | 28 | int m_show_video; |
27 | int m_video_fullscreen; | 29 | int m_video_fullscreen; |
28 | int m_is_scaling; | 30 | int m_is_scaling; |
29 | int depth, bpp, bytes_per_pixel; | 31 | int depth, bpp, bytes_per_pixel; |
30 | int yuv2rgb_mode; | 32 | int yuv2rgb_mode; |
31 | int yuv2rgb_swap; | 33 | int yuv2rgb_swap; |
32 | int zuv2rgb_gamma; | 34 | int zuv2rgb_gamma; |
33 | uint8_t *yuv2rgb_cmap; | 35 | uint8_t *yuv2rgb_cmap; |
34 | yuv2rgb_factory_t *yuv2rgb_factory; | 36 | yuv2rgb_factory_t *yuv2rgb_factory; |
35 | vo_overlay_t *overlay; | 37 | vo_overlay_t *overlay; |
36 | int user_ratio; | 38 | int user_ratio; |
37 | double output_scale_factor; | 39 | double output_scale_factor; |
38 | int last_frame_output_width; | 40 | int last_frame_output_width; |
39 | int last_frame_output_height; | 41 | int last_frame_output_height; |
40 | int gui_width; | 42 | int gui_width; |
41 | int gui_height; | 43 | int gui_height; |
42 | int gui_changed; | 44 | int gui_changed; |
43 | double display_ratio; | 45 | double display_ratio; |
44 | void* caller; | 46 | void* caller; |
45 | display_xine_frame_t frameDis; | 47 | display_xine_frame_t frameDis; |
46 | 48 | ||
47 | 49 | ||
48 | }; | 50 | }; |
49 | typedef struct opie_frame_s opie_frame_t; | 51 | typedef struct opie_frame_s opie_frame_t; |
50 | struct opie_frame_s { | 52 | struct opie_frame_s { |
51 | vo_frame_t frame; | 53 | vo_frame_t frame; |
52 | char* name; | 54 | char* name; |
53 | int version; | 55 | int version; |
54 | int width; | 56 | int width; |
55 | int height; | 57 | int height; |
56 | int ratio_code; | 58 | int ratio_code; |
57 | int format; | 59 | int format; |
58 | int flags; | 60 | int flags; |
59 | int user_ratio; | 61 | int user_ratio; |
60 | 62 | ||
61 | double ratio_factor; | 63 | double ratio_factor; |
62 | int ideal_width; | 64 | int ideal_width; |
63 | int ideal_height; | 65 | int ideal_height; |
64 | int output_width, output_height; | 66 | int output_width, output_height; |