/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | fastidct.cpp | 329 int res, res2; in idct_row1Inter() local 341 res = tmp + (pred_word & 0xFF); in idct_row1Inter() 342 CLIP_RESULT(res); in idct_row1Inter() 345 dst_word = (res2 << 8) | res; in idct_row1Inter() 346 res = tmp + ((pred_word >> 16) & 0xFF); in idct_row1Inter() 347 CLIP_RESULT(res); in idct_row1Inter() 348 dst_word |= (res << 16); in idct_row1Inter() 349 res = tmp + ((pred_word >> 24) & 0xFF); in idct_row1Inter() 350 CLIP_RESULT(res); in idct_row1Inter() 351 dst_word |= (res << 24); in idct_row1Inter() [all …]
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3OutputStream.cpp | 92 status_t res; in getBufferLocked() local 94 if ((res = getBufferPreconditionCheckLocked()) != OK) { in getBufferLocked() 95 return res; in getBufferLocked() 115 res = currentConsumer->dequeueBuffer(currentConsumer.get(), &anb, &fenceFd); in getBufferLocked() 117 if (res != OK) { in getBufferLocked() 119 __FUNCTION__, mId, strerror(-res), res); in getBufferLocked() 120 return res; in getBufferLocked() 138 status_t res = returnAnyBufferLocked(buffer, timestamp, /*output*/true); in returnBufferLocked() local 140 if (res != OK) { in returnBufferLocked() 141 return res; in returnBufferLocked() [all …]
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | StreamingProcessor.cpp | 69 status_t res; in setPreviewWindow() local 71 res = deletePreviewStream(); in setPreviewWindow() 72 if (res != OK) return res; in setPreviewWindow() 88 status_t res; in updatePreviewRequest() local 106 res = device->createDefaultRequest(CAMERA3_TEMPLATE_ZERO_SHUTTER_LAG, in updatePreviewRequest() 109 res = device->createDefaultRequest(CAMERA3_TEMPLATE_PREVIEW, in updatePreviewRequest() 113 res = device->createDefaultRequest(CAMERA2_TEMPLATE_PREVIEW, in updatePreviewRequest() 117 if (res != OK) { in updatePreviewRequest() 119 "%s (%d)", __FUNCTION__, mId, strerror(-res), res); in updatePreviewRequest() 120 return res; in updatePreviewRequest() [all …]
|
D | CaptureSequencer.cpp | 87 status_t res = -1; in waitUntilIdle() local 91 res = mStateChanged.waitRelative(mStateMutex, timeout); in waitUntilIdle() 92 if (res != OK) return res; in waitUntilIdle() 239 status_t res; in manageIdle() local 242 res = mStartCaptureSignal.waitRelative(mInputMutex, in manageIdle() 244 if (res == TIMED_OUT) break; in manageIdle() 255 status_t res = OK; in manageDone() local 273 res = INVALID_OPERATION; in manageDone() 276 res = client->getCameraDevice()->waitUntilDrained(); in manageDone() 277 if (res != OK) { in manageDone() [all …]
|
D | ZslProcessor.cpp | 118 status_t res; in updateStream() local 149 res = device->getStreamInfo(mZslStreamId, in updateStream() 151 if (res != OK) { in updateStream() 154 mId, strerror(-res), res); in updateStream() 155 return res; in updateStream() 159 res = device->deleteReprocessStream(mZslReprocessStreamId); in updateStream() 160 if (res != OK) { in updateStream() 163 mId, strerror(-res), res); in updateStream() 164 return res; in updateStream() 168 res = device->deleteStream(mZslStreamId); in updateStream() [all …]
|
/frameworks/compile/mclinker/lib/Script/ |
D | BinaryOp.cpp | 29 IntOperand* res = result(); in eval() local 30 res->setValue(m_pOperand[0]->value() * m_pOperand[1]->value()); in eval() 31 return res; in eval() 37 IntOperand* res = result(); in eval() local 38 res->setValue(m_pOperand[0]->value() / m_pOperand[1]->value()); in eval() 39 return res; in eval() 45 IntOperand* res = result(); in eval() local 46 res->setValue(m_pOperand[0]->value() % m_pOperand[1]->value()); in eval() 47 return res; in eval() 53 IntOperand* res = result(); in eval() local [all …]
|
/frameworks/av/services/camera/libcameraservice/api1/ |
D | Camera2Client.cpp | 74 status_t res; in initialize() local 76 res = Camera2ClientBase::initialize(module); in initialize() 77 if (res != OK) { in initialize() 78 return res; in initialize() 84 res = l.mParameters.initialize(&(mDevice->info()), mDeviceVersion); in initialize() 85 if (res != OK) { in initialize() 87 __FUNCTION__, mCameraId, strerror(-res), res); in initialize() 528 status_t res; in setPreviewTarget() local 529 if ( (res = checkPid(__FUNCTION__) ) != OK) return res; in setPreviewTarget() 546 status_t res; in setPreviewWindowL() local [all …]
|
/frameworks/wilhelm/tests/mimeUri/ |
D | slesTestGetPositionUri.cpp | 69 SLresult res = (*caller)->GetFillLevel(caller, &level); CheckErr(res); in PrefetchEventCallback() local 72 res = (*caller)->GetPrefetchStatus(caller, &status); CheckErr(res); in PrefetchEventCallback() 96 SLresult res; in PlayEventCallback() local 100 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res); in PlayEventCallback() 113 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res); in PlayEventCallback() 118 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res); in PlayEventCallback() 134 SLresult res; in TestGetPositionUri() local 159 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestGetPositionUri() 160 CheckErr(res); in TestGetPositionUri() 174 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0, in TestGetPositionUri() [all …]
|
D | slesTestSlowDownUri.cpp | 75 SLresult res = (*pRateItf)->GetRate(pRateItf, &rate); CheckErr(res); in PlayEventCallback() local 76 res = (*pRateItf)->GetRateRange(pRateItf, 0, &minRate, &maxRate, &stepSize, &capa); in PlayEventCallback() 77 CheckErr(res); in PlayEventCallback() 84 res = (*pRateItf)->SetRate(pRateItf, rate); CheckErr(res); in PlayEventCallback() 85 if (res == SL_RESULT_FEATURE_UNSUPPORTED) { in PlayEventCallback() 88 CheckErr(res); in PlayEventCallback() 185 SLresult res; in TestSlowDownUri() local 206 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); CheckErr(res); in TestSlowDownUri() 217 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0, in TestSlowDownUri() 218 iidArray, required); CheckErr(res); in TestSlowDownUri() [all …]
|
D | slesTestManyPlayers.cpp | 76 SLresult res; in PrefetchEventCallback() local 79 res = (*caller)->GetFillLevel(caller, &level); CheckErrPlyr(res, *pPlayerId); in PrefetchEventCallback() 82 res = (*caller)->GetPrefetchStatus(caller, &status); CheckErrPlyr(res, *pPlayerId); in PrefetchEventCallback() 107 SLresult res; in PlayEventCallback() local 116 res = (*caller)->GetPosition(caller, &pMsec); CheckErrPlyr(res, *pPlayerId); in PlayEventCallback() 123 res = (*caller)->GetPosition(caller, &pMsec); CheckErrPlyr(res, *pPlayerId); in PlayEventCallback() 134 SLresult res; in TestSetup() local 141 res = slCreateEngine( &slEngine, 1, EngineOption, 0, NULL, NULL); in TestSetup() 142 CheckErr(res); in TestSetup() 144 res = (*slEngine)->Realize(slEngine, SL_BOOLEAN_FALSE); in TestSetup() [all …]
|
D | slesTestPlayUri.cpp | 132 SLresult res; in TestPlayUri() local 152 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlayUri() 153 CheckErr(res); in TestPlayUri() 167 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0, in TestPlayUri() 168 iidArray, required); CheckErr(res); in TestPlayUri() 171 res = (*OutputMix)->Realize(OutputMix, SL_BOOLEAN_FALSE); in TestPlayUri() 172 CheckErr(res); in TestPlayUri() 191 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestPlayUri() 192 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res); in TestPlayUri() 195 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); in TestPlayUri() [all …]
|
D | slesTestLoopUri.cpp | 129 SLresult res; in TestLoopUri() local 149 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestLoopUri() 150 CheckErr(res); in TestLoopUri() 161 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0, in TestLoopUri() 162 iidArray, required); CheckErr(res); in TestLoopUri() 165 res = (*OutputMix)->Realize(OutputMix, SL_BOOLEAN_FALSE); in TestLoopUri() 166 CheckErr(res); in TestLoopUri() 189 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestLoopUri() 190 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res); in TestLoopUri() 193 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); in TestLoopUri() [all …]
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraFlashlight.cpp | 56 status_t res = OK; in createFlashlightControl() local 71 res = mCameraModule->getCameraInfo( in createFlashlightControl() 73 if (res) { in createFlashlightControl() 76 return res; in createFlashlightControl() 109 status_t res = OK; in setTorchMode() local 131 res = createFlashlightControl(cameraId); in setTorchMode() 132 if (res) { in setTorchMode() 133 return res; in setTorchMode() 135 res = mFlashControl->setTorchMode(cameraId, enabled); in setTorchMode() 136 return res; in setTorchMode() [all …]
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestSawtoothBufferQueue.cpp | 59 void CheckErr( SLresult res ) in CheckErr() argument 61 if ( res != SL_RESULT_SUCCESS ) in CheckErr() 63 fprintf(stdout, "%u SL failure, exiting\n", res); in CheckErr() 88 SLresult res; in BufferQueueCallback() local 95 res = (*queueItf)->Enqueue(queueItf, (void*) pCntxt->pData, in BufferQueueCallback() 97 CheckErr(res); in BufferQueueCallback() 112 SLresult res; in TestPlaySawtoothBufferQueue() local 138 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlaySawtoothBufferQueue() 139 CheckErr(res); in TestPlaySawtoothBufferQueue() 152 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0, in TestPlaySawtoothBufferQueue() [all …]
|
D | slesTestDecodeAac.cpp | 211 SLresult res = (*caller)->GetPosition(caller, &position); in PlayCallback() local 212 ExitOnError(res); in PlayCallback() 243 SLresult res; in AndroidBufferQueueCallback() local 275 res = (*caller)->Enqueue(caller, (void *)&kEosBufferCntxt /*pBufferContext*/, in AndroidBufferQueueCallback() 279 ExitOnError(res); in AndroidBufferQueueCallback() 290 res = (*caller)->Enqueue(caller, NULL /*pBufferContext*/, in AndroidBufferQueueCallback() 292 ExitOnError(res); in AndroidBufferQueueCallback() 334 SLresult res; in DecPlayCallback() local 335 res = (*queueItf)->Enqueue(queueItf, pCntxt->pData, BUFFER_SIZE_IN_BYTES); in DecPlayCallback() 336 ExitOnError(res); in DecPlayCallback() [all …]
|
/frameworks/wilhelm/tests/ |
D | mimeUri_test.cpp | 63 void CheckErr( SLresult res ) in CheckErr() argument 65 if ( res != SL_RESULT_SUCCESS ) { in CheckErr() 66 fprintf(stderr, "%u SL failure, exiting\n", res); in CheckErr() 106 SLresult res; in TestPlayUri() local 126 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlayUri() 127 CheckErr(res); in TestPlayUri() 141 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0, in TestPlayUri() 142 iidArray, required); CheckErr(res); in TestPlayUri() 145 res = (*OutputMix)->Realize(OutputMix, SL_BOOLEAN_FALSE); in TestPlayUri() 146 CheckErr(res); in TestPlayUri() [all …]
|
/frameworks/wilhelm/tests/native-media/jni/ |
D | native-media-jni.c | 102 XAresult res; in AndroidBufferQueueCallback() local 117 res = (*playerBQItf)->Clear(playerBQItf); in AndroidBufferQueueCallback() 118 assert(XA_RESULT_SUCCESS == res); in AndroidBufferQueueCallback() 196 res = (*caller)->Enqueue(caller, NULL /*pBufferContext*/, in AndroidBufferQueueCallback() 201 assert(XA_RESULT_SUCCESS == res); in AndroidBufferQueueCallback() 209 res = (*caller)->Enqueue(caller, (void *)&kEosBufferCntxt /*pBufferContext*/, in AndroidBufferQueueCallback() 214 assert(XA_RESULT_SUCCESS == res); in AndroidBufferQueueCallback() 242 XAresult res; in StreamChangeCallback() local 244 res = (*caller)->QueryStreamType(caller, streamIndex, &domain); in StreamChangeCallback() 245 assert(XA_RESULT_SUCCESS == res); in StreamChangeCallback() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | Double3.java | 51 Double3 res = new Double3(); in add() local 52 res.x = a.x + b.x; in add() 53 res.y = a.y + b.y; in add() 54 res.z = a.z + b.z; in add() 56 return res; in add() 89 Double3 res = new Double3(); in add() local 90 res.x = a.x + b; in add() 91 res.y = a.y + b; in add() 92 res.z = a.z + b; in add() 94 return res; in add() [all …]
|
D | Float4.java | 54 Float4 res = new Float4(); in add() local 55 res.x = a.x + b.x; in add() 56 res.y = a.y + b.y; in add() 57 res.z = a.z + b.z; in add() 58 res.w = a.w + b.w; in add() 60 return res; in add() 95 Float4 res = new Float4(); in add() local 96 res.x = a.x + b; in add() 97 res.y = a.y + b; in add() 98 res.z = a.z + b; in add() [all …]
|
D | Double4.java | 54 Double4 res = new Double4(); in add() local 55 res.x = a.x + b.x; in add() 56 res.y = a.y + b.y; in add() 57 res.z = a.z + b.z; in add() 58 res.w = a.w + b.w; in add() 60 return res; in add() 95 Double4 res = new Double4(); in add() local 96 res.x = a.x + b; in add() 97 res.y = a.y + b; in add() 98 res.z = a.z + b; in add() [all …]
|
D | Float2.java | 48 Float2 res = new Float2(); in add() local 49 res.x = a.x + b.x; in add() 50 res.y = a.y + b.y; in add() 52 return res; in add() 83 Float2 res = new Float2(); in add() local 84 res.x = a.x + b; in add() 85 res.y = a.y + b; in add() 87 return res; in add() 108 Float2 res = new Float2(); in sub() local 109 res.x = a.x - b.x; in sub() [all …]
|
D | Double2.java | 49 Double2 res = new Double2(); in add() local 50 res.x = a.x + b.x; in add() 51 res.y = a.y + b.y; in add() 53 return res; in add() 84 Double2 res = new Double2(); in add() local 85 res.x = a.x + b; in add() 86 res.y = a.y + b; in add() 88 return res; in add() 109 Double2 res = new Double2(); in sub() local 110 res.x = a.x - b.x; in sub() [all …]
|
D | Float3.java | 51 Float3 res = new Float3(); in add() local 52 res.x = a.x + b.x; in add() 53 res.y = a.y + b.y; in add() 54 res.z = a.z + b.z; in add() 56 return res; in add() 89 Float3 res = new Float3(); in add() local 90 res.x = a.x + b; in add() 91 res.y = a.y + b; in add() 92 res.z = a.z + b; in add() 94 return res; in add() [all …]
|
/frameworks/av/services/camera/libcameraservice/device2/ |
D | Camera2Device.cpp | 65 status_t res; in initialize() local 71 res = module->open(name, reinterpret_cast<hw_device_t**>(&device)); in initialize() 73 if (res != OK) { in initialize() 75 mId, strerror(-res), res); in initialize() 76 return res; in initialize() 89 res = module->getCameraInfo(mId, &info); in initialize() 90 if (res != OK ) return res; in initialize() 100 res = mRequestQueue.setConsumerDevice(device); in initialize() 101 if (res != OK) { in initialize() 103 __FUNCTION__, mId, strerror(-res), res); in initialize() [all …]
|
/frameworks/wilhelm/tests/sandbox/streamSource/ |
D | slesTestPlayStream.cpp | 111 SLresult res = (*caller)->Enqueue(caller, NULL /*pBufferContext*/, in AndroidBufferQueueCallback() local 114 CheckErr(res); in AndroidBufferQueueCallback() 187 SLresult res; in TestPlayStream() local 211 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlayStream() 212 CheckErr(res); in TestPlayStream() 226 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0, in TestPlayStream() 227 iidArray, required); CheckErr(res); in TestPlayStream() 230 res = (*OutputMix)->Realize(OutputMix, SL_BOOLEAN_FALSE); in TestPlayStream() 231 CheckErr(res); in TestPlayStream() 250 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestPlayStream() [all …]
|