• Home
  • Raw
  • Download

Lines Matching refs:codewords

152 static void nms_adpcm_block_pack_16 (const int16_t codewords [], uint16_t block [], int16_t rms) ;
153 static void nms_adpcm_block_pack_24 (const int16_t codewords [], uint16_t block [], int16_t rms) ;
154 static void nms_adpcm_block_pack_32 (const int16_t codewords [], uint16_t block [], int16_t rms) ;
156 static void nms_adpcm_block_unpack_16 (const uint16_t block [], int16_t codewords [], int16_t *rms)…
157 static void nms_adpcm_block_unpack_24 (const uint16_t block [], int16_t codewords [], int16_t *rms)…
158 static void nms_adpcm_block_unpack_32 (const uint16_t block [], int16_t codewords [], int16_t *rms)…
453 nms_adpcm_block_unpack_16 (const uint16_t block [], int16_t codewords [], int16_t *rms) in nms_adpcm_block_unpack_16() argument
466 codewords [k++] = (w >> 12) & 0xc ; in nms_adpcm_block_unpack_16()
467 codewords [k++] = (w >> 8) & 0xc ; in nms_adpcm_block_unpack_16()
468 codewords [k++] = (w >> 4) & 0xc ; in nms_adpcm_block_unpack_16()
469 codewords [k++] = w & 0xc ; in nms_adpcm_block_unpack_16()
486 nms_adpcm_block_unpack_24 (const uint16_t block [], int16_t codewords [], int16_t *rms) in nms_adpcm_block_unpack_24() argument
503 codewords [k++] = (w >> 12) & 0xe ; in nms_adpcm_block_unpack_24()
504 codewords [k++] = (w >> 8) & 0xe ; in nms_adpcm_block_unpack_24()
505 codewords [k++] = (w >> 4) & 0xe ; in nms_adpcm_block_unpack_24()
506 codewords [k++] = w & 0xe ; in nms_adpcm_block_unpack_24()
523 nms_adpcm_block_unpack_32 (const uint16_t block [], int16_t codewords [], int16_t *rms) in nms_adpcm_block_unpack_32() argument
529 codewords [k++] = (w >> 12) & 0xf ; in nms_adpcm_block_unpack_32()
530 codewords [k++] = (w >> 8) & 0xf ; in nms_adpcm_block_unpack_32()
531 codewords [k++] = (w >> 4) & 0xf ; in nms_adpcm_block_unpack_32()
532 codewords [k++] = w & 0xf ; in nms_adpcm_block_unpack_32()
547 nms_adpcm_block_pack_16 (const int16_t codewords [], uint16_t block [], int16_t rms) in nms_adpcm_block_pack_16() argument
552 { w = codewords [k++] << 12 ; in nms_adpcm_block_pack_16()
553 w |= codewords [k++] << 8 ; in nms_adpcm_block_pack_16()
554 w |= codewords [k++] << 4 ; in nms_adpcm_block_pack_16()
555 w |= codewords [k++] ; in nms_adpcm_block_pack_16()
556 w |= codewords [k++] << 10 ; in nms_adpcm_block_pack_16()
557 w |= codewords [k++] << 6 ; in nms_adpcm_block_pack_16()
558 w |= codewords [k++] << 2 ; in nms_adpcm_block_pack_16()
559 w |= codewords [k++] >> 2 ; in nms_adpcm_block_pack_16()
573 nms_adpcm_block_pack_24 (const int16_t codewords [], uint16_t block [], int16_t rms) in nms_adpcm_block_pack_24() argument
579 { w [0] = codewords [k++] << 12 ; in nms_adpcm_block_pack_24()
580 w [0] |= codewords [k++] << 8 ; in nms_adpcm_block_pack_24()
581 w [0] |= codewords [k++] << 4 ; in nms_adpcm_block_pack_24()
582 w [0] |= codewords [k++] ; in nms_adpcm_block_pack_24()
584 w [1] = codewords [k++] << 12 ; in nms_adpcm_block_pack_24()
585 w [1] |= codewords [k++] << 8 ; in nms_adpcm_block_pack_24()
586 w [1] |= codewords [k++] << 4 ; in nms_adpcm_block_pack_24()
587 w [1] |= codewords [k++] ; in nms_adpcm_block_pack_24()
589 w [2] = codewords [k++] << 12 ; in nms_adpcm_block_pack_24()
590 w [2] |= codewords [k++] << 8 ; in nms_adpcm_block_pack_24()
591 w [2] |= codewords [k++] << 4 ; in nms_adpcm_block_pack_24()
592 w [2] |= codewords [k++] ; in nms_adpcm_block_pack_24()
594 residual = codewords [k++] << 12 ; in nms_adpcm_block_pack_24()
595 residual |= codewords [k++] << 8 ; in nms_adpcm_block_pack_24()
596 residual |= codewords [k++] << 4 ; in nms_adpcm_block_pack_24()
597 residual |= codewords [k++] ; in nms_adpcm_block_pack_24()
620 nms_adpcm_block_pack_32 (const int16_t codewords [], uint16_t block [], int16_t rms) in nms_adpcm_block_pack_32() argument
625 { w = codewords [k++] << 12 ; in nms_adpcm_block_pack_32()
626 w |= codewords [k++] << 8 ; in nms_adpcm_block_pack_32()
627 w |= codewords [k++] << 4 ; in nms_adpcm_block_pack_32()
628 w |= codewords [k++] ; in nms_adpcm_block_pack_32()