Home
last modified time | relevance | path

Searched refs:ch (Results 1 – 21 of 21) sorted by relevance

/cts/apps/CameraITS/tests/scene1/
Dtest_dng_noise_model.py73 for ch in range(4):
75 s,o = noise_profile[cfa_idxs[ch]]
81 plane = its.image.convert_capture_to_planes(cap, props)[ch]
82 plane = (plane * white_level - black_levels[ch]) / (
83 white_level - black_levels[ch])
89 var_measured[ch].append(
91 var_expected[ch].append(s * mean + o)
93 for ch in range(4):
94 pylab.plot(sensitivities, var_expected[ch], "rgkb"[ch],
95 label=["R","GR","GB","B"][ch]+" expected")
[all …]
Dtest_capture_result.py98 for ch in range(4):
104 zs = numpy.array(lsc_map[ch::4]).reshape(h_map, w_map)
106 matplotlib.pyplot.savefig("%s_plot_lsc_%s_ch%d.png"%(NAME,name,ch))
Dtest_crop_region_raw.py116 h,w,ch = img.shape
/cts/apps/CtsVerifier/jni/verifier/
Dcom_android_cts_verifier_camera_StatsImage.cpp60 int ch = chnOffset + (x & 1); in com_android_cts_verifier_camera_its_computeStatsImage() local
61 sum[ch] += pixelValue; in com_android_cts_verifier_camera_its_computeStatsImage()
62 sumSq[ch] += pixelValue * pixelValue; in com_android_cts_verifier_camera_its_computeStatsImage()
63 count[ch] += 1; in com_android_cts_verifier_camera_its_computeStatsImage()
66 for (int ch = 0; ch < 4; ch++) { in com_android_cts_verifier_camera_its_computeStatsImage() local
67 float m = (float)sum[ch] / count[ch]; in com_android_cts_verifier_camera_its_computeStatsImage()
68 float mSq = (float)sumSq[ch] / count[ch]; in com_android_cts_verifier_camera_its_computeStatsImage()
69 mean[gy*ngx*4 + gx*4 + ch] = m; in com_android_cts_verifier_camera_its_computeStatsImage()
70 var[gy*ngx*4 + gx*4 + ch] = mSq - m*m; in com_android_cts_verifier_camera_its_computeStatsImage()
/cts/tools/dasm/src/java_cup/
Dlexer.java200 protected static boolean id_start_char(int ch) in id_start_char() argument
202 return (ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') || in id_start_char()
203 (ch == '_'); in id_start_char()
213 protected static boolean id_char(int ch) in id_char() argument
215 return id_start_char(ch) || (ch >= '0' && ch <= '9'); in id_char()
223 protected static int find_single_char(int ch) in find_single_char() argument
227 result = (Integer)char_symbols.get(new Integer((char)ch)); in find_single_char()
/cts/apps/CameraITS/tests/inprog/
Dtest_rawstats.py40 for ch in range(4):
41 m = mean_image[:,:,ch].reshape(h,w,1)/1023.0
42 v = var_image[:,:,ch].reshape(h,w,1)
43 its.image.write_image(m, "%s_mean_ch%d.jpg" % (NAME,ch), True)
44 its.image.write_image(v, "%s_var_ch%d.jpg" % (NAME,ch), True)
/cts/tests/tests/text/src/android/text/method/cts/
DEditorState.java92 final char ch = token.charAt(1); in setByString() local
93 if (!isGraphicAscii(ch)) { in setByString()
96 "Use U+" + Integer.toHexString(ch).toUpperCase() + " instead"); in setByString()
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java378 for (int ch = 0; ch < 3; ch++) { in serializeTonemapCurve()
380 int len = curve.getPointCount(ch); in serializeTonemapCurve()
382 curveArr.put(curve.getPoint(ch, i).x); in serializeTonemapCurve()
383 curveArr.put(curve.getPoint(ch, i).y); in serializeTonemapCurve()
385 curveObj.put(names[ch], curveArr); in serializeTonemapCurve()
426 for (int ch = 0; ch < 4; ch++) { in serializeLensShadingMap()
427 mapObj.put(map.getGainFactor(ch, col, row)); in serializeLensShadingMap()
/cts/tests/tests/media/src/android/media/cts/
DDecoderTest.java945 for (int ch = 0; ch < procNch; ch++) { in checkEnergy()
946 offset[ch] = -1; in checkEnergy()
948 final int smpStart = (signalStart * nCh) + (seg * nSegSmpTot) + ch; in checkEnergy()
951 nrg[ch][seg] += decSamples[smpl] * decSamples[smpl]; // accumulate segment nrg in checkEnergy()
953 if (nrg[ch][seg] > zeroNrgThresh && offset[ch] < 0) { // store 1st segment (index) in checkEnergy()
954 offset[ch] = seg / nSegChOffst; // ... per ch which has energy above the in checkEnergy()
956 if (nrg[ch][seg] > totMaxNrg) { in checkEnergy()
957 totMaxNrg = nrg[ch][seg]; // store the max segment nrg over all ch in checkEnergy()
959 sigSeg[seg] |= nrg[ch][seg] > zeroNrgThresh; // store whether the channel has in checkEnergy()
962 if (offset[ch] < 0) { // if one channel has no signal it is in checkEnergy()
[all …]
DEncoderTest.java124 for (int ch = 1; ch <= 2; ++ch) { in testAACEncoders()
134 format.setInteger(MediaFormat.KEY_CHANNEL_COUNT, ch); in testAACEncoders()
/cts/hostsidetests/appsecurity/certs/pkgsigverify/
Ddsa-1024.x509.pem8 ch+0D7JrbqmR1w5S3VBtTnONLiBYnaz1Ri3Pfiw5FHKfJcfFcQopIOLJwfdBmY4b
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java220 for (int ch = 0; ch < 3; ch++) { in serializeTonemapCurve()
222 int len = curve.getPointCount(ch); in serializeTonemapCurve()
224 curveArr.put(curve.getPoint(ch,i).x); in serializeTonemapCurve()
225 curveArr.put(curve.getPoint(ch,i).y); in serializeTonemapCurve()
227 curveObj.put(names[ch], curveArr); in serializeTonemapCurve()
268 for (int ch = 0; ch < 4; ch++) { in serializeLensShadingMap()
269 mapObj.put(map.getGainFactor(ch, col, row)); in serializeLensShadingMap()
/cts/tests/tests/util/src/android/util/cts/
DXmlEncodingTest.java206 public void characters(char[] ch, int start, int length) throws SAXException { in characters() argument
207 mVec.add(STR_CHARACTERS_TAG + new String(ch)); in characters()
227 public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException { in ignorableWhitespace() argument
228 mVec.add(STR_IGNORABLE_WHITESPACE_TAG + new String(ch)); in ignorableWhitespace()
DXmlTest.java123 public void characters(char[] ch, int start, int length) throws SAXException { in characters() argument
124 mVec.add(STR_CHARACTERS_TAG + new String(ch)); in characters()
144 public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException { in ignorableWhitespace() argument
145 mVec.add(STR_IGNORABLE_WHITESPACE_TAG + new String(ch)); in ignorableWhitespace()
/cts/apps/CameraITS/pymodules/its/
Dimage.py695 ch = img.reshape(h*w*chans)[i::chans].reshape(h,w)
696 ch = ch.reshape(h,w/f,f).mean(2).reshape(h,w/f)
697 ch = ch.T.reshape(w/f,h/f,f).mean(2).T.reshape(h/f,w/f)
698 chs.append(ch.reshape(h*w/(f*f)))
Ddevice.py233 ch = self.sock.recv(1)
234 if len(ch) == 0:
237 chars.append(ch)
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java64 int ch; in printCpuInfo() local
69 while ( ( ch = in.read() ) != -1 ) { in printCpuInfo()
70 sb.append((char) ch); in printCpuInfo()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...
/cts/tests/tests/media/res/raw/
Dfootball_qvga.yuv26 …����ylhlllmmlnpqppqmlnnnpqssomljoqqpoqrsqrrqpqrrqnhhhjmlkjhhfdghgdelmfeqy�{ch�����xz}fXmsPO\Ea^5h�…
35 …��������ysnifcaa\URSRRUWZ\`bdkmmlnnljgfgehopmhc^VNS]m|������xpmid[OHNWWYYX]ch\ICAKYRC<CFGQSTZ_cgos…
137 …bcccbbccccd\e~���������~�xuuxrpssswyxvw{~���~~}~|r{�{�pY[bkz���tcb`ch]Zluvvx{{{ywusrrssttt…
140 7�ch].@mqouz`:'8�oqsjy����zv~~\IviU��w��69�������������������������]>O3M����CW����|w��oa`ZD0…
232 …giklmnnnopruttronjkpuw|�����~yvsojjijnnopnmmmnqsrruxz~��������znklpqutZ^j^ch].X���Zj�S,,6X�����…
292ch`adccb_`a]`deb`b`^ceded`a`b`]ceb][`_RS[_cb__adb^aca`fniejouronsux~yyuqwussw|~~wvyutsonhcfggefcd…
299 …pqpqrux{{{~�}}{vqkghhhggggfffcdeffhiiiggfdgheeddefhhhfeeeghhggfegheeeeecdb`ch`I8431/10+').051Hu���…
301 …lmsuutvvustupcdfefededaabbdeho_8!+:60257#H��yvh������y_E69=CLPOPQRTTRUWX[]ch]MGHWiglrfbv��z}{qda…
/cts/tools/dex-tools/dex/
Dclasses.out.dex141260 private char ch