3 * Copyright (C) 2011 Einar Rünkaru <einarry at smail dot ee>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 * Default presets for format
41 static struct formatpresets format_presets[] = {
42 { N_("1080P/60"), 2, 2, 48000, 1, 1, 60000.0 / 1001,
43 1920,1080, 16,9, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
44 { N_("1080P/24"), 6, 6, 48000, 1, 1, 24,
45 1920,1080, 16,9, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
46 { N_("1080I"), 2, 2, 48000, 1, 1, 30000.0 / 1001,
47 1920,1080, 16,9, ILACE_MODE_BOTTOM_FIRST, BC_YUVA8888 },
48 { N_("720P/60"), 2, 2, 48000, 1, 1, 60000.0 / 1001,
49 1280,720, 16,9, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
50 { N_("PAL 576I - DV(D)"), 2, 2, 48000, 1, 1, 25,
51 720,576, 4,3, ILACE_MODE_BOTTOM_FIRST, BC_YUVA8888 },
52 { N_("NTSC 480P - DV(D)"), 2, 2, 48000, 1, 1, 60000.0 / 1001,
53 720,480, 4,3, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
54 { N_("NTSC 480I - DV(D)"), 2, 2, 48000, 1, 1, 30000.0 / 1001,
55 720,480, 4,3, ILACE_MODE_BOTTOM_FIRST, BC_YUVA8888 },
56 { N_("YouTube"), 1, 1, 48000, 1, 1, 30000.0 / 1001,
57 424,318, 4,3, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
58 { N_("Half D-1 PAL"), 2, 2, 48000, 1, 1, 25,
59 360,288, 4,3, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
60 { N_("NTSC Half D-1"), 2, 2, 48000, 1, 1, 30000.0 / 1001,
61 360,240, 4,3, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
62 { N_("Internet"), 1, 1, 22050, 1, 1, 15,
63 320,240, 4,3, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
64 { N_("CD Audio"), 2, 2, 44100, 1, 0, 30000.0 / 1001,
65 720,480, 4,3, ILACE_MODE_NOTINTERLACED, BC_RGBA8888 },
66 { N_("DAT Audio"), 2, 2, 48000, 1, 0, 30000.0 / 1001,
67 720,480, 4,3, ILACE_MODE_NOTINTERLACED, BC_RGBA8888 },
71 #define MAX_NUM_PRESETS (sizeof(format_presets) / sizeof(struct formatpresets))