imagehandlingutilities/thumbnailmanager/plugins/audio/traces/thumbnailimagedecoderv3Traces.h
author Jyri Kokkonen <jyri.kokkonen@nokia.com>
Fri, 10 Sep 2010 13:34:28 +0100
changeset 45 7af3f0a4f708
child 46 292fa3105576
permissions -rw-r--r--
More missing "traces" directories, to complete the fix for Bug 3676
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
45
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     1
/*
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     2
* Copyright (c) 2006-2007 Nokia Corporation and/or its subsidiary(-ies). 
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     3
* All rights reserved.
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     4
* This component and the accompanying materials are made available
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     6
* which accompanies this distribution, and is available
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     8
*
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
     9
* Initial Contributors:
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    11
*
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    12
* Contributors:
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    13
*
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    14
* Description:  Image thumbnail decoder
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    15
 *
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    16
*/
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    17
// Created by TraceCompiler 2.3.0
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    18
// DO NOT EDIT, CHANGES WILL BE LOST
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    19
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    20
#ifndef __THUMBNAILIMAGEDECODERV3TRACES_H__
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    21
#define __THUMBNAILIMAGEDECODERV3TRACES_H__
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    22
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    23
#define KOstTraceComponentID 0x20022d5d
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    24
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    25
#define CTHUMBNAILIMAGEDECODERV3_CREATEL 0x860005
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    26
#define CTHUMBNAILIMAGEDECODERV3_DECODEL 0x860006
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    27
#define DUP1_CTHUMBNAILIMAGEDECODERV3_DECODEL 0x860007
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    28
#define DUP2_CTHUMBNAILIMAGEDECODERV3_DECODEL 0x860008
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    29
#define CTHUMBNAILIMAGEDECODERV3_CREATEDECODERL 0x860009
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    30
#define DUP1_CTHUMBNAILIMAGEDECODERV3_CREATEDECODERL 0x86000a
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    31
#define DUP2_CTHUMBNAILIMAGEDECODERV3_CREATEDECODERL 0x86000b
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    32
#define DUP3_CTHUMBNAILIMAGEDECODERV3_CREATEDECODERL 0x86000c
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    33
#define DUP4_CTHUMBNAILIMAGEDECODERV3_CREATEDECODERL 0x86000d
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    34
#define DUP5_CTHUMBNAILIMAGEDECODERV3_CREATEDECODERL 0x86000e
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    35
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    36
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    37
#ifndef __OSTTRACEGEN3_TUINT32_TINT_TINT_TINT__
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    38
#define __OSTTRACEGEN3_TUINT32_TINT_TINT_TINT__
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    39
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    40
inline TBool OstTraceGen3( TUint32 aTraceID, TInt aParam1, TInt aParam2, TInt aParam3 )
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    41
    {
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    42
    TBool retval = BTraceFiltered8( EXTRACT_GROUP_ID(aTraceID), EOstTraceActivationQuery, KOstTraceComponentID, aTraceID );
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    43
    if ( retval )
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    44
        {
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    45
        TUint8 data[ 12 ];
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    46
        TUint8* ptr = data;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    47
        *( ( TInt* )ptr ) = aParam1;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    48
        ptr += sizeof ( TInt );
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    49
        *( ( TInt* )ptr ) = aParam2;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    50
        ptr += sizeof ( TInt );
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    51
        *( ( TInt* )ptr ) = aParam3;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    52
        ptr += sizeof ( TInt );
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    53
        ptr -= 12;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    54
        retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, 12 );
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    55
        }
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    56
    return retval;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    57
    }
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    58
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    59
#endif // __OSTTRACEGEN3_TUINT32_TINT_TINT_TINT__
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    60
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    61
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    62
#ifndef __OSTTRACEGEN3_TUINT32_TINT32_TINT32_TINT32__
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    63
#define __OSTTRACEGEN3_TUINT32_TINT32_TINT32_TINT32__
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    64
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    65
inline TBool OstTraceGen3( TUint32 aTraceID, TInt32 aParam1, TInt32 aParam2, TInt32 aParam3 )
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    66
    {
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    67
    TBool retval = BTraceFiltered8( EXTRACT_GROUP_ID(aTraceID), EOstTraceActivationQuery, KOstTraceComponentID, aTraceID );
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    68
    if ( retval )
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    69
        {
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    70
        TUint8 data[ 12 ];
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    71
        TUint8* ptr = data;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    72
        *( ( TInt* )ptr ) = aParam1;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    73
        ptr += sizeof ( TInt );
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    74
        *( ( TInt* )ptr ) = aParam2;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    75
        ptr += sizeof ( TInt );
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    76
        *( ( TInt* )ptr ) = aParam3;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    77
        ptr += sizeof ( TInt );
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    78
        ptr -= 12;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    79
        retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, 12 );
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    80
        }
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    81
    return retval;
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    82
    }
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    83
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    84
#endif // __OSTTRACEGEN3_TUINT32_TINT32_TINT32_TINT32__
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    85
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    86
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    87
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    88
#endif
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    89
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    90
// End of file
7af3f0a4f708 More missing "traces" directories, to complete the fix for Bug 3676
Jyri Kokkonen <jyri.kokkonen@nokia.com>
parents:
diff changeset
    91