Mercurial > libavcodec.hg
comparison mpeg12data.h @ 1837:a4d9e8b4e2f8 libavcodec
AVCodec.supported_framerates
| author | michael |
|---|---|
| date | Thu, 26 Feb 2004 18:29:39 +0000 |
| parents | 8158e66f1f75 |
| children | 9de89f579086 |
comparison
equal
deleted
inserted
replaced
| 1836:8fa34b5b35bc | 1837:a4d9e8b4e2f8 |
|---|---|
| 352 { 0xe, 10 }, | 352 { 0xe, 10 }, |
| 353 { 0xd, 10 }, | 353 { 0xd, 10 }, |
| 354 { 0xc, 10 }, | 354 { 0xc, 10 }, |
| 355 }; | 355 }; |
| 356 | 356 |
| 357 #define MPEG1_FRAME_RATE_BASE 1001 | 357 static const AVRational frame_rate_tab[] = { |
| 358 | 358 { 0, 0}, |
| 359 static const int frame_rate_tab[16] = { | 359 {24000, 1001}, |
| 360 0, | 360 { 24, 1}, |
| 361 24000, | 361 { 25, 1}, |
| 362 24024, | 362 {30000, 1001}, |
| 363 25025, | 363 { 30, 1}, |
| 364 30000, | 364 { 50, 1}, |
| 365 30030, | 365 {60000, 1001}, |
| 366 50050, | 366 { 60, 1}, |
| 367 60000, | |
| 368 60060, | |
| 369 // Xing's 15fps: (9) | 367 // Xing's 15fps: (9) |
| 370 15015, | 368 { 15, 1}, |
| 371 // libmpeg3's "Unofficial economy rates": (10-13) | 369 // libmpeg3's "Unofficial economy rates": (10-13) |
| 372 5005, | 370 { 5, 1}, |
| 373 10010, | 371 { 10, 1}, |
| 374 12012, | 372 { 12, 1}, |
| 375 15015, | 373 { 15, 1}, |
| 376 // random, just to avoid segfault !never encode these | 374 { 0, 0}, |
| 377 25025, | |
| 378 25025, | |
| 379 }; | 375 }; |
| 380 | 376 |
| 381 static const uint8_t non_linear_qscale[32] = { | 377 static const uint8_t non_linear_qscale[32] = { |
| 382 0, 1, 2, 3, 4, 5, 6, 7, | 378 0, 1, 2, 3, 4, 5, 6, 7, |
| 383 8,10,12,14,16,18,20,22, | 379 8,10,12,14,16,18,20,22, |
