videoeditorengine/h263decoder/inc/vdxint.h
branchRCL_3
changeset 3 e0b5df5c0969
parent 0 951a5db380a0
child 5 4c409de21d23
equal deleted inserted replaced
0:951a5db380a0 3:e0b5df5c0969
     1 /*
       
     2 * Copyright (c) 2010 Ixonos Plc.
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - Initial contribution
       
    11 *
       
    12 * Contributors:
       
    13 * Ixonos Plc
       
    14 *
       
    15 * Description:  
       
    16 * Internal header for the video demultiplexer module.
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 
       
    22 #ifndef _VDXINT_H_
       
    23 #define _VDXINT_H_
       
    24 
       
    25 /*
       
    26  * Defines
       
    27  */
       
    28 
       
    29 #ifndef vdxAssert
       
    30    #define vdxAssert(exp) assert(exp);
       
    31 #endif
       
    32 
       
    33 
       
    34 /*
       
    35  * Structs and typedefs
       
    36  */
       
    37 
       
    38 /* type for VLC (variable length code) lookup tables */
       
    39 typedef struct {
       
    40    int val; /* value for code, for example an index of the corresponding table
       
    41                in the H.263 recommendation */
       
    42    u_char len; /* actual length of code in bits */
       
    43 } vdxVLCTable_t;
       
    44 
       
    45 typedef struct{
       
    46     int16 code;
       
    47     int16 length;
       
    48 }tVLCTable;
       
    49 
       
    50 
       
    51 /*
       
    52  * Functions defined in viddemux.c (and used from viddemux_mpeg.c)
       
    53  */
       
    54 
       
    55 /* Macroblock Layer */
       
    56 
       
    57 int vdxGetCBPY(bibBuffer_t *inBuffer, int *index, 
       
    58    int *bitErrorIndication);
       
    59 
       
    60 int vdxGetMCBPCInter(
       
    61    bibBuffer_t *inBuffer, 
       
    62    int fPLUSPTYPE,
       
    63    int fFourMVsPossible,
       
    64    int fFirstMBOfPicture,
       
    65    int *index, 
       
    66    int *bitErrorIndication);
       
    67 
       
    68 int vdxGetMCBPCIntra(bibBuffer_t *inBuffer, int *index, 
       
    69    int *bitErrorIndication);
       
    70 
       
    71 int vdxGetMVD(bibBuffer_t *inBuffer, int *mvdx10, 
       
    72    int *bitErrorIndication);
       
    73 
       
    74 int vdxUpdateQuant(
       
    75    bibBuffer_t *inBuffer, 
       
    76    int fMQ,
       
    77    int quant,
       
    78    int *newQuant,
       
    79    int *bitErrorIndication);
       
    80 
       
    81 
       
    82 /*
       
    83  * Functions defined in viddemux_mpeg.c (and used from viddemux.c)
       
    84  */
       
    85 
       
    86    int vdxGetScaledMVD(bibBuffer_t *inBuffer, int f_code, int *mvd10,
       
    87       int *bitErrorIndication);
       
    88 
       
    89 #endif
       
    90 // End of File