annotate libvo/vo_dxr2.h @ 36112:e2e188ede1d1

Use better default for YUV mode autodetection. The lookup method is a lot faster, and if gamma is not used we use the same code as before that does not handle gamma at all.
author reimar
date Wed, 01 May 2013 19:06:51 +0000
parents 2821d9499621
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
31389
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
1 /*
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
2 * This file is part of MPlayer.
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
3 *
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
5 * it under the terms of the GNU General Public License as published by
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
7 * (at your option) any later version.
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
8 *
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
12 * GNU General Public License for more details.
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
13 *
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
14 * You should have received a copy of the GNU General Public License along
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
17 */
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
18
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
19 #ifndef MPLAYER_VO_DXR2_H
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
20 #define MPLAYER_VO_DXR2_H
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
21
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
22 #include "m_option.h"
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
23
32076
8ffbdf8429d8 Move dxr2_fd extern variable declaration to vo_dxr2.h, where it belongs.
diego
parents: 31389
diff changeset
24 extern int dxr2_fd;
8ffbdf8429d8 Move dxr2_fd extern variable declaration to vo_dxr2.h, where it belongs.
diego
parents: 31389
diff changeset
25
31389
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
26 extern const m_option_t dxr2_opts[];
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
27
32700
2821d9499621 move function declaration into vo_dxr2.h
ranma
parents: 32076
diff changeset
28 /* exported for ao_dxr2.c */
2821d9499621 move function declaration into vo_dxr2.h
ranma
parents: 32076
diff changeset
29 int write_dxr2(const unsigned char *data, int len);
2821d9499621 move function declaration into vo_dxr2.h
ranma
parents: 32076
diff changeset
30
31389
1d9bda52a78b Add header file for externally used dxr2_opts array.
diego
parents:
diff changeset
31 #endif /* MPLAYER_VO_DXR2_H */