blob: 2f5d4d38262498ac991b945b46e0218887913756
1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Source last modified: $Id: stream_hdr_utils.h,v 1.1.1.1.2.1 2005/05/04 18:21:22 hubbe Exp $ |
3 | * |
4 | * REALNETWORKS CONFIDENTIAL--NOT FOR DISTRIBUTION IN SOURCE CODE FORM |
5 | * Portions Copyright (c) 1995-2005 RealNetworks, Inc. |
6 | * All Rights Reserved. |
7 | * |
8 | * The contents of this file, and the files included with this file, |
9 | * are subject to the current version of the Real Format Source Code |
10 | * Porting and Optimization License, available at |
11 | * https://helixcommunity.org/2005/license/realformatsource (unless |
12 | * RealNetworks otherwise expressly agrees in writing that you are |
13 | * subject to a different license). You may also obtain the license |
14 | * terms directly from RealNetworks. You may not use this file except |
15 | * in compliance with the Real Format Source Code Porting and |
16 | * Optimization License. There are no redistribution rights for the |
17 | * source code of this file. Please see the Real Format Source Code |
18 | * Porting and Optimization License for the rights, obligations and |
19 | * limitations governing use of the contents of the file. |
20 | * |
21 | * RealNetworks is the developer of the Original Code and owns the |
22 | * copyrights in the portions it created. |
23 | * |
24 | * This file, and the files included with this file, is distributed and |
25 | * made available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, |
26 | * EITHER EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS ALL |
27 | * SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF |
28 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT |
29 | * OR NON-INFRINGEMENT. |
30 | * |
31 | * Technology Compatibility Kit Test Suite(s) Location: |
32 | * https://rarvcode-tck.helixcommunity.org |
33 | * |
34 | * Contributor(s): |
35 | * |
36 | * ***** END LICENSE BLOCK ***** */ |
37 | |
38 | #ifndef STREAM_HDR_UTILS_H |
39 | #define STREAM_HDR_UTILS_H |
40 | |
41 | #include "helix_types.h" |
42 | #include "helix_result.h" |
43 | #include "rm_memory.h" |
44 | #include "stream_hdr_structs.h" |
45 | |
46 | #ifdef __cplusplus |
47 | extern "C" { |
48 | #endif |
49 | |
50 | HX_RESULT rm_unpack_rule_map(BYTE** ppBuf, |
51 | UINT32* pulLen, |
52 | rm_malloc_func_ptr fpMalloc, |
53 | rm_free_func_ptr fpFree, |
54 | void* pUserMem, |
55 | rm_rule_map* pMap); |
56 | |
57 | void rm_cleanup_rule_map(rm_free_func_ptr fpFree, |
58 | void* pUserMem, |
59 | rm_rule_map* pMap); |
60 | |
61 | HX_RESULT rm_unpack_multistream_hdr(BYTE** ppBuf, |
62 | UINT32* pulLen, |
63 | rm_malloc_func_ptr fpMalloc, |
64 | rm_free_func_ptr fpFree, |
65 | void* pUserMem, |
66 | rm_multistream_hdr* hdr); |
67 | |
68 | void rm_cleanup_multistream_hdr(rm_free_func_ptr fpFree, |
69 | void* pUserMem, |
70 | rm_multistream_hdr* hdr); |
71 | |
72 | |
73 | #ifdef __cplusplus |
74 | } |
75 | #endif |
76 | |
77 | #endif /* #ifndef STREAM_HDR_UTILS_H */ |
78 |