Home
last modified time | relevance | path

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

/cts/apps/CameraITS/tools/
Dconvert_yuv_to_jpg.py30 fname, w,h = sys.argv[1], int(sys.argv[2]), int(sys.argv[3])
32 img = its.image.load_yuv420_to_rgb_image(fname, w,h, layout=layout)
33 its.image.write_image(img, fname.replace(".yuv",".jpg"), False)
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0477/
Dpoc.c50 char *fname = "/data/local/tmp/CVE-2017-0477.gif"; in main() local
51 int fd = open(fname, O_RDONLY); in main()
/cts/apps/CameraITS/pymodules/its/
Dimage.py491 def load_rgb_image(fname): argument
500 img = Image.open(fname)
737 def write_image(img, fname, apply_gamma=False): argument
758 Image.fromarray((img * 255.0).astype(numpy.uint8), "RGB").save(fname)
761 Image.fromarray(img3, "RGB").save(fname)