Searched refs:bytesperpixel (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython2/Lib/plat-irix5/ |
D | jpeg.py | 19 def compress(imgdata, width, height, bytesperpixel): argument 23 if bytesperpixel == 1: 25 elif bytesperpixel == 4: 52 bytesperpixel = 1 55 bytesperpixel = 4 59 cl.FRAME_BUFFER_SIZE, width*height*bytesperpixel] 62 return imgdata, width, height, bytesperpixel 86 imgdata, width, height, bytesperpixel = decompress(jpegdata) 90 if bytesperpixel == 1: 113 newjpegdata = compress(imgdata, width, height, bytesperpixel)
|
/external/python/cpython2/Lib/plat-irix6/ |
D | jpeg.py | 19 def compress(imgdata, width, height, bytesperpixel): argument 23 if bytesperpixel == 1: 25 elif bytesperpixel == 4: 52 bytesperpixel = 1 55 bytesperpixel = 4 59 cl.FRAME_BUFFER_SIZE, width*height*bytesperpixel] 62 return imgdata, width, height, bytesperpixel 86 imgdata, width, height, bytesperpixel = decompress(jpegdata) 90 if bytesperpixel == 1: 113 newjpegdata = compress(imgdata, width, height, bytesperpixel)
|
/external/python/cpython2/Doc/library/ |
D | jpeg.rst | 57 ``(data, width, height, bytesperpixel)``. Again, the data is suitable to pass
|