Home
last modified time | relevance | path

Searched refs:fname (Results 1 – 4 of 4) 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/tools/vm-tests-tf/src/util/build/
DDasmBuildStep.java51 private static Reader createReader(String fname) throws IOException { in createReader() argument
52 FileInputStream fs = new FileInputStream(fname); in createReader()
60 String fname = file.getAbsolutePath(); in assemble() local
65 inp = createReader(fname); in assemble()
66 dAsm.readD(inp, new File(fname).getName(), generate_linenum); in assemble()
76 " while reading and parsing " + fname); in assemble()
86 " while reading and parsing " + fname); in assemble()
/cts/tools/dasm/src/dasm/
DMain.java66 private static Reader createReader(String fname) throws IOException { in createReader() argument
67 FileInputStream fs = new FileInputStream(fname); in createReader()
82 public static void assemble(String fname) { in assemble() argument
88 inp = createReader(fname); in assemble()
89 dAsm.readD(inp, new File(fname).getName(), generateLineNumbers); in assemble()
97 + e.getMessage() + " while reading and parsing " + fname); in assemble()
106 + " while reading and parsing " + fname); in assemble()
/cts/apps/CameraITS/pymodules/its/
Dimage.py473 def load_rgb_image(fname): argument
482 img = Image.open(fname)
719 def write_image(img, fname, apply_gamma=False): argument
740 Image.fromarray((img * 255.0).astype(numpy.uint8), "RGB").save(fname)
743 Image.fromarray(img3, "RGB").save(fname)