2 * OSX Shared Buffer Video Output (extracted from mplayer's corevideo)
4 * This file is part of mplayer2.
6 * mplayer2 is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * mplayer2 is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with mplayer2. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef MPLAYER_VO_OSX_SHAREDBUFFER_H
21 #define MPLAYER_VO_OSX_SHAREDBUFFER_H
23 #import <Cocoa/Cocoa.h>
25 // Protocol to communicate with the GUI
26 @protocol MPlayerOSXVOProto
27 - (int) startWithWidth
: (bycopy
int)width
28 withHeight
: (bycopy
int)height
29 withBytes
: (bycopy
int)bytes
30 withAspect
: (bycopy
int)aspect
;
33 - (void) toggleFullscreen
;
37 #endif /* MPLAYER_VO_OSX_SHAREDBUFFER_H */