1 // Copyright (c) 2007-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Constants and structs specific to Sorenson Spark. See the DevVideo specs for more details.
18 #ifndef __DEVVIDEO_SORENSENSPARK_H__
19 #define __DEVVIDEO_SORENSENSPARK_H__
24 Specifies the picture type.
28 enum TSparkPictureType
33 ESparkPictureTypeKey = 0x01,
35 Indicates a predicted or inter frame
37 ESparkPictureTypeP = 0x02,
39 Indicates a predicted frame that is disposable
41 ESparkPictureTypeDisp = 0x04
45 Specifies action of deblocking filter
60 Apply deblocking as requested by video packet deblocking flag
62 EDeblockAsIndicated = 0x4
67 Settings to describe decompression
71 class TSparkDecompressSettings
75 If this member is set to EDeblockNever the decompressor will never deblock the image even
76 if the deblocking bit is set in the bitstream. If this member is set to EDeblockAlways the
77 decompressor will deblock the image even if the deblocking bit not set in the bitstream.
78 If this member is set to EDeblockAsIndicated then deblocking will only occur when the
79 deblocking bit in the bitstream is set to 1.
81 TSparkDeblocking iDeblockingMethod;
86 Sorenson Spark video packet header
90 class TSparkPictureHeader
94 Indicates the temporal reference, which is formed by incrementing the value in the previously transmitted
95 picture header by one, plus the number of non-transmitted pictures since the previously transmitted one.
97 TUint iTemporalReference;
99 Indicates the picture coding type. iPictureType is set according to the picture header as one of
100 the values defined in TSparkPictureType
102 TSparkPictureType iPictureType;
104 Requests use of deblocking filter
108 Indicates the initial value of the quantization parameter