Commit Graph

1257 Commits

Author SHA1 Message Date
Guido van Rossum 4b1302bd1d Generalized version of dictionaries, with compatibility hacks. 1993-03-27 18:11:32 +00:00
Guido van Rossum aff9470d23 Fixed watch cursor origin 1993-03-17 12:11:47 +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
Sjoerd Mullender 6b517fdc95 Added conversion routines to sv module. 1993-03-16 12:25:30 +00:00
Guido van Rossum e537240c25 * Changed many files to use mkvalue() instead of newtupleobject().
* Fixcprt.py: added [-y file] option, do only files younger than file.
* modsupport.[ch]: added vmkvalue().
* intobject.c: use mkvalue().
* stringobject.c: added "formatstring"; renamed string* to string_*;
  ceval.c: call formatstring for string % value.
* longobject.c: close memory leak in divmod.
* parsetok.c: set result node to NULL when returning an error.
1993-03-16 12:15:04 +00:00
Guido van Rossum f48b419a07 Fix syntax error (sorry!) 1993-03-02 12:16:56 +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 c9e340db8d Definitions from <gl/get.h> 1993-03-01 10:11:55 +00:00
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