|
1 /* |
|
2 * Copyright (c) 2003-2006 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "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 * |
|
14 * Description: Resource file for JPEG2000 codec. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // RESOURCE IDENTIFIER |
|
20 |
|
21 // INCLUDES |
|
22 #include <JP2KUids.hrh> |
|
23 #include <icl/icl_uids.hrh> |
|
24 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS |
|
25 #include <icl/icl_uids_def.hrh> |
|
26 #endif |
|
27 #include <ecom/registryinfo.rh> |
|
28 |
|
29 // CONSTANTS |
|
30 |
|
31 // MACROS |
|
32 |
|
33 // RESOURCE DEFINITIONS |
|
34 // ----------------------------------------------------------------------------- |
|
35 // |
|
36 // theInfo |
|
37 // ICL codec registeration file for codec selection using ECom and ICL resolver. |
|
38 // |
|
39 // ----------------------------------------------------------------------------- |
|
40 // |
|
41 RESOURCE REGISTRY_INFO theInfo |
|
42 { |
|
43 dll_uid = KJ2KCodecDllUidValue; |
|
44 interfaces = |
|
45 { |
|
46 INTERFACE_INFO |
|
47 { |
|
48 interface_uid = KDecoderInterfaceUidValue; |
|
49 implementations = |
|
50 { |
|
51 BINARY_IMPLEMENTATION_INFO |
|
52 { |
|
53 implementation_uid = KJ2KDecoderImplementationUid; |
|
54 version_no = 1; |
|
55 display_name = "JPEG2000"; |
|
56 default_data = {0x3F}; // "No match for main codec" |
|
57 opaque_data = {1, 0x00, 0x00, 0x10, 0x1F, 0x86, 0x30, 0, 0, 0, 0, 2, 0x2E, 0x6A, 0x70, 0x32, 0x0D, 0x2E, 0x6A, 0x32, 0x6B, 0x0D, 2, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x2F, 0x6A, 0x70, 0x32, 0x0D, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x2F, 0x6A, 0x32, 0x6B, 0x0D}; |
|
58 // version 1, "main" codec 0x10 1F 86 30 0x00000000 2 . j p 2 . j 2 k 2 i m a g e / j p 2 i m a g e / j 2 k |
|
59 }, |
|
60 BINARY_IMPLEMENTATION_INFO |
|
61 { |
|
62 implementation_uid = KJ2KDecoderImplementationUidValueFileFormat; |
|
63 version_no = 1; |
|
64 display_name = "JPEG2000 File Format"; |
|
65 default_data = {0, 0, 0, 0x0C, 0x6A, 0x50, 0x20, 0x20, 0x0D, 0x0A, 0x87, 0x0A}; // "JP2 Signature" |
|
66 opaque_data = {1, 0x00, 0x01, 0x10, 0x1F, 0x86, 0x30, 0, 0, 0, 0, 2, 0x2E, 0x6A, 0x70, 0x32, 0x0D, 0x2E, 0x6A, 0x32, 0x6B, 0x0D, 2, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x2F, 0x6A, 0x70, 0x32, 0x0D, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x2F, 0x6A, 0x32, 0x6B, 0x0D}; |
|
67 // version 1, "main" codec 0x10 1F 86 30 0x00000000 2 . j p 2 . j 2 k 2 i m a g e / j p 2 i m a g e / j 2 k |
|
68 }, |
|
69 BINARY_IMPLEMENTATION_INFO |
|
70 { |
|
71 implementation_uid = KJ2KDecoderImplementationUidValueCodeStream; |
|
72 version_no = 1; |
|
73 display_name = "JPEG2000 Code Stream"; |
|
74 default_data = {0xFF, 0x4F, 0xFF, 0x51}; // SOC + SIZ |
|
75 opaque_data = {1, 0x00, 0x01, 0x10, 0x1F, 0x86, 0x30, 0, 0, 0, 0, 2, 0x2E, 0x6A, 0x70, 0x32, 0x0D, 0x2E, 0x6A, 0x32, 0x6B, 0x0D, 2, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x2F, 0x6A, 0x70, 0x32, 0x0D, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x2F, 0x6A, 0x32, 0x6B, 0x0D}; |
|
76 // version 1, "main" codec 0x10 1F 86 30 0x00000000 2 . j p 2 . j 2 k 2 i m a g e / j p 2 i m a g e / j 2 k |
|
77 } |
|
78 }; |
|
79 } |
|
80 |
|
81 }; |
|
82 } |
|
83 |
|
84 // End of File |