author | sandman <sandman> | 2002-08-01 21:18:11 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-08-01 21:18:11 (UTC) |
commit | 54eb82d90a4ee254c0abb6d33937e76aeb32ddf1 (patch) (unidiff) | |
tree | e9628916c721262232efc3314a8ccd29613a7189 /noncore/multimedia/opieplayer2/nullvideo.c | |
parent | c80b2060a6f051f16690db4b8f0ccbc7dde84ec5 (diff) | |
download | opie-54eb82d90a4ee254c0abb6d33937e76aeb32ddf1.zip opie-54eb82d90a4ee254c0abb6d33937e76aeb32ddf1.tar.gz opie-54eb82d90a4ee254c0abb6d33937e76aeb32ddf1.tar.bz2 |
video in qvfb works now with 0/90/180/270° rotation
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,40 +1,42 @@ | |||
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; |