Mercurial > mplayer.hg
comparison libvo/vo_direct3d.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 | a6a1c973de4e |
children | 85bb765747e9 |
comparison
equal
deleted
inserted
replaced
36516:b726218447c9 | 36517:5d3f93051de9 |
---|---|
22 #include <errno.h> | 22 #include <errno.h> |
23 #include <stdio.h> | 23 #include <stdio.h> |
24 #include <d3d9.h> | 24 #include <d3d9.h> |
25 #include "config.h" | 25 #include "config.h" |
26 #include "video_out.h" | 26 #include "video_out.h" |
27 #define NO_DRAW_FRAME | |
27 #include "video_out_internal.h" | 28 #include "video_out_internal.h" |
28 #include "fastmemcpy.h" | 29 #include "fastmemcpy.h" |
29 #include "mp_msg.h" | 30 #include "mp_msg.h" |
30 #include "aspect.h" | 31 #include "aspect.h" |
31 #include "w32_common.h" | 32 #include "w32_common.h" |
970 memcpy_pic(dst, my_src, w, h, uv_stride, stride[2]); | 971 memcpy_pic(dst, my_src, w, h, uv_stride, stride[2]); |
971 | 972 |
972 return 0; /* Success */ | 973 return 0; /* Success */ |
973 } | 974 } |
974 | 975 |
975 /** @brief libvo Callback: Unused function | |
976 */ | |
977 static int draw_frame(uint8_t *src[]) | |
978 { | |
979 mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>draw_frame called.\n"); | |
980 return VO_FALSE; | |
981 } | |
982 | |
983 /** @brief Maps MPlayer alpha to D3D | 976 /** @brief Maps MPlayer alpha to D3D |
984 * 0x0 -> transparent and discarded by alpha test | 977 * 0x0 -> transparent and discarded by alpha test |
985 * 0x1 -> 0xFF to become opaque | 978 * 0x1 -> 0xFF to become opaque |
986 * other alpha values are inverted +1 (2 = -2) | 979 * other alpha values are inverted +1 (2 = -2) |
987 * These values are then inverted again with | 980 * These values are then inverted again with |