mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
rtph261pay: fix indentation
This commit is contained in:
parent
2f016f3f9d
commit
19e7f188fa
1 changed files with 194 additions and 187 deletions
|
@ -146,21 +146,21 @@ typedef enum
|
||||||
#define MBA_WID 4
|
#define MBA_WID 4
|
||||||
/* [code, mask, nbits, mba] */
|
/* [code, mask, nbits, mba] */
|
||||||
static const guint16 mba_table[MBA_LEN][MBA_WID] = {
|
static const guint16 mba_table[MBA_LEN][MBA_WID] = {
|
||||||
{0x8000, 0x8000, 1, 1},
|
{0x8000, 0x8000, 1, 1},
|
||||||
{0x6000, 0xe000, 3, 2},
|
{0x6000, 0xe000, 3, 2},
|
||||||
{0x4000, 0xe000, 3, 3},
|
{0x4000, 0xe000, 3, 3},
|
||||||
{0x3000, 0xf000, 4, 4},
|
{0x3000, 0xf000, 4, 4},
|
||||||
{0x2000, 0xf000, 4, 5},
|
{0x2000, 0xf000, 4, 5},
|
||||||
{0x1800, 0xf800, 5, 6},
|
{0x1800, 0xf800, 5, 6},
|
||||||
{0x1000, 0xf800, 5, 7},
|
{0x1000, 0xf800, 5, 7},
|
||||||
{0x0e00, 0xfe00, 7, 8},
|
{0x0e00, 0xfe00, 7, 8},
|
||||||
{0x0c00, 0xfe00, 7, 9},
|
{0x0c00, 0xfe00, 7, 9},
|
||||||
{0x0b00, 0xff00, 8, 10},
|
{0x0b00, 0xff00, 8, 10},
|
||||||
{0x0a00, 0xff00, 8, 11},
|
{0x0a00, 0xff00, 8, 11},
|
||||||
{0x0900, 0xff00, 8, 12},
|
{0x0900, 0xff00, 8, 12},
|
||||||
{0x0800, 0xff00, 8, 13},
|
{0x0800, 0xff00, 8, 13},
|
||||||
{0x0700, 0xff00, 8, 14},
|
{0x0700, 0xff00, 8, 14},
|
||||||
{0x0600, 0xff00, 8, 15},
|
{0x0600, 0xff00, 8, 15},
|
||||||
{0x05c0, 0xffc0, 10, 16},
|
{0x05c0, 0xffc0, 10, 16},
|
||||||
{0x0580, 0xffc0, 10, 17},
|
{0x0580, 0xffc0, 10, 17},
|
||||||
{0x0540, 0xffc0, 10, 18},
|
{0x0540, 0xffc0, 10, 18},
|
||||||
|
@ -195,122 +195,129 @@ static const guint16 mba_table[MBA_LEN][MBA_WID] = {
|
||||||
#define MTYPE_WID 4
|
#define MTYPE_WID 4
|
||||||
/* [code, mask, nbits, flags] */
|
/* [code, mask, nbits, flags] */
|
||||||
static const guint16 mtype_table[MTYPE_LEN][MTYPE_WID] = {
|
static const guint16 mtype_table[MTYPE_LEN][MTYPE_WID] = {
|
||||||
{0x8000, 0x8000, 1, MTYPE_INTER | MTYPE_CBP | MTYPE_TCOEFF },
|
{0x8000, 0x8000, 1, MTYPE_INTER | MTYPE_CBP | MTYPE_TCOEFF},
|
||||||
{0x4000, 0xc000, 2, MTYPE_INTER | MTYPE_MC | MTYPE_FIL | MTYPE_MVD | MTYPE_CBP | MTYPE_TCOEFF },
|
{0x4000, 0xc000, 2,
|
||||||
{0x2000, 0xe000, 3, MTYPE_INTER | MTYPE_MC | MTYPE_FIL | MTYPE_MVD },
|
MTYPE_INTER | MTYPE_MC | MTYPE_FIL | MTYPE_MVD | MTYPE_CBP |
|
||||||
{0x1000, 0xf000, 4, MTYPE_INTRA | MTYPE_TCOEFF },
|
MTYPE_TCOEFF},
|
||||||
{0x0800, 0xf800, 5, MTYPE_INTER | MTYPE_MQUANT | MTYPE_CBP | MTYPE_TCOEFF },
|
{0x2000, 0xe000, 3, MTYPE_INTER | MTYPE_MC | MTYPE_FIL | MTYPE_MVD},
|
||||||
{0x0400, 0xfc00, 6, MTYPE_INTER | MTYPE_MC | MTYPE_FIL | MTYPE_MQUANT | MTYPE_MVD | MTYPE_CBP | MTYPE_TCOEFF },
|
{0x1000, 0xf000, 4, MTYPE_INTRA | MTYPE_TCOEFF},
|
||||||
{0x0200, 0xfe00, 7, MTYPE_INTRA | MTYPE_MQUANT | MTYPE_TCOEFF },
|
{0x0800, 0xf800, 5, MTYPE_INTER | MTYPE_MQUANT | MTYPE_CBP | MTYPE_TCOEFF},
|
||||||
{0x0100, 0xff00, 8, MTYPE_INTER | MTYPE_MC | MTYPE_MVD | MTYPE_CBP | MTYPE_TCOEFF },
|
{0x0400, 0xfc00, 6,
|
||||||
{0x0080, 0xff80, 9, MTYPE_INTER | MTYPE_MC | MTYPE_MVD },
|
MTYPE_INTER | MTYPE_MC | MTYPE_FIL | MTYPE_MQUANT | MTYPE_MVD |
|
||||||
{0x0040, 0xffc0, 10, MTYPE_INTER | MTYPE_MC | MTYPE_MQUANT | MTYPE_MVD | MTYPE_CBP | MTYPE_TCOEFF },
|
MTYPE_CBP | MTYPE_TCOEFF},
|
||||||
|
{0x0200, 0xfe00, 7, MTYPE_INTRA | MTYPE_MQUANT | MTYPE_TCOEFF},
|
||||||
|
{0x0100, 0xff00, 8,
|
||||||
|
MTYPE_INTER | MTYPE_MC | MTYPE_MVD | MTYPE_CBP | MTYPE_TCOEFF},
|
||||||
|
{0x0080, 0xff80, 9, MTYPE_INTER | MTYPE_MC | MTYPE_MVD},
|
||||||
|
{0x0040, 0xffc0, 10,
|
||||||
|
MTYPE_INTER | MTYPE_MC | MTYPE_MQUANT | MTYPE_MVD | MTYPE_CBP |
|
||||||
|
MTYPE_TCOEFF},
|
||||||
};
|
};
|
||||||
|
|
||||||
#define MVD_LEN 32
|
#define MVD_LEN 32
|
||||||
#define MVD_WID 5
|
#define MVD_WID 5
|
||||||
/* [code, mask, nbits, mvd1, mvd2] */
|
/* [code, mask, nbits, mvd1, mvd2] */
|
||||||
static const guint16 mvd_table[MVD_LEN][MVD_WID] = {
|
static const guint16 mvd_table[MVD_LEN][MVD_WID] = {
|
||||||
{0x8000, 0x8000, 1, 0, 0},
|
{0x8000, 0x8000, 1, 0, 0},
|
||||||
{0x6000, 0xe000, 3, -1, -1},
|
{0x6000, 0xe000, 3, -1, -1},
|
||||||
{0x4000, 0xe000, 3, 1, 1},
|
{0x4000, 0xe000, 3, 1, 1},
|
||||||
{0x3000, 0xf000, 4, -2, 30},
|
{0x3000, 0xf000, 4, -2, 30},
|
||||||
{0x2000, 0xf000, 4, 2, -30},
|
{0x2000, 0xf000, 4, 2, -30},
|
||||||
{0x1800, 0xf800, 5, -3, 29},
|
{0x1800, 0xf800, 5, -3, 29},
|
||||||
{0x1000, 0xf800, 5, 3, -29},
|
{0x1000, 0xf800, 5, 3, -29},
|
||||||
{0x0e00, 0xfe00, 7, -4, 28},
|
{0x0e00, 0xfe00, 7, -4, 28},
|
||||||
{0x0c00, 0xfe00, 7, 4, -28},
|
{0x0c00, 0xfe00, 7, 4, -28},
|
||||||
{0x0700, 0xff00, 8, -7, 25},
|
{0x0700, 0xff00, 8, -7, 25},
|
||||||
{0x0900, 0xff00, 8, -6, 26},
|
{0x0900, 0xff00, 8, -6, 26},
|
||||||
{0x0b00, 0xff00, 8, -5, 27},
|
{0x0b00, 0xff00, 8, -5, 27},
|
||||||
{0x0a00, 0xff00, 8, 5, -27},
|
{0x0a00, 0xff00, 8, 5, -27},
|
||||||
{0x0800, 0xff00, 8, 6, -26},
|
{0x0800, 0xff00, 8, 6, -26},
|
||||||
{0x0600, 0xff00, 8, 7, -25},
|
{0x0600, 0xff00, 8, 7, -25},
|
||||||
{0x04c0, 0xffc0, 10, -10, 22},
|
{0x04c0, 0xffc0, 10, -10, 22},
|
||||||
{0x0540, 0xffc0, 10, -9, 23},
|
{0x0540, 0xffc0, 10, -9, 23},
|
||||||
{0x05c0, 0xffc0, 10, -8, 24},
|
{0x05c0, 0xffc0, 10, -8, 24},
|
||||||
{0x0580, 0xffc0, 10, 8, -24},
|
{0x0580, 0xffc0, 10, 8, -24},
|
||||||
{0x0500, 0xffc0, 10, 9, -23},
|
{0x0500, 0xffc0, 10, 9, -23},
|
||||||
{0x0480, 0xffc0, 10, 10, -22},
|
{0x0480, 0xffc0, 10, 10, -22},
|
||||||
{0x0320, 0xffe0, 11, -16, 16},
|
{0x0320, 0xffe0, 11, -16, 16},
|
||||||
{0x0360, 0xffe0, 11, -15, 17},
|
{0x0360, 0xffe0, 11, -15, 17},
|
||||||
{0x03a0, 0xffe0, 11, -14, 18},
|
{0x03a0, 0xffe0, 11, -14, 18},
|
||||||
{0x03e0, 0xffe0, 11, -13, 19},
|
{0x03e0, 0xffe0, 11, -13, 19},
|
||||||
{0x0420, 0xffe0, 11, -12, 20},
|
{0x0420, 0xffe0, 11, -12, 20},
|
||||||
{0x0460, 0xffe0, 11, -11, 21},
|
{0x0460, 0xffe0, 11, -11, 21},
|
||||||
{0x0440, 0xffe0, 11, 11, -21},
|
{0x0440, 0xffe0, 11, 11, -21},
|
||||||
{0x0400, 0xffe0, 11, 12, -20},
|
{0x0400, 0xffe0, 11, 12, -20},
|
||||||
{0x03c0, 0xffe0, 11, 13, -19},
|
{0x03c0, 0xffe0, 11, 13, -19},
|
||||||
{0x0380, 0xffe0, 11, 14, -18},
|
{0x0380, 0xffe0, 11, 14, -18},
|
||||||
{0x0340, 0xffe0, 11, 15, -17},
|
{0x0340, 0xffe0, 11, 15, -17},
|
||||||
};
|
};
|
||||||
|
|
||||||
#define CBP_LEN 63
|
#define CBP_LEN 63
|
||||||
/* [code, mask, nbits, cbp] */
|
/* [code, mask, nbits, cbp] */
|
||||||
static const guint16 cbp_table[CBP_LEN][4] = {
|
static const guint16 cbp_table[CBP_LEN][4] = {
|
||||||
{0xe000, 0xe000, 3, 60},
|
{0xe000, 0xe000, 3, 60},
|
||||||
{0xd000, 0xf000, 4, 4},
|
{0xd000, 0xf000, 4, 4},
|
||||||
{0xc000, 0xf000, 4, 8},
|
{0xc000, 0xf000, 4, 8},
|
||||||
{0xb000, 0xf000, 4, 16},
|
{0xb000, 0xf000, 4, 16},
|
||||||
{0xa000, 0xf000, 4, 32},
|
{0xa000, 0xf000, 4, 32},
|
||||||
{0x9800, 0xf800, 5, 12},
|
{0x9800, 0xf800, 5, 12},
|
||||||
{0x9000, 0xf800, 5, 48},
|
{0x9000, 0xf800, 5, 48},
|
||||||
{0x8800, 0xf800, 5, 20},
|
{0x8800, 0xf800, 5, 20},
|
||||||
{0x8000, 0xf800, 5, 40},
|
{0x8000, 0xf800, 5, 40},
|
||||||
{0x7800, 0xf800, 5, 28},
|
{0x7800, 0xf800, 5, 28},
|
||||||
{0x7000, 0xf800, 5, 44},
|
{0x7000, 0xf800, 5, 44},
|
||||||
{0x6800, 0xf800, 5, 52},
|
{0x6800, 0xf800, 5, 52},
|
||||||
{0x6000, 0xf800, 5, 56},
|
{0x6000, 0xf800, 5, 56},
|
||||||
{0x5800, 0xf800, 5, 1},
|
{0x5800, 0xf800, 5, 1},
|
||||||
{0x5000, 0xf800, 5, 61},
|
{0x5000, 0xf800, 5, 61},
|
||||||
{0x4800, 0xf800, 5, 2},
|
{0x4800, 0xf800, 5, 2},
|
||||||
{0x4000, 0xf800, 5, 62},
|
{0x4000, 0xf800, 5, 62},
|
||||||
{0x3c00, 0xfc00, 6, 24},
|
{0x3c00, 0xfc00, 6, 24},
|
||||||
{0x3800, 0xfc00, 6, 36},
|
{0x3800, 0xfc00, 6, 36},
|
||||||
{0x3400, 0xfc00, 6, 3},
|
{0x3400, 0xfc00, 6, 3},
|
||||||
{0x3000, 0xfc00, 6, 63},
|
{0x3000, 0xfc00, 6, 63},
|
||||||
{0x2e00, 0xfe00, 7, 5},
|
{0x2e00, 0xfe00, 7, 5},
|
||||||
{0x2c00, 0xfe00, 7, 9},
|
{0x2c00, 0xfe00, 7, 9},
|
||||||
{0x2a00, 0xfe00, 7, 17},
|
{0x2a00, 0xfe00, 7, 17},
|
||||||
{0x2800, 0xfe00, 7, 33},
|
{0x2800, 0xfe00, 7, 33},
|
||||||
{0x2600, 0xfe00, 7, 6},
|
{0x2600, 0xfe00, 7, 6},
|
||||||
{0x2400, 0xfe00, 7, 10},
|
{0x2400, 0xfe00, 7, 10},
|
||||||
{0x2200, 0xfe00, 7, 18},
|
{0x2200, 0xfe00, 7, 18},
|
||||||
{0x2000, 0xfe00, 7, 34},
|
{0x2000, 0xfe00, 7, 34},
|
||||||
{0x1f00, 0xff00, 8, 7},
|
{0x1f00, 0xff00, 8, 7},
|
||||||
{0x1e00, 0xff00, 8, 11},
|
{0x1e00, 0xff00, 8, 11},
|
||||||
{0x1d00, 0xff00, 8, 19},
|
{0x1d00, 0xff00, 8, 19},
|
||||||
{0x1c00, 0xff00, 8, 35},
|
{0x1c00, 0xff00, 8, 35},
|
||||||
{0x1b00, 0xff00, 8, 13},
|
{0x1b00, 0xff00, 8, 13},
|
||||||
{0x1a00, 0xff00, 8, 49},
|
{0x1a00, 0xff00, 8, 49},
|
||||||
{0x1900, 0xff00, 8, 21},
|
{0x1900, 0xff00, 8, 21},
|
||||||
{0x1800, 0xff00, 8, 41},
|
{0x1800, 0xff00, 8, 41},
|
||||||
{0x1700, 0xff00, 8, 14},
|
{0x1700, 0xff00, 8, 14},
|
||||||
{0x1600, 0xff00, 8, 50},
|
{0x1600, 0xff00, 8, 50},
|
||||||
{0x1500, 0xff00, 8, 22},
|
{0x1500, 0xff00, 8, 22},
|
||||||
{0x1400, 0xff00, 8, 42},
|
{0x1400, 0xff00, 8, 42},
|
||||||
{0x1300, 0xff00, 8, 15},
|
{0x1300, 0xff00, 8, 15},
|
||||||
{0x1200, 0xff00, 8, 51},
|
{0x1200, 0xff00, 8, 51},
|
||||||
{0x1100, 0xff00, 8, 23},
|
{0x1100, 0xff00, 8, 23},
|
||||||
{0x1000, 0xff00, 8, 43},
|
{0x1000, 0xff00, 8, 43},
|
||||||
{0x0f00, 0xff00, 8, 25},
|
{0x0f00, 0xff00, 8, 25},
|
||||||
{0x0e00, 0xff00, 8, 37},
|
{0x0e00, 0xff00, 8, 37},
|
||||||
{0x0d00, 0xff00, 8, 26},
|
{0x0d00, 0xff00, 8, 26},
|
||||||
{0x0c00, 0xff00, 8, 38},
|
{0x0c00, 0xff00, 8, 38},
|
||||||
{0x0b00, 0xff00, 8, 29},
|
{0x0b00, 0xff00, 8, 29},
|
||||||
{0x0a00, 0xff00, 8, 45},
|
{0x0a00, 0xff00, 8, 45},
|
||||||
{0x0900, 0xff00, 8, 53},
|
{0x0900, 0xff00, 8, 53},
|
||||||
{0x0800, 0xff00, 8, 57},
|
{0x0800, 0xff00, 8, 57},
|
||||||
{0x0700, 0xff00, 8, 30},
|
{0x0700, 0xff00, 8, 30},
|
||||||
{0x0600, 0xff00, 8, 46},
|
{0x0600, 0xff00, 8, 46},
|
||||||
{0x0500, 0xff00, 8, 54},
|
{0x0500, 0xff00, 8, 54},
|
||||||
{0x0400, 0xff00, 8, 58},
|
{0x0400, 0xff00, 8, 58},
|
||||||
{0x0380, 0xff80, 9, 31},
|
{0x0380, 0xff80, 9, 31},
|
||||||
{0x0300, 0xff80, 9, 47},
|
{0x0300, 0xff80, 9, 47},
|
||||||
{0x0280, 0xff80, 9, 55},
|
{0x0280, 0xff80, 9, 55},
|
||||||
{0x0200, 0xff80, 9, 59},
|
{0x0200, 0xff80, 9, 59},
|
||||||
{0x0180, 0xff80, 9, 27},
|
{0x0180, 0xff80, 9, 27},
|
||||||
{0x0100, 0xff80, 9, 39},
|
{0x0100, 0xff80, 9, 39},
|
||||||
};
|
};
|
||||||
|
|
||||||
#define TCOEFF_EOB 0xffff
|
#define TCOEFF_EOB 0xffff
|
||||||
|
@ -318,72 +325,72 @@ static const guint16 cbp_table[CBP_LEN][4] = {
|
||||||
#define TCOEFF_LEN 65
|
#define TCOEFF_LEN 65
|
||||||
/* [code, mask, nbits, run, level] */
|
/* [code, mask, nbits, run, level] */
|
||||||
static const guint16 tcoeff_table[TCOEFF_LEN][5] = {
|
static const guint16 tcoeff_table[TCOEFF_LEN][5] = {
|
||||||
{0x8000, 0xc000, 2, TCOEFF_EOB, 0}, /* Not available for first coeff */
|
{0x8000, 0xc000, 2, TCOEFF_EOB, 0}, /* Not available for first coeff */
|
||||||
/* {0x8000, 0x8000, 2, 0, 1}, */ /* Available only for first Inter coeff */
|
/* {0x8000, 0x8000, 2, 0, 1}, *//* Available only for first Inter coeff */
|
||||||
{0xc000, 0xc000, 3, 0, 1}, /* Not available for first coeff */
|
{0xc000, 0xc000, 3, 0, 1}, /* Not available for first coeff */
|
||||||
{0x6000, 0xe000, 4, 1, 1},
|
{0x6000, 0xe000, 4, 1, 1},
|
||||||
{0x4000, 0xf000, 5, 0, 2},
|
{0x4000, 0xf000, 5, 0, 2},
|
||||||
{0x5000, 0xf000, 5, 2, 1},
|
{0x5000, 0xf000, 5, 2, 1},
|
||||||
{0x2800, 0xf800, 6, 0, 3},
|
{0x2800, 0xf800, 6, 0, 3},
|
||||||
{0x3800, 0xf800, 6, 3, 1},
|
{0x3800, 0xf800, 6, 3, 1},
|
||||||
{0x3000, 0xf800, 6, 4, 1},
|
{0x3000, 0xf800, 6, 4, 1},
|
||||||
{0x0400, 0xfc00, 6, TCOEFF_ESC, 0},
|
{0x0400, 0xfc00, 6, TCOEFF_ESC, 0},
|
||||||
{0x1800, 0xfc00, 7, 1, 2},
|
{0x1800, 0xfc00, 7, 1, 2},
|
||||||
{0x1c00, 0xfc00, 7, 5, 1},
|
{0x1c00, 0xfc00, 7, 5, 1},
|
||||||
{0x1400, 0xfc00, 7, 6, 1},
|
{0x1400, 0xfc00, 7, 6, 1},
|
||||||
{0x1000, 0xfc00, 7, 7, 1},
|
{0x1000, 0xfc00, 7, 7, 1},
|
||||||
{0x0c00, 0xfe00, 8, 0, 4},
|
{0x0c00, 0xfe00, 8, 0, 4},
|
||||||
{0x0800, 0xfe00, 8, 2, 2},
|
{0x0800, 0xfe00, 8, 2, 2},
|
||||||
{0x0e00, 0xfe00, 8, 8, 1},
|
{0x0e00, 0xfe00, 8, 8, 1},
|
||||||
{0x0a00, 0xfe00, 8, 9, 1},
|
{0x0a00, 0xfe00, 8, 9, 1},
|
||||||
{0x2600, 0xff00, 9, 0, 5},
|
{0x2600, 0xff00, 9, 0, 5},
|
||||||
{0x2100, 0xff00, 9, 0, 6},
|
{0x2100, 0xff00, 9, 0, 6},
|
||||||
{0x2500, 0xff00, 9, 1, 3},
|
{0x2500, 0xff00, 9, 1, 3},
|
||||||
{0x2400, 0xff00, 9, 3, 2},
|
{0x2400, 0xff00, 9, 3, 2},
|
||||||
{0x2700, 0xff00, 9, 10, 1},
|
{0x2700, 0xff00, 9, 10, 1},
|
||||||
{0x2300, 0xff00, 9, 11, 1},
|
{0x2300, 0xff00, 9, 11, 1},
|
||||||
{0x2200, 0xff00, 9, 12, 1},
|
{0x2200, 0xff00, 9, 12, 1},
|
||||||
{0x2000, 0xff00, 9, 13, 1},
|
{0x2000, 0xff00, 9, 13, 1},
|
||||||
{0x0280, 0xffc0, 11, 0, 7},
|
{0x0280, 0xffc0, 11, 0, 7},
|
||||||
{0x0300, 0xffc0, 11, 1, 4},
|
{0x0300, 0xffc0, 11, 1, 4},
|
||||||
{0x02c0, 0xffc0, 11, 2, 3},
|
{0x02c0, 0xffc0, 11, 2, 3},
|
||||||
{0x03c0, 0xffc0, 11, 4, 2},
|
{0x03c0, 0xffc0, 11, 4, 2},
|
||||||
{0x0240, 0xffc0, 11, 5, 2},
|
{0x0240, 0xffc0, 11, 5, 2},
|
||||||
{0x0380, 0xffc0, 11, 14, 1},
|
{0x0380, 0xffc0, 11, 14, 1},
|
||||||
{0x0340, 0xffc0, 11, 15, 1},
|
{0x0340, 0xffc0, 11, 15, 1},
|
||||||
{0x0200, 0xffc0, 11, 16, 1},
|
{0x0200, 0xffc0, 11, 16, 1},
|
||||||
{0x01d0, 0xfff0, 13, 0, 8},
|
{0x01d0, 0xfff0, 13, 0, 8},
|
||||||
{0x0180, 0xfff0, 13, 0, 9},
|
{0x0180, 0xfff0, 13, 0, 9},
|
||||||
{0x0130, 0xfff0, 13, 0, 10},
|
{0x0130, 0xfff0, 13, 0, 10},
|
||||||
{0x0100, 0xfff0, 13, 0, 11},
|
{0x0100, 0xfff0, 13, 0, 11},
|
||||||
{0x01b0, 0xfff0, 13, 1, 5},
|
{0x01b0, 0xfff0, 13, 1, 5},
|
||||||
{0x0140, 0xfff0, 13, 2, 4},
|
{0x0140, 0xfff0, 13, 2, 4},
|
||||||
{0x01c0, 0xfff0, 13, 3, 3},
|
{0x01c0, 0xfff0, 13, 3, 3},
|
||||||
{0x0120, 0xfff0, 13, 4, 3},
|
{0x0120, 0xfff0, 13, 4, 3},
|
||||||
{0x01e0, 0xfff0, 13, 6, 2},
|
{0x01e0, 0xfff0, 13, 6, 2},
|
||||||
{0x0150, 0xfff0, 13, 7, 2},
|
{0x0150, 0xfff0, 13, 7, 2},
|
||||||
{0x0110, 0xfff0, 13, 8, 2},
|
{0x0110, 0xfff0, 13, 8, 2},
|
||||||
{0x01f0, 0xfff0, 13, 17, 1},
|
{0x01f0, 0xfff0, 13, 17, 1},
|
||||||
{0x01a0, 0xfff0, 13, 18, 1},
|
{0x01a0, 0xfff0, 13, 18, 1},
|
||||||
{0x0190, 0xfff0, 13, 19, 1},
|
{0x0190, 0xfff0, 13, 19, 1},
|
||||||
{0x0170, 0xfff0, 13, 20, 1},
|
{0x0170, 0xfff0, 13, 20, 1},
|
||||||
{0x0160, 0xfff0, 13, 21, 1},
|
{0x0160, 0xfff0, 13, 21, 1},
|
||||||
{0x00d0, 0xfff8, 14, 0, 12},
|
{0x00d0, 0xfff8, 14, 0, 12},
|
||||||
{0x00c8, 0xfff8, 14, 0, 13},
|
{0x00c8, 0xfff8, 14, 0, 13},
|
||||||
{0x00c0, 0xfff8, 14, 0, 14},
|
{0x00c0, 0xfff8, 14, 0, 14},
|
||||||
{0x00b8, 0xfff8, 14, 0, 15},
|
{0x00b8, 0xfff8, 14, 0, 15},
|
||||||
{0x00b0, 0xfff8, 14, 1, 6},
|
{0x00b0, 0xfff8, 14, 1, 6},
|
||||||
{0x00a8, 0xfff8, 14, 1, 7},
|
{0x00a8, 0xfff8, 14, 1, 7},
|
||||||
{0x00a0, 0xfff8, 14, 2, 5},
|
{0x00a0, 0xfff8, 14, 2, 5},
|
||||||
{0x0098, 0xfff8, 14, 3, 4},
|
{0x0098, 0xfff8, 14, 3, 4},
|
||||||
{0x0090, 0xfff8, 14, 5, 3},
|
{0x0090, 0xfff8, 14, 5, 3},
|
||||||
{0x0088, 0xfff8, 14, 9, 2},
|
{0x0088, 0xfff8, 14, 9, 2},
|
||||||
{0x0080, 0xfff8, 14, 10, 2},
|
{0x0080, 0xfff8, 14, 10, 2},
|
||||||
{0x00f8, 0xfff8, 14, 22, 1},
|
{0x00f8, 0xfff8, 14, 22, 1},
|
||||||
{0x00f0, 0xfff8, 14, 23, 1},
|
{0x00f0, 0xfff8, 14, 23, 1},
|
||||||
{0x00e8, 0xfff8, 14, 24, 1},
|
{0x00e8, 0xfff8, 14, 24, 1},
|
||||||
{0x00e0, 0xfff8, 14, 25, 1},
|
{0x00e0, 0xfff8, 14, 25, 1},
|
||||||
{0x00d8, 0xfff8, 14, 26, 1},
|
{0x00d8, 0xfff8, 14, 26, 1},
|
||||||
};
|
};
|
||||||
|
|
||||||
static ParseReturn
|
static ParseReturn
|
||||||
|
@ -719,7 +726,7 @@ parse_mb_until_pos (GstRtpH261Pay * pay, GstBitReader * br, Gob * gob,
|
||||||
}
|
}
|
||||||
gob->last.gobn = gob->gn;
|
gob->last.gobn = gob->gn;
|
||||||
|
|
||||||
if(ret == PARSE_OK) {
|
if (ret == PARSE_OK) {
|
||||||
GST_DEBUG_OBJECT (pay,
|
GST_DEBUG_OBJECT (pay,
|
||||||
"Split GOBN %d after MBA %d (endpos %u, maxpos %u, nextpos %u)",
|
"Split GOBN %d after MBA %d (endpos %u, maxpos %u, nextpos %u)",
|
||||||
gob->gn, gob->last.mba, *endpos, maxpos, mb.endpos);
|
gob->gn, gob->last.mba, *endpos, maxpos, mb.endpos);
|
||||||
|
|
Loading…
Reference in a new issue