imagingmodules/jp2kcodec/Data/101F862D.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 09:22:31 +0200
changeset 0 469c91dae73b
permissions -rw-r--r--
Revision: 200949 Kit: 200951

/*
* Copyright (c) 2003-2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Resource file for JPEG2000 codec.
*
*/


//  RESOURCE IDENTIFIER

//  INCLUDES
#include <JP2KUids.hrh>
#include <icl/icl_uids.hrh>
#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
#include <icl/icl_uids_def.hrh>
#endif
#include <ecom/registryinfo.rh>

//  CONSTANTS  

//  MACROS  

//  RESOURCE DEFINITIONS 
// -----------------------------------------------------------------------------
//   
// theInfo
// ICL codec registeration file for codec selection using ECom and ICL resolver.
//
// -----------------------------------------------------------------------------
//
RESOURCE REGISTRY_INFO theInfo
    {
    dll_uid = KJ2KCodecDllUidValue;
    interfaces = 
        {
        INTERFACE_INFO
            {
            interface_uid = KDecoderInterfaceUidValue;
            implementations = 
                {
                BINARY_IMPLEMENTATION_INFO
                    {
                    implementation_uid = KJ2KDecoderImplementationUid;
                    version_no = 1;
                    display_name = "JPEG2000";
                    default_data = {0x3F}; // "No match for main codec"                                 
                    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};
                    //     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
                    },  
                BINARY_IMPLEMENTATION_INFO
                    {
                    implementation_uid = KJ2KDecoderImplementationUidValueFileFormat;
                    version_no = 1;
                    display_name = "JPEG2000 File Format";
                    default_data = {0, 0, 0, 0x0C, 0x6A, 0x50, 0x20, 0x20, 0x0D, 0x0A, 0x87, 0x0A}; // "JP2 Signature"                                  
                    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};
                    //     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
                    },              
                BINARY_IMPLEMENTATION_INFO
                    {
                    implementation_uid = KJ2KDecoderImplementationUidValueCodeStream;
                    version_no = 1;
                    display_name = "JPEG2000 Code Stream";
                    default_data = {0xFF, 0x4F, 0xFF, 0x51}; // SOC + SIZ
                    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};
                    //     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                   
                    }
                };
            }

        };
    }

// End of File