/external/skia/src/gpu/ |
GrPathUtils.cpp | 360 // dc is the vector from the fourth to the third control point. 366 const SkVector& dc, 384 SkScalar dpXdc = dp.cross(dc); 409 SkVector dc = p[2] - p[3]; local 412 if (dc.lengthSqd() < SK_ScalarNearlyZero) { 421 if (dc.lengthSqd() < SK_ScalarNearlyZero) { 422 dc = p[1] - p[3]; 434 bool doQuads = dc.lengthSqd() < SK_ScalarNearlyZero || 444 SkScalar detDCSqd = dc.cross(da); 454 SkPoint c = p[3] + dc; [all...] |
/external/skia/src/views/win/ |
SkOSWindow_win.cpp | 344 HDC dc = GetDC((HWND)fHWND); local 346 fHGLRC = SkCreateWGLContext(dc, msaaSampleCount, 356 if (wglMakeCurrent(dc, (HGLRC)fHGLRC)) { 358 int pixelFormat = GetPixelFormat(dc); 360 DescribePixelFormat(dc, pixelFormat, sizeof(pfd), &pfd); 365 if (extensions.hasExtension(dc, "WGL_ARB_multisample")) { 367 extensions.getPixelFormatAttribiv(dc, 392 HDC dc = GetDC((HWND)fHWND); local 393 SwapBuffers(dc); 394 ReleaseDC((HWND)fHWND, dc); [all...] |
/external/webp/src/dec/ |
vp8.c | 465 if (!block->is_i4x4_) { // parse DC 466 int16_t dc[16] = { 0 }; local 468 const int nz = GetCoeffs(token_br, bands[1], ctx, q->y2_mat_, 0, dc); 470 if (nz > 1) { // more than just the DC -> perform the full transform 471 VP8TransformWHT(dc, dst); 472 } else { // only DC is non-zero -> inlined simplified transform 474 const int dc0 = (dc[0] + 3) >> 3;
|
/external/webrtc/webrtc/examples/peerconnection/client/ |
main_wnd.cc | 33 HDC dc = ::GetDC(wnd); local 35 ::DrawText(dc, text, -1, &text_rc, DT_CALCRECT | DT_SINGLELINE); 36 ::ReleaseDC(wnd, dc);
|
/frameworks/rs/cpu_ref/ |
rsCpuCore.cpp | 114 RsdCpuReferenceImpl *dc = (RsdCpuReferenceImpl *)vrsc; local 116 uint32_t idx = __sync_fetch_and_add(&dc->mWorkers.mLaunchCount, 1); 118 //ALOGV("RS helperThread starting %p idx=%i", dc, idx); 120 dc->mWorkers.mLaunchSignals[idx].init(); 121 dc->mWorkers.mNativeThreadId[idx] = gettid(); 123 memset(&dc->mTlsStruct, 0, sizeof(dc->mTlsStruct)); 124 int status = pthread_setspecific(gThreadTLSKey, &dc->mTlsStruct); 139 while (!dc->mExit) { 140 dc->mWorkers.mLaunchSignals[idx].wait() [all...] |
/frameworks/rs/driver/ |
rsdAllocation.cpp | 635 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local 636 RsdFrameBufferObj *lastFbo = dc->gl.currentFrameBuffer; 834 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local 835 RSD_CALL_GL(eglSwapBuffers, dc->gl.egl.display, dc->gl.egl.surface); [all...] |
/hardware/bsp/intel/peripheral/libmraa/src/glob/ |
glob.c | 774 Char *dc; local 804 for (sc = (unsigned char *) dp->d_name, dc = pathend; 805 dc <= pathlim && (*dc++ = *sc++) != EOS;) 811 if (dc > pathlim && *pathlim != EOS) { 838 if (--dc < pathlim - 2) 839 *dc++ = SEP; 840 *dc = EOS; 841 error = glob2(pathbuf, dc, pathlim, pglobstar, 851 error = glob2(pathbuf, --dc, pathlim, restpattern 1115 char *dc; local [all...] |
/ndk/sources/host-tools/make-3.81/ |
dir.c | 492 struct directory_contents *dc; 510 dc = *dc_slot; 512 if (HASH_VACANT (dc)) 516 dc = (struct directory_contents *) 520 dc->dev = st.st_dev; 522 dc->path_key = xstrdup (w32_path); 523 dc->ctime = st.st_ctime; 524 dc->mtime = st.st_mtime; 536 dc->fs_flags = FS_UNKNOWN; 538 dc->fs_flags = FS_FAT 489 struct directory_contents *dc; local 1125 struct directory_contents *dc = ds->contents; local [all...] |
/system/bt/stack/btu/ |
btu_hcif.c | 507 DEV_CLASS dc; local 511 STREAM_TO_DEVCLASS (dc, p); 518 btm_sec_conn_req (bda, dc); 523 btm_sco_conn_req (bda, dc, link_type); [all...] |
/external/clang/test/CodeGenCXX/ |
const-init-cxx11.cpp | 163 extern constexpr int (D::*dc) = &B2::c; member in namespace:MemberPtr
|
/external/fio/os/windows/ |
posix.c | 821 struct dirent_ctx *dc = NULL; local 827 dc = (struct dirent_ctx*)malloc(sizeof(struct dirent_ctx)); 828 StringCchCopyA(dc->dirname, MAX_PATH, dirname); 829 dc->find_handle = INVALID_HANDLE_VALUE; 845 return dc;
|
/external/libvpx/libvpx/vpx_dsp/arm/ |
intrapred_neon.c | 18 // DC 4x4 54 const uint8x8_t dc = vdup_lane_u8(dc0, 0); local 57 vst1_lane_u32((uint32_t*)(dst + i * stride), vreinterpret_u32_u8(dc), 0); 87 // DC 8x8 125 const uint8x8_t dc = vdup_lane_u8(dc0, 0); local 128 vst1_u32((uint32_t*)(dst + i * stride), vreinterpret_u32_u8(dc)); 158 // DC 16x16 198 const uint8x16_t dc = vdupq_lane_u8(dc0, 0); local 201 vst1q_u8(dst + i * stride, dc); 234 // DC 32x3 280 const uint8x16_t dc = vdupq_lane_u8(dc0, 0); local [all...] |
/external/opencv3/3rdparty/libwebp/dsp/ |
dec.c | 93 const int dc = tmp[0] + 4; local 94 const int a = dc + tmp[8]; 95 const int b = dc - tmp[8]; 121 const int DC = in[0] + 4; 125 STORE(i, j, DC); 156 const int dc = tmp[0 + i * 4] + 3; // w/ rounder local 157 const int a0 = dc + tmp[3 + i * 4]; 160 const int a3 = dc - tmp[3 + i * 4]; 218 static void DC16(uint8_t *dst) { // DC 219 int DC = 16 282 uint32_t dc = 4; local [all...] |
dec_sse2.c | 140 const __m128i dc = _mm_add_epi16(T0, four); local 141 const __m128i a = _mm_add_epi16(dc, T2); 142 const __m128i b = _mm_sub_epi16(dc, T2); [all...] |
enc.c | 114 const int dc = tmp[0] + 4; local 115 const int a = dc + tmp[8]; 116 const int b = dc - tmp[8]; 178 const int dc = tmp[0 + i * 4] + 3; // w/ rounder local 179 const int a0 = dc + tmp[3 + i * 4]; 182 const int a3 = dc - tmp[3 + i * 4]; 291 int DC = 0; 294 for (j = 0; j < size; ++j) DC += top[j]; 296 for (j = 0; j < size; ++j) DC += left[j]; 298 DC += DC 374 uint32_t dc = 4; local [all...] |
/external/opencv3/modules/calib3d/src/ |
epnp.cpp | 63 double pw0tpw0[3 * 3], dc[3], uct[3 * 3]; local 65 CvMat DC = cvMat(3, 1, CV_64F, dc); 73 cvSVD(&PW0tPW0, &DC, &UCt, 0, CV_SVD_MODIFY_A | CV_SVD_U_T); 78 double k = sqrt(dc[i - 1] / number_of_correspondences);
|
/external/opencv3/modules/videoio/src/ |
cap_dc1394_v2.cpp | 178 dc1394_t* dc; member in struct:CvDC1394 184 dc = dc1394_new(); 190 if (dc) 191 dc1394_free(dc); 192 dc = 0; 480 if (!dc1394.dc) 483 err = dc1394_camera_enumerate(dc1394.dc, &cameraList); 488 dcCam = dc1394_camera_new(dc1394.dc, guid); [all...] |
/external/pdfium/third_party/lcms2-2.6/src/ |
cmspcs.c | 445 cmsFloat64Number dE, dL, dC, dh, dhsq; 453 dC = fabs(LCh1.C - LCh2.C); 456 dhsq = Sqr(dE) - Sqr(dL) - Sqr(dC); 467 return sqrt(Sqr(dL) + Sqr(dC) / Sqr(sc) + Sqr(dh) / Sqr(sh)); 491 deltaC,deltah,dc,t,g,dh,rh,rc,rt,bfd; local 514 dc = 0.035 * AveC / (1 + 0.00365 * AveC)+0.521; 522 dh = dc*(g*t+1-g); 532 bfd = sqrt(Sqr(deltaL)+Sqr(deltaC/dc)+Sqr(deltah/dh)+(rt*(deltaC/dc)*(deltah/dh))); 541 cmsFloat64Number dE,dL,dC,dh,sl,sc,sh,t,f,cmc [all...] |
/external/skia/src/opts/ |
SkBlitRow_opts_arm_neon.cpp | 715 uint16_t dc = *dst; local 717 unsigned dr = (SkPacked32ToR16(sc) * alpha) + (SkGetPackedR16(dc) * dst_scale); 718 unsigned dg = (SkPacked32ToG16(sc) * alpha) + (SkGetPackedG16(dc) * dst_scale); 719 unsigned db = (SkPacked32ToB16(sc) * alpha) + (SkGetPackedB16(dc) * dst_scale); [all...] |
/external/webp/src/dsp/ |
dec.c | 29 #define STORE2(y, dc, d, c) do { \ 30 const int DC = (dc); \ 31 STORE(0, y, DC + (d)); \ 32 STORE(1, y, DC + (c)); \ 33 STORE(2, y, DC - (c)); \ 34 STORE(3, y, DC - (d)); \ 65 const int dc = tmp[0] + 4; local 66 const int a = dc + tmp[8]; 67 const int b = dc - tmp[8] 143 const int dc = tmp[0 + i * 4] + 3; \/\/ w\/ rounder local 271 uint32_t dc = 4; local [all...] |
enc.c | 130 const int dc = tmp[0] + 4; local 131 const int a = dc + tmp[8]; 132 const int b = dc - tmp[8]; 283 int DC = 0; 286 for (j = 0; j < size; ++j) DC += top[j]; 288 for (j = 0; j < size; ++j) DC += left[j]; 290 DC += DC; 292 DC = (DC + round) >> shift 367 uint32_t dc = 4; local [all...] |
/external/webrtc/talk/session/media/ |
mediasession_unittest.cc | 621 const ContentInfo* dc = offer->GetContentByName("data"); local 623 ASSERT_TRUE(dc != NULL); 625 EXPECT_EQ(std::string(NS_JINGLE_RTP), dc->type); 629 static_cast<const DataContentDescription*>(dc->description); 1014 const ContentInfo* dc = answer->GetContentByName("data"); local 1039 const ContentInfo* dc = offer->GetContentByName("data"); local 1178 const ContentInfo* dc = answer->GetContentByName("data"); local 1196 ContentInfo* dc = offer->GetContentByName("data"); local 1237 const ContentInfo* dc = offer->GetContentByName("data"); local 1406 const ContentInfo* dc = answer->GetContentByName("data"); local [all...] |
/external/wpa_supplicant_8/hs20/server/ |
spp_server.c | 1258 xml_node_t *dc; local [all...] |
/system/bt/stack/btm/ |
btm_inq.c | 1863 DEV_CLASS dc; local [all...] |
/toolchain/binutils/binutils-2.25/binutils/ |
resbin.c | 519 rc_dialog_control *dc; local 524 dc = (rc_dialog_control *) res_alloc (sizeof (rc_dialog_control)); 531 dc->style = windres_get_32 (wrbfd, data + off, 4); 532 dc->exstyle = windres_get_32 (wrbfd, data + off + 4, 4); 533 dc->help = 0; 540 dc->help = windres_get_32 (wrbfd, data + off, 4); 541 dc->exstyle = windres_get_32 (wrbfd, data + off + 4, 4); 542 dc->style = windres_get_32 (wrbfd, data + off + 8, 4); 549 dc->x = windres_get_16 (wrbfd, data + off, 2); 550 dc->y = windres_get_16 (wrbfd, data + off + 2, 2) 1463 rc_dialog_control *dc; local [all...] |