annotate libmpcodecs/vf_scale.h @ 36304:6f0ab9dd1429

Fix definition of sh->original_aspect. Since 0 is a valid aspect ratio, initialization must be different. This has been a bug in r36391.
author ib
date Sun, 04 Aug 2013 18:12:24 +0000
parents 53073a44a899
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30421
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
1 /*
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
2 * This file is part of MPlayer.
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
3 *
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
5 * it under the terms of the GNU General Public License as published by
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
7 * (at your option) any later version.
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
8 *
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
12 * GNU General Public License for more details.
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
13 *
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
14 * You should have received a copy of the GNU General Public License along
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
17 */
10233
35f52ad860a0 vf_scale.h & related cleanup & some small warning fix by dominik
michael
parents:
diff changeset
18
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
19 #ifndef MPLAYER_VF_SCALE_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
20 #define MPLAYER_VF_SCALE_H
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 17566
diff changeset
21
31420
6325ecce171d Move more sws_ extern variable declarations to vf_scale.h.
diego
parents: 31416
diff changeset
22 extern int sws_chr_vshift;
6325ecce171d Move more sws_ extern variable declarations to vf_scale.h.
diego
parents: 31416
diff changeset
23 extern int sws_chr_hshift;
6325ecce171d Move more sws_ extern variable declarations to vf_scale.h.
diego
parents: 31416
diff changeset
24
6325ecce171d Move more sws_ extern variable declarations to vf_scale.h.
diego
parents: 31416
diff changeset
25 extern float sws_chr_gblur;
6325ecce171d Move more sws_ extern variable declarations to vf_scale.h.
diego
parents: 31416
diff changeset
26 extern float sws_lum_gblur;
6325ecce171d Move more sws_ extern variable declarations to vf_scale.h.
diego
parents: 31416
diff changeset
27 extern float sws_chr_sharpen;
6325ecce171d Move more sws_ extern variable declarations to vf_scale.h.
diego
parents: 31416
diff changeset
28 extern float sws_lum_sharpen;
6325ecce171d Move more sws_ extern variable declarations to vf_scale.h.
diego
parents: 31416
diff changeset
29
31416
14f43ed62015 Move sws_flags extern variable declaration to vf_scale.h.
diego
parents: 30421
diff changeset
30 extern int sws_flags;
14f43ed62015 Move sws_flags extern variable declaration to vf_scale.h.
diego
parents: 30421
diff changeset
31
10233
35f52ad860a0 vf_scale.h & related cleanup & some small warning fix by dominik
michael
parents:
diff changeset
32 struct SwsContext *sws_getContextFromCmdLine(int srcW, int srcH, int srcFormat, int dstW, int dstH, int dstFormat);
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 17566
diff changeset
33
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
34 #endif /* MPLAYER_VF_SCALE_H */