Home
last modified time | relevance | path

Searched refs:bytesperpixel (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Lib/plat-irix5/
Djpeg.py19 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/
Djpeg.py19 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/
Djpeg.rst57 ``(data, width, height, bytesperpixel)``. Again, the data is suitable to pass