Greeting,
I've tried to make a minimal minimad.exe. I just let the minimad.exe to deal with MPEG-I Layer 3 source. Now the code size is about 92K. I used exe2bin,provided by Microsoft, to remove the execution header, but failed. The exe2bin seems to only handle executions which are gernerated by assembler. Therefore so far I do not know the code size of this minimal decode engine.
Any one know how to get the estimation ? Any one has the reference data ?
Thanks a lot.
On Tue, 05 Aug 2003 18:10:08 +0800, Yeh You-Ying(EnE) youying@ene.com.tw wrote:
Therefore so far I do not know the code size of this minimal decode engine.
Any one know how to get the estimation ? Any one has the reference data ?
Try compiling this minimal program with the same compiler you used to build minimad. Subtract the size of the minimal program from the size of minimad.exe, and you'll have the actual code/data size of the engine.
/* minimal C program */ int main() { return 0; }
On Tuesday, August 5, 2003, at 03:10 AM, Yeh You-Ying(EnE) wrote:
I've tried to make a minimal minimad.exe. I just let the minimad.exe to deal with MPEG-I Layer 3 source. Now the code size is about 92K. I used exe2bin,provided by Microsoft, to remove the execution header, but failed. The exe2bin seems to only handle executions which are gernerated by assembler. Therefore so far I do not know the code size of this minimal decode engine.
Any one know how to get the estimation ?
If you have Cygwin installed, you can get code size information with 'size':
% size minimad.exe text data bss dec hex filename 85504 2560 96 88160 15860 minimad.exe