Commit Graph

1348 Commits

Author SHA1 Message Date
Guido van Rossum 85f7bd5251 Vrec.py, Vrecb.py:
- call v.SetParam() after v.BindGLWindow()
	 - turn of dithering in mono/grey mode
	 - use prefposition to place the top left corner at (150, 150)
	   (so that the video remains visible during recording)
	 - default width is 256
Vcopy.py: correct typos; more verbose output.
OldVcopy.py: new name for Jack's old grabbing Vcopy.py.
Vstat.py: print values of all video parameters.
1993-02-25 16:10:16 +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 b616ebe4e4 Rewrite applypackfactor() using imageop: faster and more general;
get rid of testpackfactor(): not longer necessary
1993-02-25 00:19:14 +00:00
Guido van Rossum be6d77a9b8 Fix typos in jpeg code 1993-02-25 00:17:22 +00:00
Guido van Rossum 83c81448b1 Fix terse mode for printing tuple packfactor and to avoid zero division 1993-02-25 00:16:27 +00:00
Jack Jansen 09bf3e310b Added audio recording to Vrecb 1993-02-24 16:08:21 +00:00
Guido van Rossum a557b0f34e Added jpeg conversions 1993-02-23 17:08:53 +00:00
Guido van Rossum ccd5bad471 Extensive changes to regex module (group(), casefold, etc.) 1993-02-23 13:42:39 +00:00
Jack Jansen 337b20e23e Added audioop.reverse() which reverses an audio sample 1993-02-23 13:39:57 +00:00
Guido van Rossum 36d330bf36 * regexmodule.c: added use of translation table, substring() method. 1993-02-21 20:12:16 +00:00
Guido van Rossum 970871f8e6 * Changed preface in texipre.dat.
* Added libwww entry to Makefile.
* Documented new array module.
* Documented extensions to regex (last, substring, translation table).
1993-02-21 20:10:26 +00:00
Guido van Rossum 778983b481 Added new module "array" (for now optional) defining array objects. 1993-02-19 15:55:02 +00:00
Jack Jansen 171a55bf56 Will now generate converters that go thru intermedeate formats 1993-02-19 15:52:30 +00:00
Jack Jansen 4fada9c8e0 Added converters for rgb<->rgb8 and rgb<->grey 1993-02-19 15:51:41 +00:00
Jack Jansen fa1b9f63c9 Added dither() routine 1993-02-19 12:53:12 +00:00
Jack Jansen 1e0fdd8a6b Bug fixed wrt greyscale conversion 1993-02-19 10:06:52 +00:00
Jack Jansen c82cfc86df Fix to allow tightly packed films to be converted 1993-02-19 10:06:28 +00:00
Guido van Rossum 245be3a3c5 The usual cosmetic changes after Jack is done... 1993-02-18 18:09:18 +00:00
Jack Jansen b05eaf1909 DisplayVideoIn - Class similar to LiveVideoIn but sends data from
screen
Dsend - Main program analogous to Vsend to send data from display
1993-02-17 15:58:49 +00:00
Jack Jansen 1d6821f58f Added support for 24-bit rgb movies 1993-02-17 15:54:32 +00:00
Jack Jansen 7961ea7868 Moved line-size stuff to single routine 1993-02-17 15:54:06 +00:00
Jack Jansen eeec33f820 Companion to rgb2video: convert cmif film file to rgb files 1993-02-17 15:52:56 +00:00
Jack Jansen a90805f1c0 This time really check in the new routines :-) 1993-02-17 14:29:28 +00:00
Jack Jansen dd8a6eac57 Added lin2lin, findmax, findfactor and fintfit routines 1993-02-17 14:21:09 +00:00
Sjoerd Mullender 22e44cd0b5 * clmodule.c: the documentation was wrong, so changed the interface
accordingly: SetMin, SetMax, SetDefault are no longer methods of the
  compressor/decompressor but are functions of the cl module and they
  take a first argument which is a compression scheme
1993-02-17 09:11:14 +00:00
Guido van Rossum 3ea6161bb5 Cleanup of old files, added watchcursor.py (for Vedit.py), updated README. 1993-02-16 16:49:44 +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
Sjoerd Mullender 4e2a4278e8 * clmodule.c: use function prototypes (found and fixed some bugs this
way); more efficiently check whether parameters are float; removed
  one argument from DecompressImage method; use clGetParam instead of
  clGetParams where it makes sense; convert int parameters in
  SetParams, SetParam, SetMin, SetMax, and SetDefault to float when
  needed; added QuerySchemeFromHandle method
