/frameworks/av/media/libstagefright/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/libaudiohal/impl/ |
D | DevicesFactoryHalLocal.cpp | 34 int rc; in load_audio_interface() local 36 rc = hw_get_module_by_class(AUDIO_HARDWARE_MODULE_ID, if_name, &mod); in load_audio_interface() 37 if (rc) { in load_audio_interface() 39 AUDIO_HARDWARE_MODULE_ID, if_name, strerror(-rc)); in load_audio_interface() 42 rc = audio_hw_device_open(mod, dev); in load_audio_interface() 43 if (rc) { in load_audio_interface() 45 AUDIO_HARDWARE_MODULE_ID, if_name, strerror(-rc)); in load_audio_interface() 50 rc = BAD_VALUE; in load_audio_interface() 58 return rc; in load_audio_interface() 63 status_t rc = load_audio_interface(name, &dev); in openDevice() local [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/libstagefright/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, &metadata); in TEST_F() 77 ASSERT_TRUE(rc.isOk()); in TEST_F()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ProxyController.java | 375 RadioCapability rc = (RadioCapability) ((AsyncResult) msg.obj).result; in onStartRadioCapabilityResponse() local 376 if ((rc == null) || (rc.getSession() != mRadioCapabilitySessionId)) { in onStartRadioCapabilityResponse() 378 + " rc=" + rc); in onStartRadioCapabilityResponse() 382 int id = rc.getPhoneId(); in onStartRadioCapabilityResponse() 384 logd("onStartRadioCapabilityResponse: Error response session=" + rc.getSession()); in onStartRadioCapabilityResponse() 432 RadioCapability rc = (RadioCapability) ((AsyncResult) msg.obj).result; in onApplyRadioCapabilityResponse() local 433 if ((rc == null) || (rc.getSession() != mRadioCapabilitySessionId)) { in onApplyRadioCapabilityResponse() 435 + " rc=" + rc); in onApplyRadioCapabilityResponse() 438 logd("onApplyRadioCapabilityResponse: rc=" + rc); in onApplyRadioCapabilityResponse() 441 logd("onApplyRadioCapabilityResponse: Error response session=" + rc.getSession()); in onApplyRadioCapabilityResponse() [all …]
|
/frameworks/av/services/camera/libcameraservice/device1/ |
D | CameraHardwareInterface.cpp | 51 int rc = OK; in setPreviewScalingMode() local 54 rc = native_window_set_scaling_mode(mPreviewWindow.get(), in setPreviewScalingMode() 57 return rc; in setPreviewScalingMode() 61 int rc = OK; in setPreviewTransform() local 64 rc = native_window_set_buffers_transform(mPreviewWindow.get(), in setPreviewTransform() 67 return rc; in setPreviewTransform() 236 int rc = native_window_dequeue_buffer_and_wait(a, &anb); in dequeueBuffer() local 241 if (rc == OK) { in dequeueBuffer() 264 int rc = a->queueBuffer(a, mReversedBufMap.at(bufferId), -1); in enqueueBuffer() local 265 if (rc == 0) { in enqueueBuffer() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwb/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/media/libstagefright/codecs/amrwbenc/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/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/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/native/libs/adbd_auth/ |
D | adbd_auth.cpp | 281 ssize_t rc = writev(framework_fd_.get(), iovs, iovcnt); in SendPacket() local 282 if (rc == -1 && errno != EAGAIN && errno != EWOULDBLOCK) { in SendPacket() 310 int rc = TEMP_FAILURE_RETRY(epoll_wait(epoll_fd_.get(), events, 3, -1)); in Run() local 311 if (rc == -1) { in Run() 313 } else if (rc == 0) { in Run() 318 for (int i = 0; i < rc; ++i) { in Run() 345 int rc = TEMP_FAILURE_RETRY(read(event_fd_.get(), &dummy, sizeof(dummy))); in Run() local 346 if (rc != 8) { in Run() 347 PLOG(FATAL) << "failed to read from eventfd (rc = " << rc << ")"; in Run() 358 … int rc = TEMP_FAILURE_RETRY(read(framework_fd_.get(), buf, sizeof(buf))); in Run() local [all …]
|
/frameworks/av/media/libstagefright/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/av/media/libstagefright/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/ml/nn/driver/sample/ |
D | Android.bp | 66 init_rc: ["config/android.hardware.neuralnetworks@1.3-service-sample-all.rc"], 74 init_rc: ["config/android.hardware.neuralnetworks@1.3-service-sample-float-fast.rc"], 82 init_rc: ["config/android.hardware.neuralnetworks@1.3-service-sample-float-slow.rc"], 90 init_rc: ["config/android.hardware.neuralnetworks@1.3-service-sample-quant.rc"], 98 init_rc: ["config/android.hardware.neuralnetworks@1.3-service-sample-minimal.rc"],
|
/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 | 542 status_t rc = Camera::getCameraInfo(cameraId, &cameraInfo); in android_hardware_Camera_getCameraInfo() local 543 if (rc != NO_ERROR) { in android_hardware_Camera_getCameraInfo() 609 status_t rc = Camera::getCameraInfo(cameraId, &cameraInfo); in android_hardware_Camera_native_setup() local 610 if (rc != NO_ERROR) { in android_hardware_Camera_native_setup() 611 ALOGE("%s: getCameraInfo error: %d", __FUNCTION__, rc); in android_hardware_Camera_native_setup() 612 return rc; in android_hardware_Camera_native_setup() 637 rc = camera->sendCommand(CAMERA_CMD_SET_DISPLAY_ORIENTATION, in android_hardware_Camera_native_setup() 639 if (rc != NO_ERROR) { in android_hardware_Camera_native_setup() 641 strerror(-rc), rc); in android_hardware_Camera_native_setup() 642 return rc; in android_hardware_Camera_native_setup() [all …]
|
D | android_net_LocalSocketImpl.cpp | 222 ssize_t rc = SendFileDescriptorVector(fd, buffer, len, fds); in socket_write_all() local 224 while (rc != len) { in socket_write_all() 225 if (rc == -1) { in socket_write_all() 230 buffer += rc; in socket_write_all() 231 len -= rc; in socket_write_all() 233 rc = send(fd, buffer, len, MSG_NOSIGNAL); in socket_write_all()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | ZslProcessor.cpp | 390 auto rc = mInputProducer->detachNextBuffer(&gb, &fence); in doNotifyInputReleasedLocked() local 391 if (NO_ERROR != rc) { in doNotifyInputReleasedLocked() 393 __FUNCTION__, rc); in doNotifyInputReleasedLocked() 622 auto rc = mInputProducer->attachBuffer(&mInputProducerSlot, in enqueueInputBufferByTimestamp() local 624 if (OK != rc) { in enqueueInputBufferByTimestamp() 626 __FUNCTION__, rc); in enqueueInputBufferByTimestamp() 627 return rc; in enqueueInputBufferByTimestamp() 634 rc = mInputProducer->queueBuffer(mInputProducerSlot, input, &output); in enqueueInputBufferByTimestamp() 635 if (OK != rc) { in enqueueInputBufferByTimestamp() 637 __FUNCTION__, rc); in enqueueInputBufferByTimestamp() [all …]
|
/frameworks/native/cmds/dumpsys/ |
D | dumpsys.cpp | 424 int rc = TEMP_FAILURE_RETRY(poll(&pfd, 1, time_left_ms())); in writeDump() local 425 if (rc < 0) { in writeDump() 430 } else if (rc == 0) { in writeDump() 436 rc = TEMP_FAILURE_RETRY(read(redirectFd_.get(), buf, sizeof(buf))); in writeDump() 437 if (rc < 0) { in writeDump() 442 } else if (rc == 0) { in writeDump() 447 if (!WriteFully(fd, buf, rc)) { in writeDump() 453 totalBytes += rc; in writeDump()
|
/frameworks/native/cmds/atrace/ |
D | Android.bp | 23 init_rc: ["atrace.rc"], 27 init_rc: ["atrace_userdebug.rc"],
|