Commit Graph

28 Commits

Author SHA1 Message Date
Sjoerd Mullender 7bbceea6a9 Added support for "compress" type video files. This uses the
Compression Library to decompress the images.
1993-03-17 12:09:29 +00:00
Guido van Rossum 2d413788ca Remove debug print statement 1993-03-02 12:09:18 +00:00
Guido van Rossum 0caf46b6cc VFile: fix c0bits etc. after setformat; Vrec.py: use setformat; rm Makefile. 1993-03-02 12:07:34 +00:00
Guido van Rossum c97d2eddee Change Vinfo and Vaddcache to usr /ufs/guido/bin/sgi/python.
Don't force packfactor to 1 in header when writing rgb data.
Small bugfixes in Vcopy.
1993-02-25 14:50:27 +00:00
Guido van Rossum 5e044b7009 - Separated grabbing (which isn't used much!) from VFile.
- Renamed old Vcopy.py to OldVcopy.py, some cosmetic changes to it (is
  it still needed?)
- Added new Vcopy.py which does everything that Vtime.py does but also
  format conversions, image scaling, and packfactors.
- VFile: make packfactor always a tuple; introduce set and get methods
  for pf, format, and calculate some derived values.
- Added new module GET.py to std library, use it instead of defining
  DM* in VFile.
- Get rid of C programs (new Python programs can do all that they do
  and they probably don't understand the current file format anyway).
1993-02-25 14:20:13 +00:00
Guido van Rossum 9b86e1f5f0 VFile.py: fix bogus getrandomframe().
Vedit.py, VeditForm.fd: added scroll bar, Trunc, layout rearrangement.
Viewer.py: added random access, qinfo() function.
1993-02-16 16:10:02 +00:00
Jack Jansen 41292a81a8 Added a comment about XS 4bit pixel support 1993-01-27 11:41:37 +00:00
Guido van Rossum f1ceba61a4 setsize has two arguments: width, height. 1992-12-24 11:37:21 +00:00
Jack Jansen 6bc8c7f3e2 Added mono, grey2 and grey4 formats 1992-12-23 15:37:20 +00:00
Jack Jansen 3b25371ef1 Changes for supporting monochrome and greyscale video (not yet fully
functional)
1992-12-14 12:25:21 +00:00
Guido van Rossum ff3da0502f Microscopic changes, comments/messages changed.
Real important: turn off FIELDDROP in Vrec.
1992-12-09 22:16:35 +00:00
Guido van Rossum 4df20fa80f New tool Vfix: truncate the right edge of 'grey' type images to make
the scanline width a multiple of 4.

VFile: use gl.gversion() to distinguish 4.0.1 and 4.0.5 Indigos;
truncate width and height to multiples of packfactor.

Vinfo: add -t to descriptive comment; print '!' after packfactor for
files that should be fixed with Vfix.
1992-09-29 17:07:10 +00:00
Guido van Rossum 9e3f335bea VFile: added new formats 'jpeg' and 'jpeggrey'. Decompression is done
using module 'jpeg' by the Displayer class.  (Unfortunately it's too
slow for real time.)  Print file size in printinfo() method.

Vinfo: added -t option (terse -- one line per file) and usage message.

Vtime: use BasicV{in,out}File classes -- the minimum needed.

Vmkjpeg, Vunjpeg: new utilities for jpeg (de)compression.
1992-09-29 13:40:47 +00:00
Guido van Rossum 42e07afe3d Vrec.py: sv now raises sv.error instead of RuntimeError.
VFile.py: support for showing partial frames.
1992-09-22 15:01:43 +00:00
Guido van Rossum 269b2a2eb7 VFile: The Entry-Indigo trick doesn't work on 4.0.1 hosts.
VFile: RandomVinFile can now write the cache to the file.
Vinfo: use the cached index if present and print a message whether it's there.
1992-09-08 15:04:01 +00:00
Guido van Rossum 4526f379bc Fixed "clear()" and added "clearto(r, g, b)".
Added class RandomVinFile which supports random access and warming the cache.
Added eofseen and errorseen methods to BasicVinFile.
Use RGB mode for rgb8 data on entry level Indigo.
Minor cosmetic changes.
1992-09-07 15:28:57 +00:00
Guido van Rossum 4045c2fa5b Almost completely rewritten for cleaner code. 1992-09-07 09:24:17 +00:00
Guido van Rossum e0be2b36b6 Added a clear() method to VFile class, to be called when the window
receives a REDRAW event
1992-09-01 14:45:57 +00:00
Guido van Rossum 9ee7e15966 Created Vedit.py, the video editor. This uses the classes in Viewer.py.
Viewer.py in turn requires changes to VFile.py (unfortunately that file
is now a complete mess...).
1992-08-25 12:29:30 +00:00
Guido van Rossum 33a8d428db Clear the window to rather light grey when switching to RGB mode. 1992-08-21 12:41:23 +00:00
Guido van Rossum 9a35d57ab2 Added reopen() to VinFile with semantics of old rewind(); rewind() now
saves the cache.
Added getinfo() to VoutFile.
Fixed writing of 'grey' file header.
Added quiet parameter.
Adapted to new syntax.
1992-08-20 11:51:47 +00:00
Guido van Rossum 7268c93c55 Minor improvements, comments; fix Vinfo -d. 1992-08-18 21:11:18 +00:00
Guido van Rossum bc0eb9967d Add close() method to VinFile 1992-08-18 17:00:51 +00:00
Guido van Rossum 7ff90ef714 Adapt to new syntax and don't print garbage on self.close(). 1992-08-18 14:16:21 +00:00
Guido van Rossum 2080b347f4 Added class VoutFile.
Added rgb8 support.
Added cache of frame offsets to VinFile.
Misc hacks to grab rgb8 data.
1992-02-28 15:59:23 +00:00
Guido van Rossum 58b38ccc9d standardized lay-out; new syntax. 1992-02-11 14:45:43 +00:00
Guido van Rossum 444339d463 Support for CMIF video 3.0 files (more color systems). 1991-12-03 16:52:40 +00:00
Guido van Rossum 094a9deae6 Initial revision 1991-12-03 16:50:00 +00:00