Mercurial > libavcodec.hg
comparison dvdata.h @ 7615:290fd3ae1219 libavcodec
Making the number of blocks per macroblock dependent on the DV stream
specification
author | romansh |
---|---|
date | Tue, 19 Aug 2008 16:01:41 +0000 |
parents | 1afa1171b7b2 |
children | 685ef77c9fe5 |
comparison
equal
deleted
inserted
replaced
7614:1afa1171b7b2 | 7615:290fd3ae1219 |
---|---|
47 int height; /* picture height in pixels */ | 47 int height; /* picture height in pixels */ |
48 int width; /* picture width in pixels */ | 48 int width; /* picture width in pixels */ |
49 AVRational sar[2]; /* sample aspect ratios for 4:3 and 16:9 */ | 49 AVRational sar[2]; /* sample aspect ratios for 4:3 and 16:9 */ |
50 const uint16_t *video_place; /* positions of all DV macro blocks */ | 50 const uint16_t *video_place; /* positions of all DV macro blocks */ |
51 enum PixelFormat pix_fmt; /* picture pixel format */ | 51 enum PixelFormat pix_fmt; /* picture pixel format */ |
52 | 52 int bpm; /* blocks per macroblock */ |
53 int audio_stride; /* size of audio_shuffle table */ | 53 int audio_stride; /* size of audio_shuffle table */ |
54 int audio_min_samples[3];/* min ammount of audio samples */ | 54 int audio_min_samples[3];/* min ammount of audio samples */ |
55 /* for 48Khz, 44.1Khz and 32Khz */ | 55 /* for 48Khz, 44.1Khz and 32Khz */ |
56 int audio_samples_dist[5];/* how many samples are supposed to be */ | 56 int audio_samples_dist[5];/* how many samples are supposed to be */ |
57 /* in each frame in a 5 frames window */ | 57 /* in each frame in a 5 frames window */ |
2532 .height = 480, | 2532 .height = 480, |
2533 .width = 720, | 2533 .width = 720, |
2534 .sar = {{10, 11}, {40, 33}}, | 2534 .sar = {{10, 11}, {40, 33}}, |
2535 .video_place = dv_place_411, | 2535 .video_place = dv_place_411, |
2536 .pix_fmt = PIX_FMT_YUV411P, | 2536 .pix_fmt = PIX_FMT_YUV411P, |
2537 .bpm = 6, | |
2537 .audio_stride = 90, | 2538 .audio_stride = 90, |
2538 .audio_min_samples = { 1580, 1452, 1053 }, /* for 48, 44.1 and 32Khz */ | 2539 .audio_min_samples = { 1580, 1452, 1053 }, /* for 48, 44.1 and 32Khz */ |
2539 .audio_samples_dist = { 1600, 1602, 1602, 1602, 1602 }, /* per SMPTE-314M */ | 2540 .audio_samples_dist = { 1600, 1602, 1602, 1602, 1602 }, /* per SMPTE-314M */ |
2540 .audio_shuffle = dv_audio_shuffle525, | 2541 .audio_shuffle = dv_audio_shuffle525, |
2541 }, | 2542 }, |
2549 .height = 576, | 2550 .height = 576, |
2550 .width = 720, | 2551 .width = 720, |
2551 .sar = {{59, 54}, {118, 81}}, | 2552 .sar = {{59, 54}, {118, 81}}, |
2552 .video_place = dv_place_420, | 2553 .video_place = dv_place_420, |
2553 .pix_fmt = PIX_FMT_YUV420P, | 2554 .pix_fmt = PIX_FMT_YUV420P, |
2555 .bpm = 6, | |
2554 .audio_stride = 108, | 2556 .audio_stride = 108, |
2555 .audio_min_samples = { 1896, 1742, 1264 }, /* for 48, 44.1 and 32Khz */ | 2557 .audio_min_samples = { 1896, 1742, 1264 }, /* for 48, 44.1 and 32Khz */ |
2556 .audio_samples_dist = { 1920, 1920, 1920, 1920, 1920 }, | 2558 .audio_samples_dist = { 1920, 1920, 1920, 1920, 1920 }, |
2557 .audio_shuffle = dv_audio_shuffle625, | 2559 .audio_shuffle = dv_audio_shuffle625, |
2558 }, | 2560 }, |
2566 .height = 576, | 2568 .height = 576, |
2567 .width = 720, | 2569 .width = 720, |
2568 .sar = {{59, 54}, {118, 81}}, | 2570 .sar = {{59, 54}, {118, 81}}, |
2569 .video_place = dv_place_411P, | 2571 .video_place = dv_place_411P, |
2570 .pix_fmt = PIX_FMT_YUV411P, | 2572 .pix_fmt = PIX_FMT_YUV411P, |
2573 .bpm = 6, | |
2571 .audio_stride = 108, | 2574 .audio_stride = 108, |
2572 .audio_min_samples = { 1896, 1742, 1264 }, /* for 48, 44.1 and 32Khz */ | 2575 .audio_min_samples = { 1896, 1742, 1264 }, /* for 48, 44.1 and 32Khz */ |
2573 .audio_samples_dist = { 1920, 1920, 1920, 1920, 1920 }, | 2576 .audio_samples_dist = { 1920, 1920, 1920, 1920, 1920 }, |
2574 .audio_shuffle = dv_audio_shuffle625, | 2577 .audio_shuffle = dv_audio_shuffle625, |
2575 }, | 2578 }, |
2583 .height = 480, | 2586 .height = 480, |
2584 .width = 720, | 2587 .width = 720, |
2585 .sar = {{10, 11}, {40, 33}}, | 2588 .sar = {{10, 11}, {40, 33}}, |
2586 .video_place = dv_place_422_525, | 2589 .video_place = dv_place_422_525, |
2587 .pix_fmt = PIX_FMT_YUV422P, | 2590 .pix_fmt = PIX_FMT_YUV422P, |
2591 .bpm = 6, | |
2588 .audio_stride = 90, | 2592 .audio_stride = 90, |
2589 .audio_min_samples = { 1580, 1452, 1053 }, /* for 48, 44.1 and 32Khz */ | 2593 .audio_min_samples = { 1580, 1452, 1053 }, /* for 48, 44.1 and 32Khz */ |
2590 .audio_samples_dist = { 1600, 1602, 1602, 1602, 1602 }, /* per SMPTE-314M */ | 2594 .audio_samples_dist = { 1600, 1602, 1602, 1602, 1602 }, /* per SMPTE-314M */ |
2591 .audio_shuffle = dv_audio_shuffle525, | 2595 .audio_shuffle = dv_audio_shuffle525, |
2592 }, | 2596 }, |
2600 .height = 576, | 2604 .height = 576, |
2601 .width = 720, | 2605 .width = 720, |
2602 .sar = {{59, 54}, {118, 81}}, | 2606 .sar = {{59, 54}, {118, 81}}, |
2603 .video_place = dv_place_422_625, | 2607 .video_place = dv_place_422_625, |
2604 .pix_fmt = PIX_FMT_YUV422P, | 2608 .pix_fmt = PIX_FMT_YUV422P, |
2609 .bpm = 6, | |
2605 .audio_stride = 108, | 2610 .audio_stride = 108, |
2606 .audio_min_samples = { 1896, 1742, 1264 }, /* for 48, 44.1 and 32Khz */ | 2611 .audio_min_samples = { 1896, 1742, 1264 }, /* for 48, 44.1 and 32Khz */ |
2607 .audio_samples_dist = { 1920, 1920, 1920, 1920, 1920 }, | 2612 .audio_samples_dist = { 1920, 1920, 1920, 1920, 1920 }, |
2608 .audio_shuffle = dv_audio_shuffle625, | 2613 .audio_shuffle = dv_audio_shuffle625, |
2609 } | 2614 } |