mmplugins/imagingplugins/codecs/PNGCodec/101F45C7.rss
branchRCL_3
changeset 50 948c7f65f6d4
parent 0 40261b775718
equal deleted inserted replaced
49:735348f59235 50:948c7f65f6d4
       
     1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Registry file for the PNG Bitmap Decoder Implementation
       
    15 // 
       
    16 //
       
    17 
       
    18 #include <ecom/registryinfo.rh>
       
    19 #include <icl/icl_uids.hrh>
       
    20 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
       
    21 #include <icl/icl_uids_const.hrh>
       
    22 #include <icl/icl_uids_def.hrh>
       
    23 #endif
       
    24 #include "StreamDecoderIFace.hrh"
       
    25 
       
    26 RESOURCE REGISTRY_INFO theInfo
       
    27 	{
       
    28 	dll_uid = KPNGCodecDllUidValue;
       
    29 	interfaces = 
       
    30 		{
       
    31 		INTERFACE_INFO
       
    32 			{
       
    33 			interface_uid = KDecoderInterfaceUidValue;
       
    34 			implementations = 
       
    35 				{
       
    36 				BINARY_IMPLEMENTATION_INFO
       
    37 					{
       
    38 					implementation_uid = KPNGDecoderImplementationUidValue;
       
    39 					version_no = 1;
       
    40 					display_name = "PNG";
       
    41 					default_data = {0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A};
       
    42 					opaque_data = {2, 0, 0, 0x10, 0x1F, 0x45, 0xC9, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0x2E, 0x70, 0x6E, 0x67, 0x0D, 2,0x69, 0x6D, 0x61, 0x67, 0x65, 0x2F, 0x70, 0x6E, 0x67, 0x0D, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x2F, 0x78, 0x2D, 0x70, 0x6E, 0x67, 0x0D, 2, 0x10, 0x27, 0x37, 0xFB, 0x10, 0x27, 0x38, 0x10};
       
    43 					// 2 0x0000 0x101F45C9 0x00000000 0x00000000 1 .png 2 image/png image/x-png 2 KSwCodecUidValue KDecodeToReducedSizeSupportUidValue
       
    44 					}
       
    45 				};
       
    46 			},
       
    47 		INTERFACE_INFO
       
    48 			{
       
    49 			interface_uid = KEncoderInterfaceUidValue;
       
    50 			implementations = 
       
    51 				{
       
    52 				BINARY_IMPLEMENTATION_INFO
       
    53 					{
       
    54 					implementation_uid = KPNGEncoderImplementationUidValue;
       
    55 					version_no = 1;
       
    56 					display_name = "PNG";
       
    57 					default_data = {0x3F}; // "?" - Won't match
       
    58 					opaque_data = {2, 0, 0, 0x10, 0x1F, 0x45, 0xC9, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0x2E, 0x70, 0x6E, 0x67, 0x0D, 1, 0x69, 0x6D, 0x61, 0x67, 0x65, 0x2F, 0x70, 0x6E, 0x67, 0x0D, 1, 0x10, 0x27, 0x37, 0xFB};
       
    59 					// 2 0x0000 0x101F45C9 0x00000000 0x00000000 1 .png 1 image/png 1 KSwCodecUidValue
       
    60 					}
       
    61 				};
       
    62 			},
       
    63 		INTERFACE_INFO
       
    64 			{
       
    65 			interface_uid = KStreamDecoderFactoryUidValue;
       
    66 			implementations = 
       
    67 				{
       
    68 				BINARY_IMPLEMENTATION_INFO
       
    69 					{
       
    70 					implementation_uid = KPngStreamDecoderFactoryImplUidValue;
       
    71 					version_no = 1;
       
    72 					display_name = "PNGDecFctr";
       
    73 					default_data = {0x3F}; // "?" - Won't match
       
    74 					}
       
    75 				};
       
    76 			}
       
    77 		};
       
    78 	}
       
    79