aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo/vo_sharedbuffer.h
diff options
context:
space:
mode:
authorGravatar Stefano Pigozzi <stefano.pigozzi@gmail.com>2012-08-15 10:13:18 +0200
committerGravatar Stefano Pigozzi <stefano.pigozzi@gmail.com>2012-08-15 22:01:39 +0200
commit6879d1162c13a39cdfc231e7052711db0926d590 (patch)
treeeaa27790f0183dfd0ab49d0b0c09ddae2ebe7941 /libvo/vo_sharedbuffer.h
parent4e2fe3724b3bcd61794cf4fca88adf383f5547d4 (diff)
vo_sharedbuffer: remove this VO
Since slave mode is not planned to be kept, this VO is useless and I'm removing it. This VO was useful for OSX GUIs. Since in cocoa you can't embed views in windows from other processes, this VO was writing to a sharedbuffer with mmap. The OSX GUIs would then read from the buffer and render the image with an external renderer. If in the future we will want to support GUIs we will need to reasearch the IOSurface framework. This allows to share kernel managed image data across processes and integrates well with OpenGL.
Diffstat (limited to 'libvo/vo_sharedbuffer.h')
-rw-r--r--libvo/vo_sharedbuffer.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/libvo/vo_sharedbuffer.h b/libvo/vo_sharedbuffer.h
deleted file mode 100644
index c25463aa0a..0000000000
--- a/libvo/vo_sharedbuffer.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * OSX Shared Buffer Video Output (extracted from mplayer's corevideo)
- *
- * This file is part of mplayer2.
- *
- * mplayer2 is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * mplayer2 is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with mplayer2. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef MPLAYER_VO_OSX_SHAREDBUFFER_H
-#define MPLAYER_VO_OSX_SHAREDBUFFER_H
-
-#import <Cocoa/Cocoa.h>
-
-// Protocol to communicate with the GUI
-@protocol MPlayerOSXVOProto
-- (int) startWithWidth: (bycopy int)width
- withHeight: (bycopy int)height
- withBytes: (bycopy int)bytes
- withAspect: (bycopy int)aspect;
-- (void) stop;
-- (void) render;
-- (void) toggleFullscreen;
-- (void) ontop;
-@end
-
-#endif /* MPLAYER_VO_OSX_SHAREDBUFFER_H */