XDAIS
dais-x04
Main Page
Modules
Data Structures
Files
Related Pages
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Groups
Pages
packages
ti
xdais
dm
split
ividdec2.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2006-2012, Texas Instruments Incorporated
3
* All rights reserved.
4
*
5
* Redistribution and use in source and binary forms, with or without
6
* modification, are permitted provided that the following conditions
7
* are met:
8
*
9
* * Redistributions of source code must retain the above copyright
10
* notice, this list of conditions and the following disclaimer.
11
*
12
* * Redistributions in binary form must reproduce the above copyright
13
* notice, this list of conditions and the following disclaimer in the
14
* documentation and/or other materials provided with the distribution.
15
*
16
* * Neither the name of Texas Instruments Incorporated nor the names of
17
* its contributors may be used to endorse or promote products derived
18
* from this software without specific prior written permission.
19
*
20
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
*
32
*/
33
46
#ifndef ti_xdais_dm_split_IVIDDEC2_
47
#define ti_xdais_dm_split_IVIDDEC2_
48
49
#include <
ti/xdais/ialg.h
>
50
#include <
ti/xdais/xdas.h
>
51
#include "../xdm.h"
52
53
#include "../ividdec2.h"
54
55
#ifdef __cplusplus
56
extern
"C"
{
57
#endif
58
61
66
typedef
struct
IVIDDEC2FRONT_Obj
{
67
struct
IVIDDEC2FRONT_Fxns
*
fxns
;
68
}
IVIDDEC2FRONT_Obj
;
69
70
74
typedef
struct
IVIDDEC2FRONT_Obj
*
IVIDDEC2FRONT_Handle
;
75
80
typedef
struct
IVIDDEC2BACK_Obj
{
81
struct
IVIDDEC2BACK_Fxns
*
fxns
;
82
}
IVIDDEC2BACK_Obj
;
83
84
88
typedef
struct
IVIDDEC2BACK_Obj
*
IVIDDEC2BACK_Handle
;
89
90
99
typedef
struct
IVIDDEC2FRONT_Status
{
100
XDM_ContextInfo
contextInfo
;
106
XDAS_Int32
nextPartRequiredFlag
;
130
XDAS_Int32
partialExtendedError
;
140
IVIDDEC2_Status
fullStatus
;
225
}
IVIDDEC2FRONT_Status
;
226
227
236
typedef
struct
IVIDDEC2FRONT_OutArgs
{
237
XDAS_Int32
size
;
238
XDAS_Int32
extendedError
;
239
XDAS_Int32
bytesConsumed
;
242
}
IVIDDEC2FRONT_OutArgs
;
243
244
248
typedef
struct
IVIDDEC2FRONT_Fxns
{
249
IALG_Fxns
ialg
;
349
XDAS_Int32
(*
process
)(IVIDDEC2FRONT_Handle handle,
IVIDDEC2_InArgs
*inArgs,
350
XDM_Context
*context,
IVIDDEC2FRONT_OutArgs
*outArgs);
351
352
397
XDAS_Int32
(*
control
)(IVIDDEC2FRONT_Handle handle,
IVIDDEC2_Cmd
id,
398
IVIDDEC2_DynamicParams
*params,
XDM_Context
*context,
399
IVIDDEC2FRONT_Status
*status);
400
401
}
IVIDDEC2FRONT_Fxns
;
402
403
407
typedef
struct
IVIDDEC2BACK_Fxns
{
408
IALG_Fxns
ialg
;
442
XDAS_Int32
(*
process
)(IVIDDEC2BACK_Handle handle,
XDM_Context
*context,
443
IVIDDEC2_OutArgs
*outArgs);
444
445
476
XDAS_Int32
(*
control
)(IVIDDEC2BACK_Handle handle,
477
XDM_Context
*context,
IVIDDEC2_Status
*status);
478
479
}
IVIDDEC2BACK_Fxns
;
480
481
484
#ifdef __cplusplus
485
}
486
#endif
487
488
#endif
Copyright 2013, Texas Instruments Incorporated