home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR2 / DVPG30FS.ZIP / README.SRC < prev    next >
Text File  |  1993-10-27  |  3KB  |  65 lines

  1.                DVPEG C Source Code README file     (Feb. 28, 1993)
  2.                -------------------------------
  3.  
  4. This is the readme file for my modifications/additions to the IJG JPEG source
  5. code.  This was compiled using Borland C/C++ 3.1 and the project files are
  6. for Borland C.  The JPEG conversion code was from IJG, the SVGA drivers were
  7. originally from vgakit41.zip and everything else is my creation (mainly
  8. jvmain.c, jvutils.c, jvdraw.c, all of the videosetup stuff.
  9.  
  10.   For an explanation of the programs operation get the executable files
  11. (dvpgXX.zip) and look at their readme files (XX is the version number).
  12.  
  13.   Recently the video routines were redone to better support the 15 and 24 bit
  14. video cards.  The program is at the point where it could easily be changed to
  15. read VPic configuration files.
  16.  
  17.   For a list of modifications done between versions check the text at the
  18. start of jvmain.c
  19.  
  20. *******************************************************
  21. Note:  This is probably the last version of DVPEG.  The SVGAkit will probably
  22.    be used for its much better graphics routines in future versions.  This
  23.    will allow me to support more video cards and automatically detect what
  24.    video modes are supported.  If you are doing graphics programming you
  25.    _must_ have this tool.
  26. ********************************************************
  27.    
  28.   I have also included a document file from the IJG JPEG source so that you
  29. can get new versions etc from their archive sites.
  30.  
  31.   The main viewer module is jvmain.c  (with jvutil.c providing utilities).
  32. There are 3 project files.  DVPEG is the viewer, DVPEG286 is the 286 viewer
  33. and VIDSETUP is the video setup program.  The dvpeg-re project and files
  34. are for a "REduced viewer".  It is a JPEG as grayscale only and does not
  35. support any quantizing for JPEG images.  It was done to create a smaller
  36. executable without some features for reduced memory, grayscale GIF, JPEG
  37. viewing.
  38.  
  39.  If you are going to compile the 286 version and/or switch between that and
  40. the 386 version you must recompile all modules because the 386 version uses
  41. 386 assembler while the 286 version will use the C code (slower).  But you
  42. must ensure that the appropiate .obj files get replaced (currently jrevdct.*,
  43. jquant2.*).
  44.  
  45.   The compiler flag small_viewer is used to compile a version of the viewer
  46. for 386 machines that only supports grayscale JPEGs, does not quantize. It
  47. will show color JPEGs but only as grayscale, undithered, unquantized.  This
  48. is for people who require a small viewer for JPEG, GIF, ... in grayscale.
  49.  
  50.   The differences between the 386 and 286 versions are in the 386 flag of
  51. Borland C.  I no longer use assembler files since BC 3.1 seems to generate
  52. fairly good code.
  53.  
  54.   This program is getting really messy as I push it for speed.  The merging
  55. of the IJG JPEG code with my own (jdcolor.c) gave me a 25% speed boost for
  56. 15 & 16 bit graphics modes but the output is growing very complex.
  57.  
  58.   Documentation is still sparce but I am working on it.  The main to-do is now
  59. going to be improvment in the hi_color viewing code.
  60.  
  61.   - Eric
  62.         praetzel@sunee.uwaterloo.ca
  63.  
  64. DVPEG is always at @ sunee in pub/jpeg/viewers
  65.