/frameworks/av/media/codecs/m4v_h263/enc/src/ |
D | rate_control.cpp | 27 void updateRateControl(rateControl *rc, VideoEncData *video); 28 void updateRC_PostProc(rateControl *rc, VideoEncData *video); 54 rateControl **rc = video->rc; in RC_Initialize() local 65 rc[n]->fine_frame_skip = encParams->FineFrameSkip_Enabled; in RC_Initialize() 66 rc[n]->no_frame_skip = encParams->NoFrameSkip_Enabled; in RC_Initialize() 67 rc[n]->no_pre_skip = encParams->NoPreSkip_Enabled; in RC_Initialize() 68 rc[n]->skip_next_frame = 0; /* must be initialized */ in RC_Initialize() 71 rc[n]->Bs = video->encParams->BufferSize[n]; in RC_Initialize() 72 rc[n]->TMN_W = 0; in RC_Initialize() 73 rc[n]->VBV_fullness = (Int)(rc[n]->Bs * 0.5); /* rc[n]->Bs */ in RC_Initialize() [all …]
|
/frameworks/av/media/libcpustats/ |
D | ThreadCpuUsage.cpp | 43 int rc; in setEnabled() local 46 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &mPreviousTs); in setEnabled() 47 if (rc) { in setEnabled() 54 rc = clock_gettime(CLOCK_MONOTONIC, &mMonotonicTs); in setEnabled() 55 if (rc) { in setEnabled() 65 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts); in setEnabled() 66 if (rc) { in setEnabled() 107 int rc; in sample() local 108 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts); in sample() 109 if (rc) { in sample() [all …]
|
/frameworks/av/media/codecs/amrnb/common/include/ |
D | basic_op_arm_gcc_v5.h | 201 register Word32 rc = var2; in L_mac() local 208 : "r"(rb), "r"(rc) in L_mac() 212 : "=r"(rc) in L_mac() 216 return (rc); in L_mac() 290 register Word32 rc = var2; in L_msu() local 298 : "r"(rb), "r"(rc) in L_msu() 340 register Word32 rc = L_var2_hi; in Mpy_32() local 349 : "r"(ra), "r"(rc) in Mpy_32() 376 : "r"(rb), "r"(rc) in Mpy_32() 421 register Word32 rc = var2; in Mpy_32_16() local [all …]
|
D | l_mac.h | 126 register Word32 rc = var2; 133 : "r"(rb), "r"(rc) 137 : "=r"(rc) 141 return (rc);
|
D | mpy_32_16.h | 123 register Word32 rc = var2; 130 : "r"(ra), "r"(rc) 143 : "r"(rb), "r"(rc)
|
D | mpy_32.h | 152 register Word32 rc = L_var2_hi; 161 : "r"(ra), "r"(rc) 188 : "r"(rb), "r"(rc)
|
/frameworks/av/camera/tests/ |
D | CameraZSLTests.cpp | 80 ::android::binder::Status rc; in SetUp() 85 rc = mCameraService->getNumberOfCameras( in SetUp() 87 EXPECT_TRUE(rc.isOk()); in SetUp() 132 status_t rc = NO_ERROR; in waitForPreviewStart() local 137 rc = mPreviewCondition.waitRelative(mPreviewLock, in waitForPreviewStart() 139 if (NO_ERROR != rc) { in waitForPreviewStart() 144 return rc; in waitForPreviewStart() 149 status_t rc = NO_ERROR; in waitForEvent() local 154 rc = condition.waitRelative(mutex, in waitForEvent() 156 if (NO_ERROR != rc) { in waitForEvent() [all …]
|
D | CameraCharacteristicsPermission.cpp | 45 ::android::binder::Status rc; in SetUp() 50 rc = mCameraService->getNumberOfCameras( in SetUp() 52 EXPECT_TRUE(rc.isOk()); in SetUp() 67 auto rc = mCameraService->supportsCameraApi(cameraIdStr, in TEST_F() local 69 EXPECT_TRUE(rc.isOk()); in TEST_F() 76 rc = mCameraService->getCameraCharacteristics(cameraIdStr, in TEST_F() 79 ASSERT_TRUE(rc.isOk()); in TEST_F()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ProxyController.java | 388 RadioCapability rc = (RadioCapability) ((AsyncResult) msg.obj).result; in onStartRadioCapabilityResponse() local 389 if ((rc == null) || (rc.getSession() != mRadioCapabilitySessionId)) { in onStartRadioCapabilityResponse() 391 + " rc=" + rc); in onStartRadioCapabilityResponse() 395 int id = rc.getPhoneId(); in onStartRadioCapabilityResponse() 397 logd("onStartRadioCapabilityResponse: Error response session=" + rc.getSession()); in onStartRadioCapabilityResponse() 445 RadioCapability rc = (RadioCapability) ((AsyncResult) msg.obj).result; in onApplyRadioCapabilityResponse() local 446 if ((rc == null) || (rc.getSession() != mRadioCapabilitySessionId)) { in onApplyRadioCapabilityResponse() 448 + " rc=" + rc); in onApplyRadioCapabilityResponse() 451 logd("onApplyRadioCapabilityResponse: rc=" + rc); in onApplyRadioCapabilityResponse() 454 logd("onApplyRadioCapabilityResponse: Error response session=" + rc.getSession()); in onApplyRadioCapabilityResponse() [all …]
|
D | RadioModemProxy.java | 289 public void setRadioCapability(int serial, RadioCapability rc) throws RemoteException { in setRadioCapability() argument 294 halRc.session = rc.getSession(); in setRadioCapability() 295 halRc.phase = rc.getPhase(); in setRadioCapability() 296 halRc.raf = rc.getRadioAccessFamily(); in setRadioCapability() 297 halRc.logicalModemUuid = RILUtils.convertNullToEmptyString(rc.getLogicalModemUuid()); in setRadioCapability() 298 halRc.status = rc.getStatus(); in setRadioCapability() 303 halRc.session = rc.getSession(); in setRadioCapability() 304 halRc.phase = rc.getPhase(); in setRadioCapability() 305 halRc.raf = rc.getRadioAccessFamily(); in setRadioCapability() 306 halRc.logicalModemUuid = RILUtils.convertNullToEmptyString(rc.getLogicalModemUuid()); in setRadioCapability() [all …]
|
/frameworks/native/cmds/idlcli/vibrator/ |
D | CommandComposePwle.cpp | 54 int rc = 0; in getIntFromString() local 59 rc = (int)std::errc::invalid_argument; in getIntFromString() 62 rc = (int)std::errc::result_out_of_range; in getIntFromString() 65 return rc; in getIntFromString() 69 int rc = 0; in getFloatFromString() local 76 return rc; in getFloatFromString() 81 rc = EINVAL; in getFloatFromString() 84 rc = errno; in getFloatFromString() 88 return rc; in getFloatFromString()
|
/frameworks/av/media/codecs/amrwb/dec/src/ |
D | pvamrwbdecoder_basic_op_gcc_armv5.h | 107 register int32 rc = (int32)n; in mul_32by16() local 119 "r"(rc)); in mul_32by16() 160 register int32 rc = L_var3; in msu_16by16_from_int32() local 168 "r"(rc)); in msu_16by16_from_int32() 179 register int32 rc = L_var3; in mac_16by16_to_int32() local 187 "r"(rc)); in mac_16by16_to_int32() 263 register int32 rc = (int32)L_add; in fxp_mac_16by16() local 270 "r"(rc)); in fxp_mac_16by16()
|
/frameworks/av/services/audioflinger/ |
D | AudioWatchdog.cpp | 57 int rc = clock_gettime(CLOCK_MONOTONIC, &newTs); in threadLoop() local 58 if (rc != 0) { in threadLoop() 102 rc = nanosleep(&req, NULL); in threadLoop() 103 if (!((rc == 0) || (rc == -1 && errno == EINTR))) { in threadLoop()
|
/frameworks/av/apex/ |
D | Android.bp | 58 "com.android.media-mediatranscoding.rc", 59 "com.android.media-mediatranscoding.32rc", 180 "com.android.media.swcodec-mediaswcodec.rc", 181 "com.android.media.swcodec-mediaswcodec.32rc", 207 // so we are ready for day we have more than 1 *rc file within the apex. 210 name: "com.android.media-mediatranscoding.rc", 211 src: "mediatranscoding.rc", 212 filename: "mediatranscoding.rc", 217 name: "com.android.media-mediatranscoding.32rc", 218 src: "mediatranscoding.32rc", [all …]
|
/frameworks/av/media/codecs/amrwb/enc/src/ |
D | levinson.c | 111 … Word16 rc[], /* (o) Q15 : rc[M] Reflection coefficients. */ in Levinson() argument 138 rc[0] = Kh; in Levinson() 185 rc[i - 1] = Kh; in Levinson() 194 rc[0] = old_rc[0]; /* only two rc coefficients are needed */ in Levinson() 195 rc[1] = old_rc[1]; in Levinson() 243 old_rc[0] = rc[0]; in Levinson() 244 old_rc[1] = rc[1]; in Levinson()
|
/frameworks/minikin/libs/minikin/ |
D | BidiUtils.cpp | 104 const ssize_t rc = ubidi_countRuns(mBidi.get(), &status); in BidiText() local 105 if (!U_SUCCESS(status) || rc < 0) { in BidiText() 109 if (rc == 0) { in BidiText() 113 if (rc == 1) { in BidiText() 120 mRunCount = rc; in BidiText()
|
/frameworks/av/media/codecs/mp3dec/src/ |
D | pv_mp3dec_fxd_op_arm_gcc.h | 81 register int32 rc = (int32)L_add; in fxp_mac32_Q30() local 90 "r"(rc)); in fxp_mac32_Q30() 194 register int32 rc = (int32)L_add; in fxp_mac32_Q32() local 202 "r"(rc)); in fxp_mac32_Q32() 213 register int32 rc = (int32)L_sub; in fxp_msb32_Q32() local 221 "r"(rc)); in fxp_msb32_Q32()
|
/frameworks/native/libs/adbd_auth/ |
D | adbd_auth.cpp | 285 ssize_t rc = writev(framework_fd_.get(), iovs, iovcnt); in SendPacket() local 287 if (rc == -1 && errno != EAGAIN && errno != EWOULDBLOCK) { in SendPacket() 315 int rc = TEMP_FAILURE_RETRY(epoll_wait(epoll_fd_.get(), events, 3, -1)); in Run() local 316 if (rc == -1) { in Run() 318 } else if (rc == 0) { in Run() 323 for (int i = 0; i < rc; ++i) { in Run() 350 int rc = TEMP_FAILURE_RETRY(read(event_fd_.get(), &dummy, sizeof(dummy))); in Run() local 351 if (rc != 8) { in Run() 353 << "adbd_auth: failed to read from eventfd (rc = " << rc << ")"; in Run() 364 … int rc = TEMP_FAILURE_RETRY(read(framework_fd_.get(), buf, sizeof(buf))); in Run() local [all …]
|
/frameworks/native/cmds/servicemanager/ |
D | Android.bp | 45 init_rc: ["servicemanager.rc"], 52 init_rc: ["servicemanager.microdroid.rc"], 62 init_rc: ["servicemanager.recovery.rc"], 69 init_rc: ["vndservicemanager.rc"],
|
/frameworks/av/media/codecs/amrnb/enc/src/ |
D | lpc.cpp | 496 Word16 rc[4]; /* First 4 reflection coefficients Q15 */ in lpc() local 508 Levinson(st->levinsonSt, rHigh, rLow, &a[MP1], rc, pOverflow); in lpc() 515 Levinson(st->levinsonSt, rHigh, rLow, &a[MP1 * 3], rc, pOverflow); in lpc() 524 Levinson(st->levinsonSt, rHigh, rLow, &a[MP1 * 3], rc, pOverflow); in lpc()
|
/frameworks/base/core/java/android/view/ |
D | RoundedCorner.java | 113 RoundedCorner(RoundedCorner rc) { in RoundedCorner() argument 114 mPosition = rc.getPosition(); in RoundedCorner() 115 mRadius = rc.getRadius(); in RoundedCorner() 116 mCenter = new Point(rc.getCenter()); in RoundedCorner()
|
/frameworks/base/cmds/idmap2/tests/ |
D | ResultTests.cpp | 221 RefCountData rc{0, 0, 0, 0}; in TEST() local 222 { Result<RefCountContainer> r(RefCountContainer{rc}); } in TEST() 223 ASSERT_EQ(rc.ctor, 1); in TEST() 224 ASSERT_EQ(rc.copy_ctor, 1); in TEST() 225 ASSERT_EQ(rc.move, 0); in TEST() 226 ASSERT_EQ(rc.dtor, 2); in TEST()
|
/frameworks/base/core/jni/ |
D | android_hardware_Camera.cpp | 541 status_t rc = Camera::getCameraInfo(cameraId, overrideToPortrait, &cameraInfo); in android_hardware_Camera_getCameraInfo() local 542 if (rc != NO_ERROR) { in android_hardware_Camera_getCameraInfo() 600 status_t rc = Camera::getCameraInfo(cameraId, overrideToPortrait, &cameraInfo); in android_hardware_Camera_native_setup() local 601 if (rc != NO_ERROR) { in android_hardware_Camera_native_setup() 602 ALOGE("%s: getCameraInfo error: %d", __FUNCTION__, rc); in android_hardware_Camera_native_setup() 603 return rc; in android_hardware_Camera_native_setup() 628 rc = camera->sendCommand(CAMERA_CMD_SET_DISPLAY_ORIENTATION, in android_hardware_Camera_native_setup() 630 if (rc != NO_ERROR) { in android_hardware_Camera_native_setup() 632 strerror(-rc), rc); in android_hardware_Camera_native_setup() 633 return rc; in android_hardware_Camera_native_setup() [all …]
|
/frameworks/av/services/camera/libcameraservice/libcameraservice_fuzzer/ |
D | camera_service_fuzzer.cpp | 169 status_t rc = NO_ERROR; in waitForPreviewStart() local 174 rc = mPreviewCondition.waitRelative(mPreviewLock, kPreviewTimeout); in waitForPreviewStart() 175 if (NO_ERROR != rc) { in waitForPreviewStart() 180 return rc; in waitForPreviewStart() 184 status_t rc = NO_ERROR; in waitForEvent() local 189 rc = condition.waitRelative(mutex, kEventTimeout); in waitForEvent() 190 if (NO_ERROR != rc) { in waitForEvent() 195 return rc; in waitForEvent() 318 ::android::binder::Status rc; in invokeCameraAPIs() 321 rc = mCameraService->connect(this, cameraId, String16(), in invokeCameraAPIs() [all …]
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | ZslProcessor.cpp | 393 auto rc = mInputProducer->detachNextBuffer(&gb, &fence); in doNotifyInputReleasedLocked() local 394 if (NO_ERROR != rc) { in doNotifyInputReleasedLocked() 396 __FUNCTION__, rc); in doNotifyInputReleasedLocked() 625 auto rc = mInputProducer->attachBuffer(&mInputProducerSlot, in enqueueInputBufferByTimestamp() local 627 if (OK != rc) { in enqueueInputBufferByTimestamp() 629 __FUNCTION__, rc); in enqueueInputBufferByTimestamp() 630 return rc; in enqueueInputBufferByTimestamp() 637 rc = mInputProducer->queueBuffer(mInputProducerSlot, input, &output); in enqueueInputBufferByTimestamp() 638 if (OK != rc) { in enqueueInputBufferByTimestamp() 640 __FUNCTION__, rc); in enqueueInputBufferByTimestamp() [all …]
|