os/mm/imagingandcamerafws/imagingfws/MediaClientImage/Documentation/TestCode.rtf
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
{\rtf1\ansi\ansicpg1252\uc1 \deff0\deflang1033\deflangfe1033{\fonttbl{\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f1\fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Arial;}
sl@0
     2
{\f16\froman\fcharset238\fprq2 Times New Roman CE;}{\f17\froman\fcharset204\fprq2 Times New Roman Cyr;}{\f19\froman\fcharset161\fprq2 Times New Roman Greek;}{\f20\froman\fcharset162\fprq2 Times New Roman Tur;}
sl@0
     3
{\f21\froman\fcharset186\fprq2 Times New Roman Baltic;}{\f22\fswiss\fcharset238\fprq2 Arial CE;}{\f23\fswiss\fcharset204\fprq2 Arial Cyr;}{\f25\fswiss\fcharset161\fprq2 Arial Greek;}{\f26\fswiss\fcharset162\fprq2 Arial Tur;}
sl@0
     4
{\f27\fswiss\fcharset186\fprq2 Arial Baltic;}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;
sl@0
     5
\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}{\stylesheet{\widctlpar\adjustright \fs20\lang2057 \snext0 Normal;}{
sl@0
     6
\s1\sb240\sa60\keepn\widctlpar\adjustright \b\f1\fs28\lang2057\kerning28 \sbasedon0 \snext0 heading 1;}{\s2\sb240\sa60\keepn\widctlpar\adjustright \b\i\f1\lang2057 \sbasedon0 \snext0 heading 2;}{\s3\sb240\sa60\keepn\widctlpar\adjustright \f1\lang2057 
sl@0
     7
\sbasedon0 \snext0 heading 3;}{\s4\keepn\widctlpar\outlinelevel3\adjustright \b\f1\fs20\lang2057 \sbasedon0 \snext0 heading 4;}{\s5\keepn\widctlpar\outlinelevel4\adjustright \b\f1\lang2057 \sbasedon0 \snext0 heading 5;}{\*\cs10 \additive 
sl@0
     8
Default Paragraph Font;}}{\*\listtable{\list\listtemplateid38323078\listsimple{\listlevel\levelnfc23\leveljc0\levelfollow0\levelstartat0\levelspace0\levelindent0{\leveltext\'01-;}{\levelnumbers;}\f0\fbias0 \fi-360\li1800\jclisttab\tx1800 }{\listname 
sl@0
     9
;}\listid817500656}{\list\listtemplateid38323078\listsimple{\listlevel\levelnfc23\leveljc0\levelfollow0\levelstartat0\levelspace0\levelindent0{\leveltext\'01-;}{\levelnumbers;}\f0\fbias0 \fi-360\li1800\jclisttab\tx1800 }{\listname ;}\listid1308366115}
sl@0
    10
{\list\listtemplateid38323078\listsimple{\listlevel\levelnfc23\leveljc0\levelfollow0\levelstartat0\levelspace0\levelindent0{\leveltext\'01-;}{\levelnumbers;}\f0\fbias0 \fi-360\li1800\jclisttab\tx1800 }{\listname ;}\listid1721782559}}{\*\listoverridetable
sl@0
    11
{\listoverride\listid1308366115\listoverridecount0\ls1}{\listoverride\listid817500656\listoverridecount0\ls2}{\listoverride\listid1721782559\listoverridecount0\ls3}}{\info{\title BITGDI test code}{\author Lane Roberts}{\operator John Forrest}
sl@0
    12
{\creatim\yr2001\mo6\dy19\hr12\min56}{\revtim\yr2002\mo2\dy19\hr17\min51}{\version6}{\edmins37}{\nofpages3}{\nofwords355}{\nofchars2027}{\*\company Dell Computer Corporation}{\nofcharsws0}{\vern113}}\paperw11909\paperh16834\margl1440\margr1440 
sl@0
    13
\widowctrl\ftnbj\aenddoc\hyphcaps0\formshade\viewkind4\viewscale100 \fet0\sectd \psz9\linex0\headery706\footery706\colsx709\endnhere\sectdefaultcl {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang{\pntxta .}}{\*\pnseclvl2
sl@0
    14
\pnucltr\pnstart1\pnindent720\pnhang{\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang{\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang{\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}{\*\pnseclvl6
sl@0
    15
\pnlcltr\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang{\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang
sl@0
    16
{\pntxtb (}{\pntxta )}}\pard\plain \s1\sb240\sa60\keepn\widctlpar\outlinelevel0\adjustright \b\f1\fs28\lang2057\kerning28 {MEDIASVR test code
sl@0
    17
\par }\pard\plain \widctlpar\adjustright \fs20\lang2057 {\f1 
sl@0
    18
\par }{\b\f1\fs24 Points to note
sl@0
    19
\par }{\f1 This code uses the Image Conversion library. The latter should be tested first, where applicable. TMdaFailVid in particular takes a significant time.
sl@0
    20
\par }{\b\f1\fs24 
sl@0
    21
\par Test executable file locations
sl@0
    22
\par 
sl@0
    23
\par }\trowd \trgaph108\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \trbrdrh\brdrs\brdrw10 \trbrdrv\brdrs\brdrw10 \clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr
sl@0
    24
\brdrs\brdrw10 \clshdng10000\cltxlrtb \cellx3050\clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \clshdng10000\cltxlrtb \cellx6208\pard \widctlpar\intbl\adjustright {\b\f1 WINS location\cell 
sl@0
    25
Hardware location\cell }\pard \widctlpar\intbl\adjustright {\b\f1 \row }\trowd \trgaph108\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \trbrdrh\brdrs\brdrw10 \trbrdrv\brdrs\brdrw10 \clvertalt
sl@0
    26
\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb \cellx3050\clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb \cellx6208\pard 
sl@0
    27
\widctlpar\intbl\adjustright {\f1 \\epoc32\\release\\wins\\udeb\\
sl@0
    28
\par or
sl@0
    29
\par \\epoc32\\release\\wins\\urel\\\cell c:\\ or z:\\\cell }\pard \widctlpar\intbl\adjustright {\f1 \row }\pard \widctlpar\adjustright {\f1 
sl@0
    30
\par }\pard\plain \s5\keepn\widctlpar\outlinelevel4\adjustright \b\f1\lang2057 {Automatic test executables - should be run before every release
sl@0
    31
\par }\pard\plain \widctlpar\adjustright \fs20\lang2057 {\f1 Success: Test program exits cleanly.
sl@0
    32
\par Failure: Test program stops with an error message.}{
sl@0
    33
\par }{\b\f1 
sl@0
    34
\par }\trowd \trgaph108\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \trbrdrh\brdrs\brdrw10 \trbrdrv\brdrs\brdrw10 \clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr
sl@0
    35
\brdrs\brdrw10 \clshdng10000\cltxlrtb \cellx2380\clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \clshdng10000\cltxlrtb \cellx8155\pard\plain \s4\keepn\widctlpar\intbl\outlinelevel3\adjustright 
sl@0
    36
\b\f1\fs20\lang2057 {Filename\cell Purpose\cell }\pard\plain \widctlpar\intbl\adjustright \fs20\lang2057 {\b\f1 \row }\trowd \trgaph108\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \trbrdrh
sl@0
    37
\brdrs\brdrw10 \trbrdrv\brdrs\brdrw10 \clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb \cellx2380\clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr
sl@0
    38
\brdrs\brdrw10 \cltxlrtb \cellx8155\pard \widctlpar\intbl\adjustright {\f1 TMDAAUD.EXE\cell Audio tests\cell }\pard \widctlpar\intbl\adjustright {\b\f1 \row }\pard \widctlpar\intbl\adjustright {\f1 TMDAFAILVID.EXE\cell Image alloc heaven tests\cell 
sl@0
    39
}\pard \widctlpar\intbl\adjustright {\b\f1 \row }\pard \widctlpar\intbl\adjustright {\f1 TMDASTRESS.EXE\cell Multiple client tests\cell }\pard \widctlpar\intbl\adjustright {\b\f1 \row }\trowd \trgaph108\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl
sl@0
    40
\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \trbrdrh\brdrs\brdrw10 \trbrdrv\brdrs\brdrw10 \clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb \cellx2380\clvertalt\clbrdrt
sl@0
    41
\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb \cellx8155\pard \widctlpar\intbl\adjustright {\f1 TMDAVID.EXE\cell Image handling tests\cell }\pard \widctlpar\intbl\adjustright {\b\f1 \row }\pard 
sl@0
    42
\widctlpar\adjustright {\b\f1 
sl@0
    43
\par }{\b\f1\fs24 Manual test applications}{\f1 
sl@0
    44
\par }{\b\f1 
sl@0
    45
\par }\trowd \trgaph108\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \trbrdrh\brdrs\brdrw10 \trbrdrv\brdrs\brdrw10 \clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr
sl@0
    46
\brdrs\brdrw10 \clshdng10000\cltxlrtb \cellx1350\clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \clshdng10000\cltxlrtb \cellx8640\pard \widctlpar\intbl\adjustright {\b\f1 Filename\cell Purpose\cell 
sl@0
    47
}\pard \widctlpar\intbl\adjustright {\b\f1 \row }\trowd \trgaph108\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \trbrdrh\brdrs\brdrw10 \trbrdrv\brdrs\brdrw10 \clvertalt\clbrdrt\brdrs\brdrw10 
sl@0
    48
\clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb \cellx1350\clvertalt\clbrdrt\brdrs\brdrw10 \clbrdrl\brdrs\brdrw10 \clbrdrb\brdrs\brdrw10 \clbrdrr\brdrs\brdrw10 \cltxlrtb \cellx8640\pard \widctlpar\intbl\adjustright {\f1 
sl@0
    49
TVIDEO.APP\cell Image file viewer \endash  install as an application with TVIDEO.AIF and TVIDEO.RSC\cell }\pard \widctlpar\intbl\adjustright {\f1 \row }\pard \widctlpar\adjustright {\b\f1\fs24 
sl@0
    50
\par TMDAVID.EXE/TMDAFAILVID.EXE/TMDASTRESS.EXE support files}{\f1 
sl@0
    51
\par Install to \\epoc32\\wins\\c\\tmdavid\\ on WINS and [c|d|z]:\\tmdavid\\ on hardware:
sl@0
    52
\par 
sl@0
    53
\par bmp1bpp.bmp
sl@0
    54
\par bmp24bpp.bmp
sl@0
    55
\par bmp4bpp.bmp
sl@0
    56
\par bmp8bpp.bmp
sl@0
    57
\par bmprle4.bmp
sl@0
    58
\par bmprle8.bmp
sl@0
    59
\par jfif10.jpg
sl@0
    60
\par jfif100.jpg
sl@0
    61
\par jfif30.jpg
sl@0
    62
\par jfif420.jpg
sl@0
    63
\par jfif422.jpg
sl@0
    64
\par jfif444.jpg
sl@0
    65
\par jfif60.jpg
sl@0
    66
\par jfifMono.jpg
sl@0
    67
\par jfifProg.jpg
sl@0
    68
\par mbm12bpp.mbm
sl@0
    69
\par mbm16bpp.mbm
sl@0
    70
\par mbm1bpp.mbm
sl@0
    71
\par mbm24bpp.mbm
sl@0
    72
\par mbm2bpp.mbm
sl@0
    73
\par mbm4bppc.mbm
sl@0
    74
\par mbm4bppm.mbm
sl@0
    75
\par mbm8bppc.mbm
sl@0
    76
\par mbm8bppm.mbm
sl@0
    77
\par png1.png
sl@0
    78
\par png2.png
sl@0
    79
\par png3.png
sl@0
    80
\par png4.png
sl@0
    81
\par tif1.tif
sl@0
    82
\par tif2.tif
sl@0
    83
\par tif3.tif
sl@0
    84
\par tmdavid.mbm
sl@0
    85
\par trans.gif
sl@0
    86
\par wmf1.wmf
sl@0
    87
\par wmf2.wmf
sl@0
    88
\par wmf3.wmf
sl@0
    89
\par wmf4.wmf
sl@0
    90
\par wmf5.wmf
sl@0
    91
\par wmf6.wmf
sl@0
    92
\par 
sl@0
    93
\par Install to \\epoc32\\wins\\c\\tmdavid\\anon\\ on WINS and [c|d|z]:\\tmdavid\\anon\\ on hardware:
sl@0
    94
\par 
sl@0
    95
\par otabitmap
sl@0
    96
\par otabitmap.mbm
sl@0
    97
\par wirelessbitmap
sl@0
    98
\par wirelessbitmap.mbm
sl@0
    99
\par 
sl@0
   100
\par Install to \\epoc32\\wins\\c\\tmdavid\\ref\\ on WINS and [c|d|z]:\\tmdavid\\ref\\ on hardware:
sl@0
   101
\par 
sl@0
   102
\par bmp1bpp.mbm
sl@0
   103
\par bmp4bpp.mbm
sl@0
   104
\par bmp8bpp.mbm
sl@0
   105
\par bmp24bpp.mbm
sl@0
   106
\par bmprle4.mbm
sl@0
   107
\par bmprle8.mbm
sl@0
   108
\par jfif10.mbm
sl@0
   109
\par jfif100.mbm
sl@0
   110
\par jfif30.mbm
sl@0
   111
\par jfif420.mbm
sl@0
   112
\par jfif422.mbm
sl@0
   113
\par jfif444.mbm
sl@0
   114
\par jfif60.mbm
sl@0
   115
\par jfifMono.mbm
sl@0
   116
\par jfifProg.mbm
sl@0
   117
\par mbm12bpp.mbm
sl@0
   118
\par mbm16bpp.mbm
sl@0
   119
\par mbm1bpp.mbm
sl@0
   120
\par mbm24bpp.mbm
sl@0
   121
\par mbm2bpp.mbm
sl@0
   122
\par mbm4bppc.mbm
sl@0
   123
\par mbm4bppm.mbm
sl@0
   124
\par mbm8bppc.mbm
sl@0
   125
\par mbm8bppm.mbm
sl@0
   126
\par png1.mbm
sl@0
   127
\par png2.mbm
sl@0
   128
\par png3.mbm
sl@0
   129
\par png4.mbm
sl@0
   130
\par scaled0.mbm
sl@0
   131
\par scaled1.mbm
sl@0
   132
\par scaled2.mbm
sl@0
   133
\par scaled3.mbm
sl@0
   134
\par scaled4.mbm
sl@0
   135
\par scaled5.mbm
sl@0
   136
\par tif1.mbm
sl@0
   137
\par tif2.mbm
sl@0
   138
\par tif3.mbm
sl@0
   139
\par tmdavid.mbm
sl@0
   140
\par trans.mbm
sl@0
   141
\par wmf1.mbm
sl@0
   142
\par wmf2.mbm
sl@0
   143
\par wmf3.mbm
sl@0
   144
\par wmf4.mbm
sl@0
   145
\par wmf5.mbm
sl@0
   146
\par wmf6.mbm
sl@0
   147
\par }{\f1\fs24 
sl@0
   148
\par }{\b\f1\fs24 Test rom building
sl@0
   149
\par }{\f1 
sl@0
   150
\par mediasvr\\group\\mediasvrconvert.iby is listed in bld.inf as an export to \\epoc32\\rom\\include. 
sl@0
   151
\par mediasvr\\group\\mediasvrtest.iby is listed in bld.inf as a test export with destination \\epoc32\\rom\\include\\.  
sl@0
   152
\par 
sl@0
   153
\par To build for rom, typically use the line from \\epoc32\\rom:
sl@0
   154
\par \tab tools\\buildrom assabet engbuild imageconversion.iby mediasvrconvert.iby mediasvrtest.iby
sl@0
   155
\par 
sl@0
   156
\par }}