diff -r a493a607b5bf -r eabc8c503852 mmmw_plat/thumbnail_engine_api/tsrc/Conf/Emulator_test/VThumbTest.cfg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mmmw_plat/thumbnail_engine_api/tsrc/Conf/Emulator_test/VThumbTest.cfg Tue Sep 21 11:38:43 2010 -0500 @@ -0,0 +1,189 @@ +// _Unsupported_ Those API could be not implemented and return KErrNotSupported + + +[Define] +KErrNotFound -1 +KErrNotSupported -5 +KErrArgument -6 +KErrNotReady -18 +KErrAccessDenied -21 +KErrServerTerminated -15 +KErrNoMemory -4 +KErrCallbackErrorCode -2001 +KErrUnexpectedValue -2002 +KErrNotificationPending -2005 +KErrUnexpectedNotification -2006 +KErrTimeoutController -2007 + +// No display mode + ENone 0 + // Monochrome display mode (1 bpp) + EGray2 1 + // Four grayscales display mode (2 bpp) + EGray4 2 + // 16 grayscales display mode (4 bpp) + EGray16 3 + // 256 grayscales display mode (8 bpp) + EGray256 4 + // Low colour EGA 16 colour display mode (4 bpp) + EColor16 5 + // 256 colour display mode (8 bpp) + EColor256 6 + // 64,000 colour display mode (16 bpp) + EColor64K 7 + // True colour display mode (24 bpp) + EColor16M 8 + // (Not an actual display mode used for moving buffers containing bitmaps) + ERgb 9 + // 4096 colour display (12 bpp). + EColor4K 10 + // True colour display mode (32 bpp, but top byte is unused and unspecified) + EColor16MU 11 + // Display mode with alpha (24bpp colour plus 8bpp alpha) + EColor16MA 12 + // Pre-multiplied Alpha display mode (24bpp color multiplied with the alpha channel value, plus 8bpp alpha) + EColor16MAP 13 + //Any new display mode should be insterted here! + //There might be up to 255 display modes, so value of the last + //inserted EColorXXX enum item should be less than 256 - + //BC reasons! + EColorLast 14 + +[Enddefine] + + +// +// TNE Test Cases +// + +[Test] +id 101 +title 1. Test Thumb for 3gpv5 H263 176*144 file by Newl File Name +create VThumbTest tne +tne TNENewLFileName c:\testing\data\TNETestData\3GPPv5_H263_176x144.3gp +waittestclass tne +tne GetThumb 1 120 80 0 EColor16M +waittestclass tne +delete tne +pause 1000 +[Endtest] + +[Test] +id 102 +title 2. Test Thumb for 3gpv5 H263 176*144 file by Newl File Handle +create VThumbTest tne +tne TNENewLFileHandle c:\testing\data\TNETestData\3GPPv5_H263_176x144.3gp +waittestclass tne +tne GetThumb 1 120 80 0 EColor16M +waittestclass tne +delete tne +pause 1000 +[Endtest] + +[Test] +id 103 +title 3. Test Thumb for 3gpv5 H263 176*144 file by NewLC File Name +create VThumbTest tne +tne TNENewLCFileName c:\testing\data\TNETestData\3GPPv5_H263_176x144.3gp +waittestclass tne +tne GetThumb 1 120 80 0 EColor16M +waittestclass tne +delete tne +pause 1000 +[Endtest] + +[Test] +id 104 +title 4. Test Thumb for 3gpv5 H263 176*144 file by NewLC File Handle +create VThumbTest tne +tne TNENewLCFileHandle c:\testing\data\TNETestData\3GPPv5_H263_176x144.3gp +waittestclass tne +tne GetThumb 1 120 80 0 EColor16M +waittestclass tne +delete tne +pause 1000 +[Endtest] + +[Test] +id 105 +title 5. Test Thumb for 3gpv6 H263 352*288 file by Newl File Name +create VThumbTest tne +tne TNENewLFileName c:\testing\data\TNETestData\3GPPv6_H263_352x288.3gp +waittestclass tne +tne GetThumb 1 120 80 0 EColor16M +waittestclass tne +delete tne +pause 1000 +[Endtest] + +[Test] +id 106 +title 6. Test Thumb for 3gpv6 H264 352*288 file by Newl File Name +create VThumbTest tne +tne TNENewLFileName c:\testing\data\TNETestData\3GPPv6_H264_352x288.3gp +waittestclass tne +tne GetThumb 1 120 80 0 EColor16M +waittestclass tne +delete tne +pause 1000 +[Endtest] + +[Test] +id 107 +title 7. Test Thumb for ODD FRAME SIZE - 3gpv6 H264 352*288 file by Newl File Name +create VThumbTest tne +tne TNENewLFileName c:\testing\data\TNETestData\3GPPv6_H264_352x288.3gp +waittestclass tne +tne GetThumb 1 111 83 0 EColor16M +waittestclass tne +delete tne +pause 1000 +[Endtest] + +[Test] +id 108 +title 8. Test Thumb for 3gpv6 MPEG4SP 352*288 file by Newl File Name +create VThumbTest tne +tne TNENewLFileName c:\testing\data\TNETestData\3GPPv6_MPEG4SP_352x288.3gp +waittestclass tne +tne GetThumb 1 120 80 0 EColor16M +waittestclass tne +delete tne +pause 1000 +[Endtest] + +[Test] +id 109 +title 9. Test Thumb for Real Video 10 640*480 file by Newl File Name +create VThumbTest tne +tne TNENewLFileName c:\testing\data\TNETestData\RV10_640x480.rm +waittestclass tne +tne GetThumb 1 120 80 0 EColor16M +waittestclass tne +delete tne +pause 1000 +[Endtest] + +[Test] +id 110 +title 10. Test Thumb for Real Video 9 352*288 file by Newl File Handle +create VThumbTest tne +tne TNENewLFileHandle c:\testing\data\TNETestData\RV9_352x288.rm +waittestclass tne +tne GetThumb 1 120 80 0 EColor16M +waittestclass tne +delete tne +pause 1000 +[Endtest] + +[Test] +id 111 +title 11. Test Thumb for WMV file by NewlC File Handle +create VThumbTest tne +tne TNENewLCFileHandle c:\testing\data\TNETestData\camera.wmv +waittestclass tne +tne GetThumb 1 120 80 0 EColor16M +waittestclass tne +delete tne +pause 1000 +[Endtest] \ No newline at end of file