37 16, 20, 24, 0, 0, 0, 0, 0,
38 0, 0, 0, 0, 0, 0, 0, 0,
42 1, 2, 3, 4, 3, 4, 5, 3, 4, 5, 4, 5, 6, 4, 5, 4,
43 5, 6, 5, 5, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
68 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
73 2, 1, 1, 2, 2, 2, 2, 1, 1, 2, 2, 1, 1
97 return (in & 8 ? 44100 : 48000) << (in & 7) ;
104 for (i = 0; i < 13; i++)
115 for (i = 0; i < 13; i++)
116 layout |=
thd_layout[i] * ((chanmap >> i) & 1);
129 int ratebits, channel_arrangement;
161 channel_arrangement =
get_bits(gb, 5);
175 channel_arrangement =
get_bits(gb, 5);
181 channel_arrangement =
get_bits(gb, 13);
222 const uint8_t **poutbuf,
int *poutbuf_size,
238 for (i = 0; i < buf_size; i++) {
240 if ((mp->
pc.
state & 0xfffffffe) == 0xf8726fba &&
268 if (mp->
pc.
index + buf_size < 2) {
292 sync_present = (
AV_RB32(buf + 4) & 0xfffffffe) == 0xf8726fba;
301 parity_bits ^= buf[p++];
302 parity_bits ^= buf[p++];
304 if (i < 0 || buf[p-2] & 0x80) {
305 parity_bits ^= buf[p++];
306 parity_bits ^= buf[p++];
310 if ((((parity_bits >> 4) ^ parity_bits) & 0xF) != 0xF) {
333 #if FF_API_REQUEST_CHANNELS
334 if (avctx->request_channels > 0 && avctx->request_channels <= 2 &&
350 #if FF_API_REQUEST_CHANNELS
351 if (avctx->request_channels > 0 && avctx->request_channels <= 2 &&
355 }
else if (avctx->request_channels > 0 &&
383 *poutbuf_size = buf_size;