view libtwamr/prmno.c @ 561:cf62fe9fac3a

gsmhr-cod2hex: read native endian by default Let's change gsmhr-* utilities to read *.cod and *.dec files in the local machine's native byte order by default, and support both -b and -l override options. This approach is the only sane one when we write *.cod and *.dec files in the local endian.
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 12 Feb 2025 00:04:33 +0000
parents f931e704adc5
children
line wrap: on
line source

/*
 * This module holds prmno[] and prmnofs[] tables that were
 * originally in bitno.tab in 3GPP reference source.
 */

#include "typedef.h"
#include "namespace.h"
#include "int_defs.h"

/* number of parameters per modes (values must be <= MAX_PRM_SIZE!) */
const Word16 prmno[9] = {
  PRMNO_MR475,
  PRMNO_MR515,
  PRMNO_MR59,
  PRMNO_MR67,
  PRMNO_MR74,
  PRMNO_MR795,
  PRMNO_MR102,
  PRMNO_MR122,
  PRMNO_MRDTX
};

/* number of parameters to first subframe per modes */
const Word16 prmnofsf[8] = {
  PRMNOFSF_MR475,
  PRMNOFSF_MR515,
  PRMNOFSF_MR59,
  PRMNOFSF_MR67,
  PRMNOFSF_MR74,
  PRMNOFSF_MR795,
  PRMNOFSF_MR102,
  PRMNOFSF_MR122
};