40 #define AUD_HEADER_SIZE 12
41 #define AUD_CHUNK_PREAMBLE_SIZE 8
42 #define AUD_CHUNK_SIGNATURE 0x0000DEAF
44 #define FORM_TAG MKBETAG('F', 'O', 'R', 'M')
45 #define WVQA_TAG MKBETAG('W', 'V', 'Q', 'A')
46 #define VQHD_TAG MKBETAG('V', 'Q', 'H', 'D')
47 #define FINF_TAG MKBETAG('F', 'I', 'N', 'F')
48 #define SND0_TAG MKBETAG('S', 'N', 'D', '0')
49 #define SND1_TAG MKBETAG('S', 'N', 'D', '1')
50 #define SND2_TAG MKBETAG('S', 'N', 'D', '2')
51 #define VQFR_TAG MKBETAG('V', 'Q', 'F', 'R')
54 #define CINF_TAG MKBETAG('C', 'I', 'N', 'F')
55 #define CINH_TAG MKBETAG('C', 'I', 'N', 'H')
56 #define CIND_TAG MKBETAG('C', 'I', 'N', 'D')
57 #define PINF_TAG MKBETAG('P', 'I', 'N', 'F')
58 #define PINH_TAG MKBETAG('P', 'I', 'N', 'H')
59 #define PIND_TAG MKBETAG('P', 'I', 'N', 'D')
60 #define CMDS_TAG MKBETAG('C', 'M', 'D', 'S')
62 #define VQA_HEADER_SIZE 0x2A
63 #define VQA_FRAMERATE 15
64 #define VQA_PREAMBLE_SIZE 8
105 if ((field < 8000) || (field > 48000))
110 if (p->
buf[10] & 0xFC)
115 if (p->
buf[11] != 99)
137 if (header[11] == 99)
145 wsaud->
audio_bits = (((header[10] & 0x2) >> 1) + 1) * 8;
174 unsigned int chunk_size;
185 chunk_size =
AV_RL16(&preamble[0]);
187 if (ret != chunk_size)
219 unsigned char *header;
221 unsigned int chunk_tag;
222 unsigned int chunk_size;
283 chunk_tag =
AV_RB32(&scratch[0]);
284 chunk_size =
AV_RB32(&scratch[4]);
300 scratch[0], scratch[1],
301 scratch[2], scratch[3]);
318 unsigned int chunk_type;
319 unsigned int chunk_size;
323 chunk_type =
AV_RB32(&preamble[0]);
324 chunk_size =
AV_RB32(&preamble[4]);
325 skip_byte = chunk_size & 0x01;
337 if (ret != chunk_size) {
373 #if CONFIG_WSAUD_DEMUXER
383 #if CONFIG_WSVQA_DEMUXER