Mercurial > mplayer.hg
comparison libvo/vo_fbdev2.c @ 36517:5d3f93051de9
Remove empty draw_slice and draw_frame stubs.
Long term, draw_frame should be removed completely.
author | reimar |
---|---|
date | Sat, 18 Jan 2014 21:39:07 +0000 |
parents | 37a527d635ef |
children | 598ef7d90b78 |
comparison
equal
deleted
inserted
replaced
36516:b726218447c9 | 36517:5d3f93051de9 |
---|---|
30 #include <sys/ioctl.h> | 30 #include <sys/ioctl.h> |
31 #include <linux/fb.h> | 31 #include <linux/fb.h> |
32 | 32 |
33 #include "config.h" | 33 #include "config.h" |
34 #include "video_out.h" | 34 #include "video_out.h" |
35 #define NO_DRAW_FRAME | |
35 #include "video_out_internal.h" | 36 #include "video_out_internal.h" |
36 #include "fastmemcpy.h" | 37 #include "fastmemcpy.h" |
37 #include "sub/sub.h" | 38 #include "sub/sub.h" |
38 #include "mp_msg.h" | 39 #include "mp_msg.h" |
39 #include "aspect.h" | 40 #include "aspect.h" |
369 static void draw_osd(void) | 370 static void draw_osd(void) |
370 { | 371 { |
371 vo_draw_text(in_width, in_height, draw_alpha); | 372 vo_draw_text(in_width, in_height, draw_alpha); |
372 } | 373 } |
373 | 374 |
374 // all csp support stride | |
375 static int draw_frame(uint8_t *src[]) { return 1; } | |
376 | |
377 static int draw_slice(uint8_t *src[], int stride[], int w, int h, int x, int y) | 375 static int draw_slice(uint8_t *src[], int stride[], int w, int h, int x, int y) |
378 { | 376 { |
379 uint8_t *in = src[0]; | 377 uint8_t *in = src[0]; |
380 #ifdef USE_CONVERT2FB | 378 #ifdef USE_CONVERT2FB |
381 uint8_t *dest = center + (fb_line_len * y) + (x * fb_pixel_size); | 379 uint8_t *dest = center + (fb_line_len * y) + (x * fb_pixel_size); |