Commit Graph

41 Commits

Author SHA1 Message Date
Guido van Rossum 1554b7b061 Use constants defined in cl module. (Sjoerd) 1998-10-09 13:26:29 +00:00
Guido van Rossum 9c2c1e88a3 Fix multi-arg list.append() calls. 1998-10-08 15:24:48 +00:00
Sjoerd Mullender 31b7727bad Ported the editor to X. The GL version won't work.
This version needs Jack's img module and Sjoerd's new and improved (?)
X extensions for Python.

The last GL version is still available using the CVS tag "gl-editor".
1994-12-21 15:46:26 +00:00
Guido van Rossum 424e4da9f3 Rot out all uses of time.milli*(). 1993-12-28 21:36:50 +00:00
Guido van Rossum 21a3ff9d5d Uniformly replaced init() functions by __init__() constructors.
A few simple things seem to work, I haven't tested it thouroughly
though...
1993-12-17 15:11:41 +00:00
Sjoerd Mullender f9b7201bb8 * Added support for X window interface.
* Moviechannel now uses colormap mode on 8-bit XS Indigo's instead of
  converting the image to RGB32.
* Compression Library support is dependent on USE_CL compile-time flag.
1993-10-12 12:55:27 +00:00
Jack Jansen 72d73649ff - VFile: moved decompression code to VideoParams (so it is also
useable via VinFile).
- Vcopy: now allows decompression of 'compress' movies.
1993-09-28 16:46:15 +00:00
Jack Jansen 264117295e Sanity check for compress files. 1993-09-28 15:28:44 +00:00
Sjoerd Mullender f993d28794 Don't import gl if not needed.
Fixed a typo.
1993-09-27 12:50:06 +00:00
Jack Jansen 78991fd042 VFile - Added support for creating compression lib movies
Vb, VbForm - Compression lib movie support
	     Save settings in ~/.Vb_init
1993-07-23 11:59:25 +00:00
Guido van Rossum 2939a4cf1a Fixed another place where set_rgbmode() should be called.
Separated out colormap installation (for override by Glx widget).
1993-06-10 14:42:03 +00:00
Guido van Rossum fa04170682 VCR.py: Use unix files instead of stdio files for tty communication,
because of buffering.  Also added several new commands (Jack).
VFile.py: Made setting of RGB or colormap mode separate methods,
	so they can be overridden (e.g. when using the Glx.draw widget
	the way to change the mode is totally different).
1993-06-10 13:32:32 +00:00
Jack Jansen f3f753132a Changed setpf so it understands old-style packfactors 1993-06-01 12:04:08 +00:00
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