* Makefile: interchanged cstubs and cgen.py so that $> in rule gets
  them in the right order
1993-02-16 11:55:17 +00:00
Jack Jansen 5fc677363f Added readdisplay() routine 1993-02-16 09:25:15 +00:00
Guido van Rossum 852cc22bd3 Vrec.py: don't print Ids if no frames are captured.
Vrecb.py: use the new interfaces to imageop (fix -M, -m, -g options).
1993-02-15 17:33:36 +00:00
Guido van Rossum 1104a8562d lib1.tex: Added builtin.round(x, [n]). 1993-02-12 16:29:30 +00:00
Guido van Rossum 9e51f9bec8 bltinmodule.c: added round(x, [n]); coerce() of two class instances
will try to coerce anyway.
classobject.c: instance 'nonzero' should first try __nonzero__
only then __len__.
1993-02-12 16:29:05 +00:00
Jack Jansen e8a3c28f8d Added new audio library functionality (getstatus, float sample fmts) 1993-02-10 14:10:56 +00:00
Sjoerd Mullender 38a22baea9 Fixed some memory leaks when things go wrong. 1993-02-10 13:31:01 +00:00
Jack Jansen 55cea47bae Changed adpcm routines to use 2-element state (was 3 element) 1993-02-10 13:21:59 +00:00
Guido van Rossum bf80e5407f * stdwinmodule.c: various new commands: setwin{pos,size},
listfontnames, bitmap ops.
* listobject.c: use mkvalue() when possible; avoid weird error when
  calling append() without args.
* modsupport.c: new feature in getargs(): if the format string
  contains a semicolor the string after that is used as the error
  message instead of "bad argument list (format %s)" when there's an
  error.
1993-02-08 15:49:17 +00:00
Guido van Rossum 3f2ef09f40 Added usage() and help() to Vrecb, and turn on -f by default.
Removed duplicate description of -r option from documentation file.
1993-02-05 15:34:22 +00:00
Jack Jansen f0384fdb97 Introductory video documentation 1993-02-05 14:56:55 +00:00
Sjoerd Mullender 4ab6ff80ff AWARE.py: New file with definitions for Aware Inc.'s compression
algorithms in cl module.
aifc.py: fixed a small bug.
1993-02-05 13:43:44 +00:00
Guido van Rossum 6f5afc9a73 * ceval.c: ifdef out the last argument passing compat hack.
* Fixed memory leaks in socket, select and sv modules: mkvalue("O", v)
  does INCREF(v) so if v is brand new it should be XDECREF'd
1993-02-05 09:46:15 +00:00
Guido van Rossum 995c33a2bb aiff.py, calendar.py: change functions taking a tuple to really take a
tuple (now that it makes a difference to Python)
1993-02-05 09:39:16 +00:00
Sjoerd Mullender 3a997279d5 CL.py, clmodule.c: Adapted to new CL library. Lots of new methods.
aifc.py: Several small improvements.  Use new methods from CL module.
1993-02-04 16:43:28 +00:00
Sjoerd Mullender 8d733a00f0 added kludge for buggy soundfiler from SGI; when reading 0 frames,
just set file pointer correctly instead of returning the complete
file.
1993-01-29 12:01:00 +00:00
Jack Jansen 772eca639c Added options to make window bigger than video (for recording to tape) 1993-01-27 11:42:21 +00:00
Jack Jansen 41292a81a8 Added a comment about XS 4bit pixel support 1993-01-27 11:41:37 +00:00
Jack Jansen 62fda0acbd Use imgconv to try to do image type conversion 1993-01-27 11:40:16 +00:00
Jack Jansen e6f49ecfa9 Initial (skeleton) version of universal image format converter 1993-01-27 11:39:37 +00:00
Jack Jansen 2c49017279 - Added LiveVideoOutSlow class (which only updates after full pkt)
- fixed bug in setmirror
- cleaned up some common code
1993-01-27 11:38:03 +00:00
Guido van Rossum 34679b7661 * Added Fixcprt.py: script to fix copyright message.
* various modules: added 1993 to copyright.
* thread.c: added copyright notice.
* ceval.c: minor change to error message for "+"
* stdwinmodule.c: check for error from wfetchcolor
* config.c: MS-DOS fixes (define PYTHONPATH, use DELIM, use osdefs.h)
* Add declaration of inittab to import.h
* sysmodule.c: added sys.builtin_module_names
* xxmodule.c, xxobject.c: fix minor errors
1993-01-26 13:33:44 +00:00