Wasabi ExpressPlay SDK for Embedded Systems  1.23.0
Ts2Results.h
Go to the documentation of this file.
1 /*****************************************************************
2 |
3 | MPEG2 Transport Stream - Results
4 |
5 | $Id: Ts2Results.h 296 2014-06-25 11:20:09Z jebaseelir $
6 | Original author: Julien Boeuf
7 |
8 | This software is provided to you pursuant to your agreement
9 | with Intertrust Technologies Corporation ("Intertrust").
10 | This software may be used only in accordance with the terms
11 | of the agreement.
12 |
13 | Copyright (c) 2005-2014 by Intertrust. All rights reserved.
14 |
15 ****************************************************************/
16 
17 #ifndef _TS2_RESULTS_H_
18 #define _TS2_RESULTS_H_
19 
20 /*----------------------------------------------------------------------
21 | includes
22 +---------------------------------------------------------------------*/
23 #include "Atomix.h"
24 
25 /*----------------------------------------------------------------------
26 | result codes
27 +---------------------------------------------------------------------*/
28 #ifndef TS2_ERROR_BASE
29 #define TS2_ERROR_BASE (-120000)
30 #endif
31 
32 #define TS2_ERROR_INVALID_SYNC_BYTE (TS2_ERROR_BASE - 1)
33 #define TS2_ERROR_NEED_MORE_DATA (TS2_ERROR_BASE - 2)
34 #define TS2_ERROR_INVALID_SECTION_HEADER (TS2_ERROR_BASE - 3)
35 #define TS2_ERROR_INVALID_SIZE (TS2_ERROR_BASE - 4)
36 #define TS2_ERROR_INVALID_TABLE_ID (TS2_ERROR_BASE - 5)
37 #define TS2_ERROR_NO_PROGRAM_AVAILABLE (TS2_ERROR_BASE - 6)
38 #define TS2_ERROR_PES_INCOMPLETE_PACKET (TS2_ERROR_BASE - 7)
39 #define TS2_ERROR_PES_UNBOUNDED_COMPLETION (TS2_ERROR_BASE - 8)
40 #define TS2_ERROR_INVALID_VERSION (TS2_ERROR_BASE - 9)
41 #define TS2_ERROR_NOT_BBTS_PROTECTED (TS2_ERROR_BASE - 10)
42 #define TS2_ERROR_INVALID_DATA (TS2_ERROR_BASE - 11)
43 #define TS2_ERROR_DECRYPTION_FAILED (TS2_ERROR_BASE - 12)
44 #define TS2_ERROR_CRC_MISMATCH (TS2_ERROR_BASE - 13)
45 #define TS2_ERROR_DECRYPTER_NOT_READY (TS2_ERROR_BASE - 14)
46 #define TS2_ERROR_MAC_MISMATCH (TS2_ERROR_BASE - 15)
47 #define TS2_ERROR_PRNG_FAILED (TS2_ERROR_BASE - 16)
48 #define TS2_ERROR_INVALID_CONTENT_ID (TS2_ERROR_BASE - 17)
49 
50 #endif /* _TS2_RESULTS_H_ */