13const AacHcb *
const aacHcbTable[] = {
14 nullptr, aacHcb1Step1, aacHcb2Step1,
nullptr, aacHcb4Step1,
nullptr, aacHcb6Step1,
nullptr, aacHcb8Step1,
nullptr, aacHcb10Step1, aacHcb11Step1
17const AacHcb2Pair *
const aacHcb2PairTable[] = {
18 nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr, aacHcb6Step2,
nullptr, aacHcb8Step2,
nullptr, aacHcb10Step2, aacHcb11Step2
21const AacHcb2Quad *
const aacHcb2QuadTable[] = {
22 nullptr, aacHcb1Step2, aacHcb2Step2,
nullptr, aacHcb4Step2,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr
25const AacHcbBinPair *
const aacHcbBinTable[] = {
26 nullptr,
nullptr,
nullptr,
nullptr,
nullptr, aacHcb5,
nullptr, aacHcb7,
nullptr, aacHcb9,
nullptr,
nullptr
29const std::uint8_t aacHcbN[] = { 0, 5, 5, 0, 5, 0, 5, 0, 5, 0, 6, 5 };
35const int aacHcb2QuadTableSize[] = { 0, 114, 86, 0, 185, 0, 0, 0, 0, 0, 0, 0 };
36const int aacHcb2PairTableSize[] = { 0, 0, 0, 0, 0, 0, 126, 0, 83, 0, 210, 373 };
37const int aacHcbBinTableSize[] = { 0, 0, 0, 161, 0, 161, 0, 127, 0, 337, 0, 0 };
39const AacHcb aacHcb1Step1[] = {
80const AacHcb2Quad aacHcb1Step2[] = {
148 { 9, -1, 1, 0, -1 }, { 9, -1, 1, 0, -1 }, { 9, -1, 1, 0, -1 }, { 9, -1, 1, 0, -1 },
149 { 9, -1, -1, -1, 0 }, { 9, -1, -1, -1, 0 }, { 9, -1, -1, -1, 0 }, { 9, -1, -1, -1, 0 },
150 { 9, 0, -1, -1, -1 }, { 9, 0, -1, -1, -1 }, { 9, 0, -1, -1, -1 }, { 9, 0, -1, -1, -1 },
151 { 9, 0, 1, 1, 1 }, { 9, 0, 1, 1, 1 }, { 9, 0, 1, 1, 1 }, { 9, 0, 1, 1, 1 },
152 { 9, 1, 0, 1, -1 }, { 9, 1, 0, 1, -1 }, { 9, 1, 0, 1, -1 }, { 9, 1, 0, 1, -1 },
153 { 9, 1, 1, 0, 1 }, { 9, 1, 1, 0, 1 }, { 9, 1, 1, 0, 1 }, { 9, 1, 1, 0, 1 },
154 { 9, -1, 1, 0, 1 }, { 9, -1, 1, 0, 1 }, { 9, -1, 1, 0, 1 }, { 9, -1, 1, 0, 1 },
155 { 9, 1, 1, 1, 0 }, { 9, 1, 1, 1, 0 }, { 9, 1, 1, 1, 0 }, { 9, 1, 1, 1, 0 },
157 { 10, -1, -1, 0, 1 }, { 10, -1, -1, 0, 1 },
158 { 10, -1, 0, -1, -1 }, { 10, -1, 0, -1, -1 },
159 { 10, 1, 1, 0, -1 }, { 10, 1, 1, 0, -1 },
160 { 10, 1, 0, -1, -1 }, { 10, 1, 0, -1, -1 },
161 { 10, -1, 0, -1, 1 }, { 10, -1, 0, -1, 1 },
162 { 10, -1, -1, 0, -1 }, { 10, -1, -1, 0, -1 },
163 { 10, -1, 0, 1, 1 }, { 10, -1, 0, 1, 1 },
164 { 10, 1, 0, 1, 1 }, { 10, 1, 0, 1, 1 },
166 { 11, 1, -1, 1, -1 },
167 { 11, -1, 1, -1, 1 },
168 { 11, -1, 1, 1, -1 },
169 { 11, 1, -1, -1, 1 },
171 { 11, -1, -1, 1, 1 },
172 { 11, 1, 1, -1, -1 },
173 { 11, -1, -1, 1, -1 },
174 { 11, -1, -1, -1, -1 },
178 { 11, -1, 1, -1, -1 },
179 { 11, -1, -1, -1, 1 },
180 { 11, 1, -1, -1, -1 },
184const AacHcb aacHcb2Step1[] = {
229const AacHcb2Quad aacHcb2Step2[] = {
283 { 7, -1, -1, -1, 0 },
286 { 7, -1, 0, -1, 1 }, { 7, -1, 0, -1, 1 },
287 { 7, 1, -1, -1, 0 }, { 7, 1, -1, -1, 0 },
288 { 7, 1, 1, -1, 0 }, { 7, 1, 1, -1, 0 },
296 { 8, -1, -1, 0, -1 },
297 { 8, 0, -1, -1, -1 },
303 { 8, -1, 0, -1, -1 },
311 { 8, -1, 1, -1, 1 }, { 8, -1, 1, -1, 1 },
313 { 9, -1, -1, -1, -1 },
317 { 9, -1, -1, 1, -1 },
319 { 9, -1, 1, -1, -1 },
322 { 9, 1, -1, -1, -1 },
323 { 9, -1, -1, -1, 1 },
328const AacHcbBinQuad aacHcb3[] = {
329 { 0, { 1, 2, 0, 0 } },
330 { 1, { 0, 0, 0, 0 } },
331 { 0, { 1, 2, 0, 0 } },
332 { 0, { 2, 3, 0, 0 } },
333 { 0, { 3, 4, 0, 0 } },
334 { 0, { 4, 5, 0, 0 } },
335 { 0, { 5, 6, 0, 0 } },
336 { 0, { 6, 7, 0, 0 } },
337 { 0, { 7, 8, 0, 0 } },
338 { 1, { 1, 0, 0, 0 } },
339 { 1, { 0, 0, 0, 1 } },
340 { 1, { 0, 1, 0, 0 } },
341 { 1, { 0, 0, 1, 0 } },
342 { 0, { 4, 5, 0, 0 } },
343 { 0, { 5, 6, 0, 0 } },
344 { 0, { 6, 7, 0, 0 } },
345 { 0, { 7, 8, 0, 0 } },
346 { 1, { 1, 1, 0, 0 } },
347 { 1, { 0, 0, 1, 1 } },
348 { 0, { 6, 7, 0, 0 } },
349 { 0, { 7, 8, 0, 0 } },
350 { 0, { 8, 9, 0, 0 } },
351 { 0, { 9, 10, 0, 0 } },
352 { 0, { 10, 11, 0, 0 } },
353 { 0, { 11, 12, 0, 0 } },
354 { 1, { 0, 1, 1, 0 } },
355 { 1, { 0, 1, 0, 1 } },
356 { 1, { 1, 0, 1, 0 } },
357 { 1, { 0, 1, 1, 1 } },
358 { 1, { 1, 0, 0, 1 } },
359 { 1, { 1, 1, 1, 0 } },
360 { 0, { 6, 7, 0, 0 } },
361 { 0, { 7, 8, 0, 0 } },
362 { 0, { 8, 9, 0, 0 } },
363 { 0, { 9, 10, 0, 0 } },
364 { 0, { 10, 11, 0, 0 } },
365 { 0, { 11, 12, 0, 0 } },
366 { 1, { 1, 1, 1, 1 } },
367 { 1, { 1, 0, 1, 1 } },
368 { 1, { 1, 1, 0, 1 } },
369 { 0, { 9, 10, 0, 0 } },
370 { 0, { 10, 11, 0, 0 } },
371 { 0, { 11, 12, 0, 0 } },
372 { 0, { 12, 13, 0, 0 } },
373 { 0, { 13, 14, 0, 0 } },
374 { 0, { 14, 15, 0, 0 } },
375 { 0, { 15, 16, 0, 0 } },
376 { 0, { 16, 17, 0, 0 } },
377 { 0, { 17, 18, 0, 0 } },
378 { 1, { 2, 0, 0, 0 } },
379 { 1, { 0, 0, 0, 2 } },
380 { 1, { 0, 0, 1, 2 } },
381 { 1, { 2, 1, 0, 0 } },
382 { 1, { 1, 2, 1, 0 } },
383 { 0, { 13, 14, 0, 0 } },
384 { 0, { 14, 15, 0, 0 } },
385 { 0, { 15, 16, 0, 0 } },
386 { 0, { 16, 17, 0, 0 } },
387 { 0, { 17, 18, 0, 0 } },
388 { 0, { 18, 19, 0, 0 } },
389 { 0, { 19, 20, 0, 0 } },
390 { 0, { 20, 21, 0, 0 } },
391 { 0, { 21, 22, 0, 0 } },
392 { 0, { 22, 23, 0, 0 } },
393 { 0, { 23, 24, 0, 0 } },
394 { 0, { 24, 25, 0, 0 } },
395 { 0, { 25, 26, 0, 0 } },
396 { 1, { 0, 0, 2, 1 } },
397 { 1, { 0, 1, 2, 1 } },
398 { 1, { 1, 2, 0, 0 } },
399 { 1, { 0, 1, 1, 2 } },
400 { 1, { 2, 1, 1, 0 } },
401 { 1, { 0, 0, 2, 0 } },
402 { 1, { 0, 2, 1, 0 } },
403 { 1, { 0, 1, 2, 0 } },
404 { 1, { 0, 2, 0, 0 } },
405 { 1, { 0, 1, 0, 2 } },
406 { 1, { 2, 0, 1, 0 } },
407 { 1, { 1, 2, 1, 1 } },
408 { 1, { 0, 2, 1, 1 } },
409 { 1, { 1, 1, 2, 0 } },
410 { 1, { 1, 1, 2, 1 } },
411 { 0, { 11, 12, 0, 0 } },
412 { 0, { 12, 13, 0, 0 } },
413 { 0, { 13, 14, 0, 0 } },
414 { 0, { 14, 15, 0, 0 } },
415 { 0, { 15, 16, 0, 0 } },
416 { 0, { 16, 17, 0, 0 } },
417 { 0, { 17, 18, 0, 0 } },
418 { 0, { 18, 19, 0, 0 } },
419 { 0, { 19, 20, 0, 0 } },
420 { 0, { 20, 21, 0, 0 } },
421 { 0, { 21, 22, 0, 0 } },
422 { 1, { 1, 2, 0, 1 } },
423 { 1, { 1, 0, 2, 0 } },
424 { 1, { 1, 0, 2, 1 } },
425 { 1, { 0, 2, 0, 1 } },
426 { 1, { 2, 1, 1, 1 } },
427 { 1, { 1, 1, 1, 2 } },
428 { 1, { 2, 1, 0, 1 } },
429 { 1, { 1, 0, 1, 2 } },
430 { 1, { 0, 0, 2, 2 } },
431 { 1, { 0, 1, 2, 2 } },
432 { 1, { 2, 2, 1, 0 } },
433 { 1, { 1, 2, 2, 0 } },
434 { 1, { 1, 0, 0, 2 } },
435 { 1, { 2, 0, 0, 1 } },
436 { 1, { 0, 2, 2, 1 } },
437 { 0, { 7, 8, 0, 0 } },
438 { 0, { 8, 9, 0, 0 } },
439 { 0, { 9, 10, 0, 0 } },
440 { 0, { 10, 11, 0, 0 } },
441 { 0, { 11, 12, 0, 0 } },
442 { 0, { 12, 13, 0, 0 } },
443 { 0, { 13, 14, 0, 0 } },
444 { 1, { 2, 2, 0, 0 } },
445 { 1, { 1, 2, 2, 1 } },
446 { 1, { 1, 1, 0, 2 } },
447 { 1, { 2, 0, 1, 1 } },
448 { 1, { 1, 1, 2, 2 } },
449 { 1, { 2, 2, 1, 1 } },
450 { 1, { 0, 2, 2, 0 } },
451 { 1, { 0, 2, 1, 2 } },
452 { 0, { 6, 7, 0, 0 } },
453 { 0, { 7, 8, 0, 0 } },
454 { 0, { 8, 9, 0, 0 } },
455 { 0, { 9, 10, 0, 0 } },
456 { 0, { 10, 11, 0, 0 } },
457 { 0, { 11, 12, 0, 0 } },
458 { 1, { 1, 0, 2, 2 } },
459 { 1, { 2, 2, 0, 1 } },
460 { 1, { 2, 1, 2, 0 } },
461 { 1, { 2, 2, 2, 0 } },
462 { 1, { 0, 2, 2, 2 } },
463 { 1, { 2, 2, 2, 1 } },
464 { 1, { 2, 1, 2, 1 } },
465 { 1, { 1, 2, 1, 2 } },
466 { 1, { 1, 2, 2, 2 } },
467 { 0, { 3, 4, 0, 0 } },
468 { 0, { 4, 5, 0, 0 } },
469 { 0, { 5, 6, 0, 0 } },
470 { 1, { 0, 2, 0, 2 } },
471 { 1, { 2, 0, 2, 0 } },
472 { 1, { 1, 2, 0, 2 } },
473 { 0, { 3, 4, 0, 0 } },
474 { 0, { 4, 5, 0, 0 } },
475 { 0, { 5, 6, 0, 0 } },
476 { 1, { 2, 0, 2, 1 } },
477 { 1, { 2, 1, 1, 2 } },
478 { 1, { 2, 1, 0, 2 } },
479 { 0, { 3, 4, 0, 0 } },
480 { 0, { 4, 5, 0, 0 } },
481 { 0, { 5, 6, 0, 0 } },
482 { 1, { 2, 2, 2, 2 } },
483 { 1, { 2, 2, 1, 2 } },
484 { 1, { 2, 1, 2, 2 } },
485 { 1, { 2, 0, 1, 2 } },
486 { 1, { 2, 0, 0, 2 } },
487 { 0, { 1, 2, 0, 0 } },
488 { 1, { 2, 2, 0, 2 } },
489 { 1, { 2, 0, 2, 2 } }
492const AacHcb aacHcb4Step1[] = {
540const AacHcb2Quad aacHcb4Step2[] = {
575 { 7, 0, 1, 2, 1 }, { 7, 0, 1, 2, 1 },
594 { 8, 0, 1, 2, 0 }, { 8, 0, 1, 2, 0 },
595 { 8, 0, 2, 0, 1 }, { 8, 0, 2, 0, 1 },
596 { 8, 1, 0, 0, 2 }, { 8, 1, 0, 0, 2 },
597 { 8, 0, 0, 2, 1 }, { 8, 0, 0, 2, 1 },
598 { 8, 1, 0, 2, 0 }, { 8, 1, 0, 2, 0 },
599 { 8, 2, 0, 0, 0 }, { 8, 2, 0, 0, 0 },
600 { 8, 0, 0, 0, 2 }, { 8, 0, 0, 0, 2 },
606 { 9, 1, 2, 2, 1 }, { 9, 1, 2, 2, 1 }, { 9, 1, 2, 2, 1 }, { 9, 1, 2, 2, 1 },
607 { 9, 1, 2, 2, 1 }, { 9, 1, 2, 2, 1 }, { 9, 1, 2, 2, 1 }, { 9, 1, 2, 2, 1 },
608 { 9, 2, 2, 1, 1 }, { 9, 2, 2, 1, 1 }, { 9, 2, 2, 1, 1 }, { 9, 2, 2, 1, 1 },
609 { 9, 2, 2, 1, 1 }, { 9, 2, 2, 1, 1 }, { 9, 2, 2, 1, 1 }, { 9, 2, 2, 1, 1 },
610 { 9, 2, 1, 2, 1 }, { 9, 2, 1, 2, 1 }, { 9, 2, 1, 2, 1 }, { 9, 2, 1, 2, 1 },
611 { 9, 2, 1, 2, 1 }, { 9, 2, 1, 2, 1 }, { 9, 2, 1, 2, 1 }, { 9, 2, 1, 2, 1 },
612 { 9, 1, 1, 2, 2 }, { 9, 1, 1, 2, 2 }, { 9, 1, 1, 2, 2 }, { 9, 1, 1, 2, 2 },
613 { 9, 1, 1, 2, 2 }, { 9, 1, 1, 2, 2 }, { 9, 1, 1, 2, 2 }, { 9, 1, 1, 2, 2 },
614 { 9, 1, 2, 1, 2 }, { 9, 1, 2, 1, 2 }, { 9, 1, 2, 1, 2 }, { 9, 1, 2, 1, 2 },
615 { 9, 1, 2, 1, 2 }, { 9, 1, 2, 1, 2 }, { 9, 1, 2, 1, 2 }, { 9, 1, 2, 1, 2 },
616 { 9, 2, 1, 1, 2 }, { 9, 2, 1, 1, 2 }, { 9, 2, 1, 1, 2 }, { 9, 2, 1, 1, 2 },
617 { 9, 2, 1, 1, 2 }, { 9, 2, 1, 1, 2 }, { 9, 2, 1, 1, 2 }, { 9, 2, 1, 1, 2 },
619 { 10, 1, 2, 2, 0 }, { 10, 1, 2, 2, 0 }, { 10, 1, 2, 2, 0 }, { 10, 1, 2, 2, 0 },
620 { 10, 2, 2, 1, 0 }, { 10, 2, 2, 1, 0 }, { 10, 2, 2, 1, 0 }, { 10, 2, 2, 1, 0 },
621 { 10, 2, 1, 2, 0 }, { 10, 2, 1, 2, 0 }, { 10, 2, 1, 2, 0 }, { 10, 2, 1, 2, 0 },
622 { 10, 0, 2, 2, 1 }, { 10, 0, 2, 2, 1 }, { 10, 0, 2, 2, 1 }, { 10, 0, 2, 2, 1 },
623 { 10, 0, 1, 2, 2 }, { 10, 0, 1, 2, 2 }, { 10, 0, 1, 2, 2 }, { 10, 0, 1, 2, 2 },
624 { 10, 2, 2, 0, 1 }, { 10, 2, 2, 0, 1 }, { 10, 2, 2, 0, 1 }, { 10, 2, 2, 0, 1 },
625 { 10, 0, 2, 1, 2 }, { 10, 0, 2, 1, 2 }, { 10, 0, 2, 1, 2 }, { 10, 0, 2, 1, 2 },
626 { 10, 2, 0, 2, 1 }, { 10, 2, 0, 2, 1 }, { 10, 2, 0, 2, 1 }, { 10, 2, 0, 2, 1 },
627 { 10, 1, 0, 2, 2 }, { 10, 1, 0, 2, 2 }, { 10, 1, 0, 2, 2 }, { 10, 1, 0, 2, 2 },
628 { 10, 2, 2, 2, 1 }, { 10, 2, 2, 2, 1 }, { 10, 2, 2, 2, 1 }, { 10, 2, 2, 2, 1 },
629 { 10, 1, 2, 0, 2 }, { 10, 1, 2, 0, 2 }, { 10, 1, 2, 0, 2 }, { 10, 1, 2, 0, 2 },
630 { 10, 2, 0, 1, 2 }, { 10, 2, 0, 1, 2 }, { 10, 2, 0, 1, 2 }, { 10, 2, 0, 1, 2 },
631 { 10, 2, 1, 0, 2 }, { 10, 2, 1, 0, 2 }, { 10, 2, 1, 0, 2 }, { 10, 2, 1, 0, 2 },
632 { 10, 1, 2, 2, 2 }, { 10, 1, 2, 2, 2 }, { 10, 1, 2, 2, 2 }, { 10, 1, 2, 2, 2 },
634 { 11, 2, 1, 2, 2 }, { 11, 2, 1, 2, 2 },
635 { 11, 2, 2, 1, 2 }, { 11, 2, 2, 1, 2 },
636 { 11, 0, 2, 2, 0 }, { 11, 0, 2, 2, 0 },
637 { 11, 2, 2, 0, 0 }, { 11, 2, 2, 0, 0 },
638 { 11, 0, 0, 2, 2 }, { 11, 0, 0, 2, 2 },
639 { 11, 2, 0, 2, 0 }, { 11, 2, 0, 2, 0 },
640 { 11, 0, 2, 0, 2 }, { 11, 0, 2, 0, 2 },
641 { 11, 2, 0, 0, 2 }, { 11, 2, 0, 0, 2 },
642 { 11, 2, 2, 2, 2 }, { 11, 2, 2, 2, 2 },
643 { 11, 0, 2, 2, 2 }, { 11, 0, 2, 2, 2 },
644 { 11, 2, 2, 2, 0 }, { 11, 2, 2, 2, 0 },
650const AacHcbBinPair aacHcb5[] = {
814const AacHcb aacHcb6Step1[] = {
860const AacHcb2Pair aacHcb6Step2[] = {
905 { 7, 3, 2 }, { 7, 3, 2 },
914 { 8, -3, 2 }, { 8, -3, 2 },
915 { 8, 3, 3 }, { 8, 3, 3 },
930 { 9, -4, 2 }, { 9, -4, 2 }, { 9, -4, 2 }, { 9, -4, 2 },
931 { 9, -4, -2 }, { 9, -4, -2 }, { 9, -4, -2 }, { 9, -4, -2 },
932 { 9, 2, 4 }, { 9, 2, 4 }, { 9, 2, 4 }, { 9, 2, 4 },
933 { 9, -2, -4 }, { 9, -2, -4 }, { 9, -2, -4 }, { 9, -2, -4 },
934 { 9, -4, 0 }, { 9, -4, 0 }, { 9, -4, 0 }, { 9, -4, 0 },
935 { 9, 4, 2 }, { 9, 4, 2 }, { 9, 4, 2 }, { 9, 4, 2 },
936 { 9, 4, -2 }, { 9, 4, -2 }, { 9, 4, -2 }, { 9, 4, -2 },
937 { 9, -2, 4 }, { 9, -2, 4 }, { 9, -2, 4 }, { 9, -2, 4 },
938 { 9, 4, 0 }, { 9, 4, 0 }, { 9, 4, 0 }, { 9, 4, 0 },
939 { 9, 2, -4 }, { 9, 2, -4 }, { 9, 2, -4 }, { 9, 2, -4 },
940 { 9, 0, 4 }, { 9, 0, 4 }, { 9, 0, 4 }, { 9, 0, 4 },
941 { 10, -3, -4 }, { 10, -3, -4 },
942 { 10, -3, 4 }, { 10, -3, 4 },
943 { 10, 3, -4 }, { 10, 3, -4 },
944 { 10, 4, -3 }, { 10, 4, -3 },
945 { 10, 3, 4 }, { 10, 3, 4 },
946 { 10, 4, 3 }, { 10, 4, 3 },
947 { 10, -4, 3 }, { 10, -4, 3 },
948 { 10, -4, -3 }, { 10, -4, -3 },
955const AacHcbBinPair aacHcb7[] = {
1085const AacHcb aacHcb8Step1[] = {
1135const AacHcb2Pair aacHcb8Step2[] = {
1182 { 7, 6, 1 }, { 7, 6, 1 },
1183 { 7, 1, 6 }, { 7, 1, 6 },
1200 { 8, 1, 7 }, { 8, 1, 7 }, { 8, 1, 7 }, { 8, 1, 7 },
1201 { 8, 5, 6 }, { 8, 5, 6 }, { 8, 5, 6 }, { 8, 5, 6 },
1202 { 8, 3, 7 }, { 8, 3, 7 }, { 8, 3, 7 }, { 8, 3, 7 },
1203 { 9, 6, 6 }, { 9, 6, 6 },
1204 { 9, 7, 4 }, { 9, 7, 4 },
1205 { 9, 6, 0 }, { 9, 6, 0 },
1206 { 9, 4, 7 }, { 9, 4, 7 },
1207 { 9, 0, 6 }, { 9, 0, 6 },
1208 { 9, 7, 5 }, { 9, 7, 5 },
1209 { 9, 7, 6 }, { 9, 7, 6 },
1210 { 9, 6, 7 }, { 9, 6, 7 },
1217const AacHcbBinPair aacHcb9[] = {
1557const AacHcb aacHcb10Step1[] = {
1635const AacHcb2Pair aacHcb10Step2[] = {
1686 { 7, 4, 6 }, { 7, 4, 6 },
1713 { 8, 5, 7 }, { 8, 5, 7 },
1714 { 8, 8, 5 }, { 8, 8, 5 },
1715 { 8, 5, 8 }, { 8, 5, 8 },
1746 { 9, 6, 9 }, { 9, 6, 9 },
1747 { 9, 8, 0 }, { 9, 8, 0 },
1748 { 9, 4, 10 }, { 9, 4, 10 },
1749 { 9, 7, 0 }, { 9, 7, 0 },
1750 { 9, 11, 2 }, { 9, 11, 2 },
1793 { 10, 12, 6 }, { 10, 12, 6 }, { 10, 12, 6 }, { 10, 12, 6 },
1794 { 10, 2, 12 }, { 10, 2, 12 }, { 10, 2, 12 }, { 10, 2, 12 },
1795 { 10, 8, 10 }, { 10, 8, 10 }, { 10, 8, 10 }, { 10, 8, 10 },
1796 { 11, 9, 10 }, { 11, 9, 10 },
1797 { 11, 1, 12 }, { 11, 1, 12 },
1798 { 11, 11, 8 }, { 11, 11, 8 },
1799 { 11, 12, 7 }, { 11, 12, 7 },
1800 { 11, 7, 11 }, { 11, 7, 11 },
1801 { 11, 5, 12 }, { 11, 5, 12 },
1802 { 11, 6, 12 }, { 11, 6, 12 },
1803 { 11, 10, 9 }, { 11, 10, 9 },
1804 { 11, 8, 11 }, { 11, 8, 11 },
1805 { 11, 12, 8 }, { 11, 12, 8 },
1806 { 11, 0, 10 }, { 11, 0, 10 },
1807 { 11, 7, 12 }, { 11, 7, 12 },
1808 { 11, 11, 0 }, { 11, 11, 0 },
1809 { 11, 10, 10 }, { 11, 10, 10 },
1810 { 11, 11, 9 }, { 11, 11, 9 },
1811 { 11, 11, 10 }, { 11, 11, 10 },
1812 { 11, 0, 11 }, { 11, 0, 11 },
1813 { 11, 11, 11 }, { 11, 11, 11 },
1814 { 11, 9, 11 }, { 11, 9, 11 },
1815 { 11, 10, 11 }, { 11, 10, 11 },
1816 { 11, 12, 0 }, { 11, 12, 0 },
1817 { 11, 8, 12 }, { 11, 8, 12 },
1828const AacHcb aacHcb11Step1[] = {
1886const AacHcb2Pair aacHcb11Step2[] = {
1908 { 6, 3, 3 }, { 6, 3, 3 },
1927 { 7, 3, 5 }, { 7, 3, 5 },
1928 { 7, 5, 4 }, { 7, 5, 4 },
1985 { 8, 16, 14 }, { 8, 16, 14 },
1986 { 8, 11, 16 }, { 8, 11, 16 },
1987 { 8, 7, 5 }, { 8, 7, 5 },
1988 { 8, 4, 8 }, { 8, 4, 8 },
1989 { 8, 6, 7 }, { 8, 6, 7 },
1990 { 8, 7, 6 }, { 8, 7, 6 },
1991 { 8, 0, 5 }, { 8, 0, 5 },
2046 { 9, 13, 3 }, { 9, 13, 3 },
2047 { 9, 2, 11 }, { 9, 2, 11 },
2048 { 9, 16, 0 }, { 9, 16, 0 },
2049 { 9, 5, 11 }, { 9, 5, 11 },
2050 { 9, 11, 5 }, { 9, 11, 5 },
2141 { 10, 9, 13 }, { 10, 9, 13 }, { 10, 9, 13 }, { 10, 9, 13 },
2142 { 10, 9, 12 }, { 10, 9, 12 }, { 10, 9, 12 }, { 10, 9, 12 },
2143 { 10, 12, 9 }, { 10, 12, 9 }, { 10, 12, 9 }, { 10, 12, 9 },
2144 { 10, 14, 8 }, { 10, 14, 8 }, { 10, 14, 8 }, { 10, 14, 8 },
2145 { 10, 10, 13 }, { 10, 10, 13 }, { 10, 10, 13 }, { 10, 10, 13 },
2146 { 10, 14, 9 }, { 10, 14, 9 }, { 10, 14, 9 }, { 10, 14, 9 },
2147 { 10, 12, 10 }, { 10, 12, 10 }, { 10, 12, 10 }, { 10, 12, 10 },
2148 { 10, 6, 15 }, { 10, 6, 15 }, { 10, 6, 15 }, { 10, 6, 15 },
2149 { 10, 7, 15 }, { 10, 7, 15 }, { 10, 7, 15 }, { 10, 7, 15 },
2151 { 11, 9, 14 }, { 11, 9, 14 },
2152 { 11, 15, 8 }, { 11, 15, 8 },
2153 { 11, 11, 11 }, { 11, 11, 11 },
2154 { 11, 11, 14 }, { 11, 11, 14 },
2155 { 11, 1, 15 }, { 11, 1, 15 },
2156 { 11, 10, 12 }, { 11, 10, 12 },
2157 { 11, 10, 14 }, { 11, 10, 14 },
2158 { 11, 13, 11 }, { 11, 13, 11 },
2159 { 11, 13, 10 }, { 11, 13, 10 },
2160 { 11, 11, 13 }, { 11, 11, 13 },
2161 { 11, 11, 12 }, { 11, 11, 12 },
2162 { 11, 8, 15 }, { 11, 8, 15 },
2163 { 11, 14, 11 }, { 11, 14, 11 },
2164 { 11, 13, 12 }, { 11, 13, 12 },
2165 { 11, 12, 13 }, { 11, 12, 13 },
2166 { 11, 15, 9 }, { 11, 15, 9 },
2167 { 11, 14, 10 }, { 11, 14, 10 },
2168 { 11, 10, 0 }, { 11, 10, 0 },
2169 { 11, 12, 11 }, { 11, 12, 11 },
2170 { 11, 9, 15 }, { 11, 9, 15 },
2171 { 11, 0, 10 }, { 11, 0, 10 },
2172 { 11, 12, 12 }, { 11, 12, 12 },
2173 { 11, 11, 0 }, { 11, 11, 0 },
2174 { 11, 12, 14 }, { 11, 12, 14 },
2175 { 11, 10, 15 }, { 11, 10, 15 },
2176 { 11, 13, 13 }, { 11, 13, 13 },
2177 { 11, 0, 13 }, { 11, 0, 13 },
2178 { 11, 14, 12 }, { 11, 14, 12 },
2179 { 11, 15, 10 }, { 11, 15, 10 },
2180 { 11, 15, 11 }, { 11, 15, 11 },
2181 { 11, 11, 15 }, { 11, 11, 15 },
2182 { 11, 14, 13 }, { 11, 14, 13 },
2183 { 11, 13, 0 }, { 11, 13, 0 },
2184 { 11, 0, 11 }, { 11, 0, 11 },
2185 { 11, 13, 14 }, { 11, 13, 14 },
2186 { 11, 15, 12 }, { 11, 15, 12 },
2187 { 11, 15, 13 }, { 11, 15, 13 },
2188 { 11, 12, 15 }, { 11, 12, 15 },
2189 { 11, 14, 0 }, { 11, 14, 0 },
2190 { 11, 14, 14 }, { 11, 14, 14 },
2191 { 11, 13, 15 }, { 11, 13, 15 },
2192 { 11, 12, 0 }, { 11, 12, 0 },
2193 { 11, 14, 15 }, { 11, 14, 15 },
2202const std::uint8_t aacHcbSf[][2] = {
2446const std::int8_t tHuffmanEnv15dB[120][2] = {
2447 { 1, 2 }, { -64, -65 }, { 3, 4 }, { -63, -66 },
2448 { 5, 6 }, { -62, -67 }, { 7, 8 }, { -61, -68 },
2449 { 9, 10 }, { -60, -69 }, { 11, 12 }, { -59, -70 },
2450 { 13, 14 }, { -58, -71 }, { 15, 16 }, { -57, -72 },
2451 { 17, 18 }, { -73, -56 }, { 19, 21 }, { -74, 20 },
2452 { -55, -75 }, { 22, 26 }, { 23, 24 }, { -54, -76 },
2453 { -77, 25 }, { -53, -78 }, { 27, 34 }, { 28, 29 },
2454 { -52, -79 }, { 30, 31 }, { -80, -51 }, { 32, 33 },
2455 { -83, -82 }, { -81, -50 }, { 35, 57 }, { 36, 40 },
2456 { 37, 38 }, { -88, -84 }, { -48, 39 }, { -90, -85 },
2457 { 41, 46 }, { 42, 43 }, { -49, -87 }, { 44, 45 },
2458 { -89, -86 }, {-124,-123 }, { 47, 50 }, { 48, 49 },
2459 {-122,-121 }, {-120,-119 }, { 51, 54 }, { 52, 53 },
2460 {-118,-117 }, {-116,-115 }, { 55, 56 }, {-114,-113 },
2461 {-112,-111 }, { 58, 89 }, { 59, 74 }, { 60, 67 },
2462 { 61, 64 }, { 62, 63 }, {-110,-109 }, {-108,-107 },
2463 { 65, 66 }, {-106,-105 }, {-104,-103 }, { 68, 71 },
2464 { 69, 70 }, {-102,-101 }, {-100, -99 }, { 72, 73 },
2465 { -98, -97 }, { -96, -95 }, { 75, 82 }, { 76, 79 },
2466 { 77, 78 }, { -94, -93 }, { -92, -91 }, { 80, 81 },
2467 { -47, -46 }, { -45, -44 }, { 83, 86 }, { 84, 85 },
2468 { -43, -42 }, { -41, -40 }, { 87, 88 }, { -39, -38 },
2469 { -37, -36 }, { 90, 105 }, { 91, 98 }, { 92, 95 },
2470 { 93, 94 }, { -35, -34 }, { -33, -32 }, { 96, 97 },
2471 { -31, -30 }, { -29, -28 }, { 99, 102 }, { 100, 101 },
2472 { -27, -26 }, { -25, -24 }, { 103, 104 }, { -23, -22 },
2473 { -21, -20 }, { 106, 113 }, { 107, 110 }, { 108, 109 },
2474 { -19, -18 }, { -17, -16 }, { 111, 112 }, { -15, -14 },
2475 { -13, -12 }, { 114, 117 }, { 115, 116 }, { -11, -10 },
2476 { -9, -8 }, { 118, 119 }, { -7, -6 }, { -5, -4 }
2479const std::int8_t fHuffmanEnv15dB[120][2] = {
2480 { 1, 2 }, { -64, -65 }, { 3, 4 }, { -63, -66 },
2481 { 5, 6 }, { -67, -62 }, { 7, 8 }, { -68, -61 },
2482 { 9, 10 }, { -69, -60 }, { 11, 13 }, { -70, 12 },
2483 { -59, -71 }, { 14, 16 }, { -58, 15 }, { -72, -57 },
2484 { 17, 19 }, { -73, 18 }, { -56, -74 }, { 20, 23 },
2485 { 21, 22 }, { -55, -75 }, { -54, -53 }, { 24, 27 },
2486 { 25, 26 }, { -76, -52 }, { -77, -51 }, { 28, 31 },
2487 { 29, 30 }, { -50, -78 }, { -79, -49 }, { 32, 36 },
2488 { 33, 34 }, { -48, -47 }, { -80, 35 }, { -81, -82 },
2489 { 37, 47 }, { 38, 41 }, { 39, 40 }, { -83, -46 },
2490 { -45, -84 }, { 42, 44 }, { -85, 43 }, { -44, -43 },
2491 { 45, 46 }, { -88, -87 }, { -86, -90 }, { 48, 66 },
2492 { 49, 56 }, { 50, 53 }, { 51, 52 }, { -92, -42 },
2493 { -41, -39 }, { 54, 55 }, {-105, -89 }, { -38, -37 },
2494 { 57, 60 }, { 58, 59 }, { -94, -91 }, { -40, -36 },
2495 { 61, 63 }, { -20, 62 }, {-115,-110 }, { 64, 65 },
2496 {-108,-107 }, {-101, -97 }, { 67, 89 }, { 68, 75 },
2497 { 69, 72 }, { 70, 71 }, { -95, -93 }, { -34, -27 },
2498 { 73, 74 }, { -22, -17 }, { -16,-124 }, { 76, 82 },
2499 { 77, 79 }, {-123, 78 }, {-122,-121 }, { 80, 81 },
2500 {-120,-119 }, {-118,-117 }, { 83, 86 }, { 84, 85 },
2501 {-116,-114 }, {-113,-112 }, { 87, 88 }, {-111,-109 },
2502 {-106,-104 }, { 90, 105 }, { 91, 98 }, { 92, 95 },
2503 { 93, 94 }, {-103,-102 }, {-100, -99 }, { 96, 97 },
2504 { -98, -96 }, { -35, -33 }, { 99, 102 }, { 100, 101 },
2505 { -32, -31 }, { -30, -29 }, { 103, 104 }, { -28, -26 },
2506 { -25, -24 }, { 106, 113 }, { 107, 110 }, { 108, 109 },
2507 { -23, -21 }, { -19, -18 }, { 111, 112 }, { -15, -14 },
2508 { -13, -12 }, { 114, 117 }, { 115, 116 }, { -11, -10 },
2509 { -9, -8 }, { 118, 119 }, { -7, -6 }, { -5, -4 }
2512const std::int8_t tHuffmanEnvBal15dB[48][2] = {
2513 { -64, 1 }, { -63, 2 }, { -65, 3 }, { -62, 4 },
2514 { -66, 5 }, { -61, 6 }, { -67, 7 }, { -60, 8 },
2515 { -68, 9 }, { 10, 11 }, { -69, -59 }, { 12, 13 },
2516 { -70, -58 }, { 14, 28 }, { 15, 21 }, { 16, 18 },
2517 { -57, 17 }, { -71, -56 }, { 19, 20 }, { -88, -87 },
2518 { -86, -85 }, { 22, 25 }, { 23, 24 }, { -84, -83 },
2519 { -82, -81 }, { 26, 27 }, { -80, -79 }, { -78, -77 },
2520 { 29, 36 }, { 30, 33 }, { 31, 32 }, { -76, -75 },
2521 { -74, -73 }, { 34, 35 }, { -72, -55 }, { -54, -53 },
2522 { 37, 41 }, { 38, 39 }, { -52, -51 }, { -50, 40 },
2523 { -49, -48 }, { 42, 45 }, { 43, 44 }, { -47, -46 },
2524 { -45, -44 }, { 46, 47 }, { -43, -42 }, { -41, -40 }
2527const std::int8_t fHuffmanEnvBal15dB[48][2] = {
2528 { -64, 1 }, { -65, 2 }, { -63, 3 }, { -66, 4 },
2529 { -62, 5 }, { -61, 6 }, { -67, 7 }, { -68, 8 },
2530 { -60, 9 }, { 10, 11 }, { -69, -59 }, { -70, 12 },
2531 { -58, 13 }, { 14, 17 }, { -71, 15 }, { -57, 16 },
2532 { -56, -73 }, { 18, 32 }, { 19, 25 }, { 20, 22 },
2533 { -72, 21 }, { -88, -87 }, { 23, 24 }, { -86, -85 },
2534 { -84, -83 }, { 26, 29 }, { 27, 28 }, { -82, -81 },
2535 { -80, -79 }, { 30, 31 }, { -78, -77 }, { -76, -75 },
2536 { 33, 40 }, { 34, 37 }, { 35, 36 }, { -74, -55 },
2537 { -54, -53 }, { 38, 39 }, { -52, -51 }, { -50, -49 },
2538 { 41, 44 }, { 42, 43 }, { -48, -47 }, { -46, -45 },
2539 { 45, 46 }, { -44, -43 }, { -42, 47 }, { -41, -40 }
2542const std::int8_t tHuffmanEnv30dB[62][2] = {
2543 { -64, 1 }, { -65, 2 }, { -63, 3 }, { -66, 4 },
2544 { -62, 5 }, { -67, 6 }, { -61, 7 }, { -68, 8 },
2545 { -60, 9 }, { 10, 11 }, { -69, -59 }, { 12, 14 },
2546 { -70, 13 }, { -71, -58 }, { 15, 18 }, { 16, 17 },
2547 { -72, -57 }, { -73, -74 }, { 19, 22 }, { -56, 20 },
2548 { -55, 21 }, { -54, -77 }, { 23, 31 }, { 24, 25 },
2549 { -75, -76 }, { 26, 27 }, { -78, -53 }, { 28, 29 },
2550 { -52, -95 }, { -94, 30 }, { -93, -92 }, { 32, 47 },
2551 { 33, 40 }, { 34, 37 }, { 35, 36 }, { -91, -90 },
2552 { -89, -88 }, { 38, 39 }, { -87, -86 }, { -85, -84 },
2553 { 41, 44 }, { 42, 43 }, { -83, -82 }, { -81, -80 },
2554 { 45, 46 }, { -79, -51 }, { -50, -49 }, { 48, 55 },
2555 { 49, 52 }, { 50, 51 }, { -48, -47 }, { -46, -45 },
2556 { 53, 54 }, { -44, -43 }, { -42, -41 }, { 56, 59 },
2557 { 57, 58 }, { -40, -39 }, { -38, -37 }, { 60, 61 },
2558 { -36, -35 }, { -34, -33 }
2561const std::int8_t fHuffmanEnv30dB[62][2] = {
2562 { -64, 1 }, { -65, 2 }, { -63, 3 }, { -66, 4 },
2563 { -62, 5 }, { -67, 6 }, { 7, 8 }, { -61, -68 },
2564 { 9, 10 }, { -60, -69 }, { 11, 12 }, { -59, -70 },
2565 { 13, 14 }, { -58, -71 }, { 15, 16 }, { -57, -72 },
2566 { 17, 19 }, { -56, 18 }, { -55, -73 }, { 20, 24 },
2567 { 21, 22 }, { -74, -54 }, { -53, 23 }, { -75, -76 },
2568 { 25, 30 }, { 26, 27 }, { -52, -51 }, { 28, 29 },
2569 { -77, -79 }, { -50, -49 }, { 31, 39 }, { 32, 35 },
2570 { 33, 34 }, { -78, -46 }, { -82, -88 }, { 36, 37 },
2571 { -83, -48 }, { -47, 38 }, { -86, -85 }, { 40, 47 },
2572 { 41, 44 }, { 42, 43 }, { -80, -44 }, { -43, -42 },
2573 { 45, 46 }, { -39, -87 }, { -84, -40 }, { 48, 55 },
2574 { 49, 52 }, { 50, 51 }, { -95, -94 }, { -93, -92 },
2575 { 53, 54 }, { -91, -90 }, { -89, -81 }, { 56, 59 },
2576 { 57, 58 }, { -45, -41 }, { -38, -37 }, { 60, 61 },
2577 { -36, -35 }, { -34, -33 }
2580const std::int8_t tHuffmanEnvBal30dB[24][2] = {
2581 { -64, 1 }, { -63, 2 }, { -65, 3 }, { -66, 4 },
2582 { -62, 5 }, { -61, 6 }, { -67, 7 }, { -68, 8 },
2583 { -60, 9 }, { 10, 16 }, { 11, 13 }, { -69, 12 },
2584 { -76, -75 }, { 14, 15 }, { -74, -73 }, { -72, -71 },
2585 { 17, 20 }, { 18, 19 }, { -70, -59 }, { -58, -57 },
2586 { 21, 22 }, { -56, -55 }, { -54, 23 }, { -53, -52 }
2589const std::int8_t fHuffmanEnvBal30dB[24][2] = {
2590 { -64, 1 }, { -65, 2 }, { -63, 3 }, { -66, 4 },
2591 { -62, 5 }, { -61, 6 }, { -67, 7 }, { -68, 8 },
2592 { -60, 9 }, { 10, 13 }, { -69, 11 }, { -59, 12 },
2593 { -58, -76 }, { 14, 17 }, { 15, 16 }, { -75, -74 },
2594 { -73, -72 }, { 18, 21 }, { 19, 20 }, { -71, -70 },
2595 { -57, -56 }, { 22, 23 }, { -55, -54 }, { -53, -52 }
2598const std::int8_t tHuffmanNoise30dB[62][2] = {
2599 { -64, 1 }, { -63, 2 }, { -65, 3 }, { -66, 4 },
2600 { -62, 5 }, { -67, 6 }, { 7, 8 }, { -61, -68 },
2601 { 9, 30 }, { 10, 15 }, { -60, 11 }, { -69, 12 },
2602 { 13, 14 }, { -59, -53 }, { -95, -94 }, { 16, 23 },
2603 { 17, 20 }, { 18, 19 }, { -93, -92 }, { -91, -90 },
2604 { 21, 22 }, { -89, -88 }, { -87, -86 }, { 24, 27 },
2605 { 25, 26 }, { -85, -84 }, { -83, -82 }, { 28, 29 },
2606 { -81, -80 }, { -79, -78 }, { 31, 46 }, { 32, 39 },
2607 { 33, 36 }, { 34, 35 }, { -77, -76 }, { -75, -74 },
2608 { 37, 38 }, { -73, -72 }, { -71, -70 }, { 40, 43 },
2609 { 41, 42 }, { -58, -57 }, { -56, -55 }, { 44, 45 },
2610 { -54, -52 }, { -51, -50 }, { 47, 54 }, { 48, 51 },
2611 { 49, 50 }, { -49, -48 }, { -47, -46 }, { 52, 53 },
2612 { -45, -44 }, { -43, -42 }, { 55, 58 }, { 56, 57 },
2613 { -41, -40 }, { -39, -38 }, { 59, 60 }, { -37, -36 },
2614 { -35, 61 }, { -34, -33 }
2617const std::int8_t tHuffmanNoiseBal30dB[24][2] = {
2618 { -64, 1 }, { -65, 2 }, { -63, 3 }, { 4, 9 },
2619 { -66, 5 }, { -62, 6 }, { 7, 8 }, { -76, -75 },
2620 { -74, -73 }, { 10, 17 }, { 11, 14 }, { 12, 13 },
2621 { -72, -71 }, { -70, -69 }, { 15, 16 }, { -68, -67 },
2622 { -61, -60 }, { 18, 21 }, { 19, 20 }, { -59, -58 },
2623 { -57, -56 }, { 22, 23 }, { -55, -54 }, { -53, -52 }
Contains all classes and functions of the TagInfo library.