/***************************************************************** * tmn (TMN encoder) * Copyright (C) 1995 Telenor R&D * Karl Olav Lillevold * * *****************************************************************/ #define YES 1 #define NO 0 /* default input sequence filename ( also option "-i " ) */ #define DEF_SEQNAME "~/datum/h26data/work/foreman.qcif" /* default output bitstream filename ( also option "-B " ) */ #define DEF_STREAMNAME "./stream.263" #define DEF_EN_STREAMNAME "./stream2.263" /* default filename for reconstructed sequence ( also option "-o " ) */ #define DEF_OUTFILENAME "./out.qcif" /* default filename for difference images if "-w" is used */ #define DEF_DIFFILENAME "./diff.qcif" /* default P-framerate if buffer regulation is used */ /* PB-framerate will usually end up around two times this value */ #define DEF_TARGET_FRAMERATE 6.25 /* default picture rate, usually 25 or 30 Hz */ #define DEF_PICTURE_RATE 30.0 /* default integer pel search seek distance ( also option "-s " ) */ #define DEF_SEEK_DIST 15 /* default search window for 8x8 search centered around 16x16 vector */ /* for best performance, keep this small */ #define DEF_8X8_WIN 1 /* default search window for PB delta vectors */ /* keep this small also */ #define DEF_PBDELTA_WIN 2 /* BQUANT parameter for PB-frame coding * (n * QP / 4 ) * * BQUANT n * 0 5 * 1 6 * 2 7 * 3 8 * ( also option "-Q " ) */ #define DEF_BQUANT 2 /* MAX_PB_FRAMESKIP: the maximum frameskip at which a B-frame will be * inserted. This should not be too small, since switching on and off * PB-frame coding does not look very good. A smarter mechanism for * choosing PB-frame coding or not should be used */ #define MAX_PB_FRAMESKIP 15 /* write repeated reconstructed frames to disk (useful for variable * framerate, since sequence will be saved at 25 Hz) * Can be changed at run-time with option "-m" */ #define DEF_WRITE_REPEATED NO /* headerlength on concatenated 4:1:1 YUV input file * Can be changed at run-time with option -e */ #define DEF_HEADERLENGTH 0