Home
last modified time | relevance | path

Searched refs:nc (Results 1 – 23 of 23) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNeighboringCellInfoTest.java32 NeighboringCellInfo nc; in testConstructor() local
34 nc = new NeighboringCellInfo(rssi, "FFFFFFF", NETWORK_TYPE_EDGE); in testConstructor()
35 assertEquals(NETWORK_TYPE_EDGE, nc.getNetworkType()); in testConstructor()
36 assertEquals(rssi, nc.getRssi()); in testConstructor()
37 assertEquals(0xfff, nc.getLac()); in testConstructor()
38 assertEquals(0xffff, nc.getCid()); in testConstructor()
39 assertEquals(NeighboringCellInfo.UNKNOWN_CID, nc.getPsc()); in testConstructor()
41 nc = new NeighboringCellInfo(rssi, "1FF", NETWORK_TYPE_UMTS); in testConstructor()
42 assertEquals(NETWORK_TYPE_UMTS, nc.getNetworkType()); in testConstructor()
43 assertEquals(rssi, nc.getRssi()); in testConstructor()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Disp_az.c48 Word16 nc; in Isp_Az() local
53 nc = (m >> 1); in Isp_Az()
54 if(nc > 8) in Isp_Az()
56 Get_isp_pol_16kHz(&isp[0], f1, nc); in Isp_Az()
57 for (i = 0; i <= nc; i++) in Isp_Az()
62 Get_isp_pol(&isp[0], f1, nc); in Isp_Az()
64 if (nc > 8) in Isp_Az()
66 Get_isp_pol_16kHz(&isp[1], f2, (nc - 1)); in Isp_Az()
67 for (i = 0; i <= nc - 1; i++) in Isp_Az()
72 Get_isp_pol(&isp[1], f2, (nc - 1)); in Isp_Az()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Disp_az.cpp143 int16 nc; in Isp_Az() local
149 nc = m >> 1; in Isp_Az()
152 if (nc > 8) in Isp_Az()
154 Get_isp_pol_16kHz(&isp[0], f1, nc); in Isp_Az()
155 for (i = 0; i <= nc; i++) in Isp_Az()
159 Get_isp_pol_16kHz(&isp[1], f2, nc - 1); in Isp_Az()
160 for (i = 0; i <= nc - 1; i++) in Isp_Az()
167 Get_isp_pol(&isp[0], f1, nc); in Isp_Az()
168 Get_isp_pol(&isp[1], f2, nc - 1); in Isp_Az()
175 for (i = nc - 1; i > 1; i--) in Isp_Az()
[all …]
/frameworks/base/graphics/java/android/renderscript/
DMatrix3f.java129 float nc = 1.0f - c; in loadRotate() local
136 mMat[0] = x*x*nc + c; in loadRotate()
137 mMat[3] = xy*nc - zs; in loadRotate()
138 mMat[6] = zx*nc + ys; in loadRotate()
139 mMat[1] = xy*nc + zs; in loadRotate()
140 mMat[4] = y*y*nc + c; in loadRotate()
141 mMat[9] = yz*nc - xs; in loadRotate()
142 mMat[2] = zx*nc - ys; in loadRotate()
143 mMat[6] = yz*nc + xs; in loadRotate()
144 mMat[8] = z*z*nc + c; in loadRotate()
DMatrix4f.java172 float nc = 1.0f - c; in loadRotate() local
179 mMat[ 0] = x*x*nc + c; in loadRotate()
180 mMat[ 4] = xy*nc - zs; in loadRotate()
181 mMat[ 8] = zx*nc + ys; in loadRotate()
182 mMat[ 1] = xy*nc + zs; in loadRotate()
183 mMat[ 5] = y*y*nc + c; in loadRotate()
184 mMat[ 9] = yz*nc - xs; in loadRotate()
185 mMat[ 2] = zx*nc - ys; in loadRotate()
186 mMat[ 6] = yz*nc + xs; in loadRotate()
187 mMat[10] = z*z*nc + c; in loadRotate()
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
DMatrix3f.java129 float nc = 1.0f - c; in loadRotate() local
136 mMat[0] = x*x*nc + c; in loadRotate()
137 mMat[3] = xy*nc - zs; in loadRotate()
138 mMat[6] = zx*nc + ys; in loadRotate()
139 mMat[1] = xy*nc + zs; in loadRotate()
140 mMat[4] = y*y*nc + c; in loadRotate()
141 mMat[9] = yz*nc - xs; in loadRotate()
142 mMat[2] = zx*nc - ys; in loadRotate()
143 mMat[6] = yz*nc + xs; in loadRotate()
144 mMat[8] = z*z*nc + c; in loadRotate()
DMatrix4f.java172 float nc = 1.0f - c; in loadRotate() local
179 mMat[ 0] = x*x*nc + c; in loadRotate()
180 mMat[ 4] = xy*nc - zs; in loadRotate()
181 mMat[ 8] = zx*nc + ys; in loadRotate()
182 mMat[ 1] = xy*nc + zs; in loadRotate()
183 mMat[ 5] = y*y*nc + c; in loadRotate()
184 mMat[ 9] = yz*nc - xs; in loadRotate()
185 mMat[ 2] = zx*nc - ys; in loadRotate()
186 mMat[ 6] = yz*nc + xs; in loadRotate()
187 mMat[10] = z*z*nc + c; in loadRotate()
/frameworks/av/tools/resampler_tools/
Dfir.cpp80 const int nc = 32; in main() local
217 printf("const int32_t RESAMPLE_FIR_COEF_BITS = %d;\n", nc); in main()
237 int64_t yi = floor(y * ((1ULL<<(nc-1))) + 0.5); in main()
238 if (yi >= (1LL<<(nc-1))) yi = (1LL<<(nc-1))-1; in main()
257 int64_t yi = floor(y * ((1ULL<<(nc-1))) + 0.5); in main()
258 if (yi >= (1LL<<(nc-1))) yi = (1LL<<(nc-1))-1; in main()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dvlc_encode_inline.h23 __inline Int zero_run_search(UInt *bitmapzz, Short *dataBlock, RunLevelBlock *RLB, Int nc) in zero_run_search() argument
32 if (nc > 32) in zero_run_search()
35 end = 1 << (32 - nc); in zero_run_search()
69 nc -= 32; in zero_run_search()
70 if (nc > 0) in zero_run_search()
73 end = 1 << (32 - nc); in zero_run_search()
113 __inline Int zero_run_search(UInt *bitmapzz, Short *dataBlock, RunLevelBlock *RLB, Int nc) in zero_run_search() argument
115 OSCL_UNUSED_ARG(nc); in zero_run_search()
227 __inline Int zero_run_search(UInt *bitmapzz, Short *dataBlock, RunLevelBlock *RLB, Int nc) in zero_run_search() argument
229 OSCL_UNUSED_ARG(nc); in zero_run_search()
Dvlc_encode.cpp1795 Int *zz, nc, zzorder; in RunLevel() local
1851 nc = ncoefblck[i]; in RunLevel()
1852 for (j = intra, zz += intra; j < nc; j++, zz++) in RunLevel()
1907 nc = ncoefblck[i]; in RunLevel()
1909 idx = zero_run_search(bitmapzz, dataBlock, RLB, nc); in RunLevel()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_cavlc.c371 static u32 DecodeCoeffToken(u32 bits, u32 nc);
395 u32 DecodeCoeffToken(u32 bits, u32 nc) in DecodeCoeffToken() argument
406 ASSERT(nc <= 16 || nc == (u32)(-1)); in DecodeCoeffToken()
408 if (nc < 2) in DecodeCoeffToken()
423 else if (nc < 4) in DecodeCoeffToken()
436 else if (nc < 8) in DecodeCoeffToken()
442 else if (nc <= 16) in DecodeCoeffToken()
751 i32 nc, in h264bsdDecodeResidualBlockCavlc() argument
769 ASSERT(nc > -2); in h264bsdDecodeResidualBlockCavlc()
780 tmp = DecodeCoeffToken(bit, (u32)nc); in h264bsdDecodeResidualBlockCavlc()
Dh264bsd_macroblock_layer.c518 OMX_INT nc; in DecodeResidual() local
533 nc = (OMX_INT)DetermineNc(pMb, 0, pResidual->totalCoeff); in DecodeResidual()
540 nc, in DecodeResidual()
548 nc, in DecodeResidual()
567 nc = (OMX_INT)DetermineNc(pMb,blockIndex,pResidual->totalCoeff); in DecodeResidual()
576 nc, in DecodeResidual()
584 nc, in DecodeResidual()
596 nc, in DecodeResidual()
604 nc, in DecodeResidual()
662 nc = (OMX_INT)DetermineNc(pMb, blockIndex, pResidual->totalCoeff); in DecodeResidual()
[all …]
Dh264bsd_cavlc.h54 i32 nc,
/frameworks/support/renderscript/v8/rs_support/
DrsMatrix4x4.cpp220 const float nc = 1.0f - c; in loadRotate() local
227 m[ 0] = x*x*nc + c; in loadRotate()
228 m[ 4] = xy*nc - zs; in loadRotate()
229 m[ 8] = zx*nc + ys; in loadRotate()
230 m[ 1] = xy*nc + zs; in loadRotate()
231 m[ 5] = y*y*nc + c; in loadRotate()
232 m[ 9] = yz*nc - xs; in loadRotate()
233 m[ 2] = zx*nc - ys; in loadRotate()
234 m[ 6] = yz*nc + xs; in loadRotate()
235 m[10] = z*z*nc + c; in loadRotate()
/frameworks/rs/
DrsMatrix4x4.cpp220 const float nc = 1.0f - c; in loadRotate() local
227 m[ 0] = x*x*nc + c; in loadRotate()
228 m[ 4] = xy*nc - zs; in loadRotate()
229 m[ 8] = zx*nc + ys; in loadRotate()
230 m[ 1] = xy*nc + zs; in loadRotate()
231 m[ 5] = y*y*nc + c; in loadRotate()
232 m[ 9] = yz*nc - xs; in loadRotate()
233 m[ 2] = zx*nc - ys; in loadRotate()
234 m[ 6] = yz*nc + xs; in loadRotate()
235 m[10] = z*z*nc + c; in loadRotate()
/frameworks/base/libs/hwui/
DMatrix.cpp242 const float nc = 1.0f - c; in loadRotate() local
250 data[kScaleX] = x * x * nc + c; in loadRotate()
251 data[kSkewX] = xy * nc - zs; in loadRotate()
252 data[8] = zx * nc + ys; in loadRotate()
253 data[kSkewY] = xy * nc + zs; in loadRotate()
254 data[kScaleY] = y * y * nc + c; in loadRotate()
255 data[9] = yz * nc - xs; in loadRotate()
256 data[2] = zx * nc - ys; in loadRotate()
257 data[6] = yz * nc + xs; in loadRotate()
258 data[kScaleZ] = z * z * nc + c; in loadRotate()
/frameworks/base/opengl/java/android/opengl/
DMatrix.java591 float nc = 1.0f - c; in setRotateM() local
598 rm[rmOffset + 0] = x*x*nc + c; in setRotateM()
599 rm[rmOffset + 4] = xy*nc - zs; in setRotateM()
600 rm[rmOffset + 8] = zx*nc + ys; in setRotateM()
601 rm[rmOffset + 1] = xy*nc + zs; in setRotateM()
602 rm[rmOffset + 5] = y*y*nc + c; in setRotateM()
603 rm[rmOffset + 9] = yz*nc - xs; in setRotateM()
604 rm[rmOffset + 2] = zx*nc - ys; in setRotateM()
605 rm[rmOffset + 6] = yz*nc + xs; in setRotateM()
606 rm[rmOffset + 10] = z*z*nc + c; in setRotateM()
/frameworks/base/core/java/android/net/http/
DRequestHandle.java312 String nc = "00000001"; in computeDigestAuthResponse() local
314 String digest = computeDigest(A1, A2, nonce, QOP, nc, cnonce); in computeDigestAuthResponse()
332 response += ", qop=" + QOP + ", nc=" + nc + ", cnonce=" + doubleQuote(cnonce); in computeDigestAuthResponse()
353 String A1, String A2, String nonce, String QOP, String nc, String cnonce) { in computeDigest() argument
362 return KD(H(A1), nonce + ":" + nc + ":" + cnonce + ":" + QOP + ":" + H(A2)); in computeDigest()
/frameworks/support/v4/java/android/support/v4/app/
DFragmentActivity.java201 NonConfigurationInstances nc = (NonConfigurationInstances) in onCreate() local
203 if (nc != null) { in onCreate()
204 mAllLoaderManagers = nc.loaders; in onCreate()
208 mFragments.restoreAllState(p, nc != null ? nc.fragments : null); in onCreate()
612 NonConfigurationInstances nc = (NonConfigurationInstances) in getLastCustomNonConfigurationInstance() local
614 return nc != null ? nc.custom : null; in getLastCustomNonConfigurationInstance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DSignalClusterView.java66 public void setNetworkController(NetworkController nc) { in setNetworkController() argument
67 if (DEBUG) Slog.d(TAG, "NetworkController=" + nc); in setNetworkController()
68 mNC = nc; in setNetworkController()
/frameworks/av/services/audioflinger/
Dtest-resample.cpp33 HeaderWav(size_t size, int nc, int sr, int bits) { in HeaderWav()
40 numChannels = nc; in HeaderWav()
43 align = nc*(bits/8); in HeaderWav()
/frameworks/native/opengl/libagl/
Dmatrix.cpp366 const GLfloat nc = 1.0f - c; in rotate() local
373 r[ 0] = x*x*nc + c; r[ 4] = xy*nc - zs; r[ 8] = zx*nc + ys; in rotate()
374 r[ 1] = xy*nc + zs; r[ 5] = y*y*nc + c; r[ 9] = yz*nc - xs; in rotate()
375 r[ 2] = zx*nc - ys; r[ 6] = yz*nc + xs; r[10] = z*z*nc + c; in rotate()
/frameworks/base/media/tests/contents/media_api/music/
Dtest_amr_ietf.amr301 �� ��^I��W��<�nc���A��.�+c�#e7%���