Mercurial > mplayer.hg
comparison libmpcodecs/vf_scale.c @ 10814:7f34ec540e0f
size presets: added the standard resolutions as proposed by Fabrice (ffmpeg)
author | alex |
---|---|
date | Fri, 05 Sep 2003 15:30:46 +0000 |
parents | 2294cbc41c34 |
children | f33f908ae085 |
comparison
equal
deleted
inserted
replaced
10813:f646e30ba119 | 10814:7f34ec540e0f |
---|---|
469 static struct size_preset { | 469 static struct size_preset { |
470 char* name; | 470 char* name; |
471 int w, h; | 471 int w, h; |
472 } vf_size_presets_defs[] = { | 472 } vf_size_presets_defs[] = { |
473 // TODO add more 'standard' resolutions | 473 // TODO add more 'standard' resolutions |
474 { "pal", 768, 576 }, | 474 { "qntsc", 352, 240 }, |
475 { "qpal", 352, 288 }, | |
476 { "ntsc", 720, 480 }, | |
477 { "pal", 720, 576 }, | |
478 { "sntsc", 640, 480 }, | |
479 { "spal", 768, 576 }, | |
475 { NULL, 0, 0} | 480 { NULL, 0, 0} |
476 }; | 481 }; |
477 | 482 |
478 #define ST_OFF(f) M_ST_OFF(struct size_preset,f) | 483 #define ST_OFF(f) M_ST_OFF(struct size_preset,f) |
479 static m_option_t vf_size_preset_fields[] = { | 484 static m_option_t vf_size_preset_fields[] = { |