context_ini.c File Reference

CABAC context initializations. More...

#include "defines.h"
#include "global.h"
#include "biaridecod.h"
#include "ctx_tables.h"

Include dependency graph for context_ini.c:

Go to the source code of this file.

Defines

#define CONTEXT_INI_C
#define IBIARI_CTX_INIT2(ii, jj, ctx, tab, num, qp)
#define PBIARI_CTX_INIT2(ii, jj, ctx, tab, num, qp)
#define IBIARI_CTX_INIT1(jj, ctx, tab, num, qp)
#define PBIARI_CTX_INIT1(jj, ctx, tab, num, qp)

Functions

void init_contexts (Slice *currSlice)


Detailed Description

CABAC context initializations.

Author:
Main contributors (see contributors.h for copyright, address and affiliation details)

Definition in file context_ini.c.


Define Documentation

#define IBIARI_CTX_INIT1 ( jj,
ctx,
tab,
num,
qp   ) 

Value:

{ \
  for (j=0; j<jj; ++j) \
  { \
  biari_init_context (qp, &(ctx[j]), tab ## _I[num][0][j]); \
  } \
}

Definition at line 43 of file context_ini.c.

#define IBIARI_CTX_INIT2 ( ii,
jj,
ctx,
tab,
num,
qp   ) 

Value:

{ \
  for (i=0; i<ii; ++i) \
  for (j=0; j<jj; ++j) \
  { \
  biari_init_context (qp, &(ctx[i][j]), tab ## _I[num][i][j]); \
  } \
}

Definition at line 24 of file context_ini.c.

#define PBIARI_CTX_INIT1 ( jj,
ctx,
tab,
num,
qp   ) 

Value:

{ \
  { \
  for (j=0; j<jj; ++j) \
  { \
  biari_init_context (qp, &(ctx[j]), tab ## _P[num][0][j]); \
  } \
  } \
}

Definition at line 52 of file context_ini.c.

#define PBIARI_CTX_INIT2 ( ii,
jj,
ctx,
tab,
num,
qp   ) 

Value:

{ \
  for (i=0; i<ii; ++i) \
  for (j=0; j<jj; ++j) \
  { \
  biari_init_context (qp, &(ctx[i][j]), tab ## _P[num][i][j]); \
  } \
}

Definition at line 33 of file context_ini.c.


Documentation generated with DoxyGen