Update contrib.
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
19 #ifndef T_DEVVIDEOCONSTANTS_H_
20 #define T_DEVVIDEOCONSTANTS_H_
22 #include <devvideoplay.h>
23 #include <devvideobase.h>
26 // size constant declarations
27 const TInt KScreenNumber = 0;//check documentation for more information about screen number
29 * Length in byte of start code/picture start code
31 const TInt KScLength =3;
32 const TInt KVc1HeaderLength = 36;
34 * Min def. of Max byte size of a h263 coded picture in QCIF
36 const TInt KH263MaxCodedSizeQCIF = (8192); //1024 bytes( 1 kibibyte)
38 const TInt KH263MaxCodedSizeCIF = (32768); //Min def. of Max byte size of a h263 coded picture in CIF
41 * from VBV buffering model
42 * The Video Buffer Verifier (VBV) is a model hypothetical decoder buffer that will not overflow or underflow
43 * when fed a conforming MPEG bit stream.
46 const TInt KMP4MaxCodedSizeQCIF = (10*16384/8);
47 const TInt KMP4MaxCodedSizeCIF = (40*16384/8);
48 const TInt KMP4MaxCodedSizeVGA = (80*16384/8); // 2048 bytes / 8 bits
49 const TInt KMP4MaxCodedSizePAL = (112*16384/8);
50 const TInt KMP4MaxCodedSize720P = (248*16384/8);
51 const TInt KMaxCodedSize = KMP4MaxCodedSize720P; // initialize value
54 * Buffer Options Const
55 * Min Number of Input buffer, used by decoding SetBufferOptions
57 const TInt KNumOfInputBuffers = 2;
61 * Time interval for postproc sync test 15 fps
63 const TInt64 KFrameTimeInterval = (TInt64)(1000000/15) ;
65 * Need to tune if playback timing does not match
67 const TInt64 KStartOffset = 0;
69 const TInt KQVGAWidth = 240;
70 const TInt KQVGAHeight = 320;
72 const TInt KBufferInputPictures = 1;
87 const TInt KNumPictures = 4;
89 const TReal32 KVEDSPH263TimerResolution = 30000 / (TReal32 )1001;
91 #endif /*T_DEVVIDEOCONSTANTS_H_*/