comparison dvdata.h @ 1590:2d5dd2f9f760 libavcodec

* DV demuxer is now capable of decoding auxilary audio stream. So, everybody who still uses second streo track for dubbing can now export it. * void* -> DVDemuxContext* change (per Fabrice's suggestion). * -dv1394 capture now works in all modes.
author romansh
date Fri, 31 Oct 2003 22:26:26 +0000
parents e08df4d22d27
children 59f2fa833449
comparison
equal deleted inserted replaced
1589:eb26d190cf5a 1590:2d5dd2f9f760
35 int frame_rate; 35 int frame_rate;
36 int frame_rate_base; 36 int frame_rate_base;
37 int ltc_divisor; /* FPS from the LTS standpoint */ 37 int ltc_divisor; /* FPS from the LTS standpoint */
38 int height; /* picture height in pixels */ 38 int height; /* picture height in pixels */
39 int width; /* picture width in pixels */ 39 int width; /* picture width in pixels */
40 AVRational sar[2]; /* sample aspect ratios for 4:3 and 16:9 */
40 const uint16_t *video_place; /* positions of all DV macro blocks */ 41 const uint16_t *video_place; /* positions of all DV macro blocks */
41 enum PixelFormat pix_fmt; /* picture pixel format */ 42 enum PixelFormat pix_fmt; /* picture pixel format */
42 43
43 int audio_stride; /* size of audio_shuffle table */ 44 int audio_stride; /* size of audio_shuffle table */
44 int audio_min_samples[3];/* min ammount of audio samples */ 45 int audio_min_samples[3];/* min ammount of audio samples */
1291 .frame_rate = 30000, 1292 .frame_rate = 30000,
1292 .ltc_divisor = 30, 1293 .ltc_divisor = 30,
1293 .frame_rate_base = 1001, 1294 .frame_rate_base = 1001,
1294 .height = 480, 1295 .height = 480,
1295 .width = 720, 1296 .width = 720,
1297 .sar = {{72, 79}, {96, 79}},
1296 .video_place = dv_place_411, 1298 .video_place = dv_place_411,
1297 .pix_fmt = PIX_FMT_YUV411P, 1299 .pix_fmt = PIX_FMT_YUV411P,
1298 .audio_stride = 90, 1300 .audio_stride = 90,
1299 .audio_min_samples = { 1580, 1452, 1053 }, /* for 48, 44.1 and 32Khz */ 1301 .audio_min_samples = { 1580, 1452, 1053 }, /* for 48, 44.1 and 32Khz */
1300 .audio_samples_dist = { 1602, 1601, 1602, 1601, 1602 }, 1302 .audio_samples_dist = { 1602, 1601, 1602, 1601, 1602 },
1306 .frame_rate = 25, 1308 .frame_rate = 25,
1307 .frame_rate_base = 1, 1309 .frame_rate_base = 1,
1308 .ltc_divisor = 25, 1310 .ltc_divisor = 25,
1309 .height = 576, 1311 .height = 576,
1310 .width = 720, 1312 .width = 720,
1313 .sar = {{128, 117}, {512, 351}},
1311 .video_place = dv_place_420, 1314 .video_place = dv_place_420,
1312 .pix_fmt = PIX_FMT_YUV420P, 1315 .pix_fmt = PIX_FMT_YUV420P,
1313 .audio_stride = 108, 1316 .audio_stride = 108,
1314 .audio_min_samples = { 1896, 1742, 1264 }, /* for 48, 44.1 and 32Khz */ 1317 .audio_min_samples = { 1896, 1742, 1264 }, /* for 48, 44.1 and 32Khz */
1315 .audio_samples_dist = { 1920, 1920, 1920, 1920, 1920 }, 1318 .audio_samples_dist = { 1920, 1920, 1920, 1920, 1920 },
1321 .frame_rate = 25, 1324 .frame_rate = 25,
1322 .frame_rate_base = 1, 1325 .frame_rate_base = 1,
1323 .ltc_divisor = 25, 1326 .ltc_divisor = 25,
1324 .height = 576, 1327 .height = 576,
1325 .width = 720, 1328 .width = 720,
1329 .sar = {{128, 117}, {512, 351}},
1326 .video_place = dv_place_411P, 1330 .video_place = dv_place_411P,
1327 .pix_fmt = PIX_FMT_YUV411P, 1331 .pix_fmt = PIX_FMT_YUV411P,
1328 .audio_stride = 108, 1332 .audio_stride = 108,
1329 .audio_min_samples = { 1896, 1742, 1264 }, /* for 48, 44.1 and 32Khz */ 1333 .audio_min_samples = { 1896, 1742, 1264 }, /* for 48, 44.1 and 32Khz */
1330 .audio_samples_dist = { 1920, 1920, 1920, 1920, 1920 }, 1334 .audio_samples_dist = { 1920, 1920, 1920, 1920, 1920 },