annotate libvo/osx_common.h @ 37171:29802bb119f6

Add new FFmpeg AMVF tag for AMV video.
author reimar
date Sat, 06 Sep 2014 19:51:59 +0000
parents 967b0f13715c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30414
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
1 /*
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
2 * This file is part of MPlayer.
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
3 *
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
5 * it under the terms of the GNU General Public License as published by
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
7 * (at your option) any later version.
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
8 *
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
12 * GNU General Public License for more details.
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
13 *
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
14 * You should have received a copy of the GNU General Public License along
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
17 */
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
18
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
19 #ifndef MPLAYER_OSX_COMMON_H
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
20 #define MPLAYER_OSX_COMMON_H
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
21
29531
6bd4c0c77eab Add osx_common.c and move the keycode conversion (OSX to MPlayer) there.
reimar
parents:
diff changeset
22 int convert_key(unsigned key, unsigned charcode);
29532
99b8d8d5c2d4 Move aspect change handling from vo_quartz to osx_common.
reimar
parents: 29531
diff changeset
23 void change_movie_aspect(float new_aspect);
99b8d8d5c2d4 Move aspect change handling from vo_quartz to osx_common.
reimar
parents: 29531
diff changeset
24 void config_movie_aspect(float config_aspect);
30922
7e3b047c51e7 Refactor OS X foreground process setting into a separate function.
diego
parents: 30414
diff changeset
25 void osx_foreground_hack(void);
30414
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
26
35092
cc8276116e95 gl: support screen redraw on OSX.
reimar
parents: 35087
diff changeset
27 extern void (*vo_osx_redraw_func)(void);
35087
078a00af881c Use OSX common layer in -vo gl.
reimar
parents: 30922
diff changeset
28 int vo_osx_init(void);
078a00af881c Use OSX common layer in -vo gl.
reimar
parents: 30922
diff changeset
29 int vo_osx_config(uint32_t, uint32_t, uint32_t);
078a00af881c Use OSX common layer in -vo gl.
reimar
parents: 30922
diff changeset
30 void vo_osx_uninit(void);
078a00af881c Use OSX common layer in -vo gl.
reimar
parents: 30922
diff changeset
31 void vo_osx_ontop(void);
078a00af881c Use OSX common layer in -vo gl.
reimar
parents: 30922
diff changeset
32 void vo_osx_fullscreen(void);
078a00af881c Use OSX common layer in -vo gl.
reimar
parents: 30922
diff changeset
33 int vo_osx_check_events(void);
078a00af881c Use OSX common layer in -vo gl.
reimar
parents: 30922
diff changeset
34 void vo_osx_update_xinerama_info(void);
35094
967b0f13715c Provide a swap buffer function for OS X.
reimar
parents: 35092
diff changeset
35 void vo_osx_swap_buffers(void);
35087
078a00af881c Use OSX common layer in -vo gl.
reimar
parents: 30922
diff changeset
36
30414
e5abaf769020 Add missing license header and multiple inclusion guards.
diego
parents: 29532
diff changeset
37 #endif /* MPLAYER_OSX_COMMON_H */