Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 1124) sorted by relevance

12345678910>>...45

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dfastidct.cpp329 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/camera2/
DStreamingProcessor.cpp53 status_t res; in setPreviewWindow() local
55 res = deletePreviewStream(); in setPreviewWindow()
56 if (res != OK) return res; in setPreviewWindow()
72 status_t res; in updatePreviewRequest() local
78 res = client->getCameraDevice()->createDefaultRequest(CAMERA2_TEMPLATE_PREVIEW, in updatePreviewRequest()
80 if (res != OK) { in updatePreviewRequest()
82 "%s (%d)", __FUNCTION__, client->getCameraId(), strerror(-res), res); in updatePreviewRequest()
83 return res; in updatePreviewRequest()
87 res = params.updateRequest(&mPreviewRequest); in updatePreviewRequest()
88 if (res != OK) { in updatePreviewRequest()
[all …]
DCameraMetadata.cpp114 status_t res; in update() local
115 if ( (res = checkType(tag, TYPE_INT32)) != OK) { in update()
116 return res; in update()
123 status_t res; in update() local
124 if ( (res = checkType(tag, TYPE_BYTE)) != OK) { in update()
125 return res; in update()
132 status_t res; in update() local
133 if ( (res = checkType(tag, TYPE_FLOAT)) != OK) { in update()
134 return res; in update()
141 status_t res; in update() local
[all …]
DZslProcessor.cpp110 status_t res; in updateStream() local
133 res = device->getStreamInfo(mZslStreamId, in updateStream()
135 if (res != OK) { in updateStream()
138 client->getCameraId(), strerror(-res), res); in updateStream()
139 return res; in updateStream()
143 res = device->deleteReprocessStream(mZslReprocessStreamId); in updateStream()
144 if (res != OK) { in updateStream()
147 client->getCameraId(), strerror(-res), res); in updateStream()
148 return res; in updateStream()
152 res = device->deleteStream(mZslStreamId); in updateStream()
[all …]
DCaptureSequencer.cpp82 status_t res = -1; in waitUntilIdle() local
86 res = mStateChanged.waitRelative(mStateMutex, timeout); in waitUntilIdle()
87 if (res != OK) return res; in waitUntilIdle()
187 status_t res; in threadLoop() local
219 status_t res; in manageIdle() local
222 res = mStartCaptureSignal.waitRelative(mInputMutex, in manageIdle()
224 if (res == TIMED_OUT) break; in manageIdle()
235 status_t res = OK; in manageDone() local
252 res = INVALID_OPERATION; in manageDone()
265 res = INVALID_OPERATION; in manageDone()
[all …]
DCallbackProcessor.cpp55 status_t res; in updateStream() local
75 res = device->getStreamInfo(mCallbackStreamId, in updateStream()
77 if (res != OK) { in updateStream()
80 strerror(-res), res); in updateStream()
81 return res; in updateStream()
91 res = device->deleteStream(mCallbackStreamId); in updateStream()
92 if (res != OK) { in updateStream()
95 strerror(-res), res); in updateStream()
96 return res; in updateStream()
106 res = device->createStream(mCallbackWindow, in updateStream()
[all …]
DJpegProcessor.cpp63 status_t res; in updateStream() local
100 res = device->getStreamInfo(mCaptureStreamId, in updateStream()
102 if (res != OK) { in updateStream()
105 client->getCameraId(), strerror(-res), res); in updateStream()
106 return res; in updateStream()
112 res = device->deleteStream(mCaptureStreamId); in updateStream()
113 if (res != OK) { in updateStream()
116 client->getCameraId(), strerror(-res), res); in updateStream()
117 return res; in updateStream()
125 res = device->createStream(mCaptureWindow, in updateStream()
[all …]
/frameworks/wilhelm/tests/mimeUri/
DslesTestGetPositionUri.cpp69 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 …]
DslesTestSlowDownUri.cpp75 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 …]
DslesTestManyPlayers.cpp76 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 …]
DslesTestPlayUri.cpp132 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 …]
DslesTestLoopUri.cpp129 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/wilhelm/tests/examples/
DslesTestSawtoothBufferQueue.cpp59 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 …]
DslesTestDecodeAac.cpp211 SLresult res = (*caller)->GetPosition(caller, &position); in PlayCallback() local
212 ExitOnError(res); in PlayCallback()
243 SLresult res; in AndroidBufferQueueCallback() local
274 res = (*caller)->Enqueue(caller, (void *)&kEosBufferCntxt /*pBufferContext*/, in AndroidBufferQueueCallback()
278 ExitOnError(res); in AndroidBufferQueueCallback()
289 res = (*caller)->Enqueue(caller, NULL /*pBufferContext*/, in AndroidBufferQueueCallback()
291 ExitOnError(res); in AndroidBufferQueueCallback()
333 SLresult res; in DecPlayCallback() local
334 res = (*queueItf)->Enqueue(queueItf, pCntxt->pData, BUFFER_SIZE_IN_BYTES); in DecPlayCallback()
335 ExitOnError(res); in DecPlayCallback()
[all …]
/frameworks/wilhelm/tests/
DmimeUri_test.cpp63 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/av/services/camera/libcameraservice/
DCamera2Device.cpp59 status_t res; in initialize() local
65 res = module->common.methods->open(&module->common, name, in initialize()
68 if (res != OK) { in initialize()
70 mId, strerror(-res), res); in initialize()
71 return res; in initialize()
84 res = module->get_camera_info(mId, &info); in initialize()
85 if (res != OK ) return res; in initialize()
95 res = mRequestQueue.setConsumerDevice(device); in initialize()
96 if (res != OK) { in initialize()
98 __FUNCTION__, mId, strerror(-res), res); in initialize()
[all …]
DCamera2Client.cpp79 status_t res; in initialize() local
81 res = mDevice->initialize(module); in initialize()
82 if (res != OK) { in initialize()
84 __FUNCTION__, mCameraId, strerror(-res), res); in initialize()
88 res = mDevice->setNotifyCallback(this); in initialize()
92 res = l.mParameters.initialize(&(mDevice->info())); in initialize()
93 if (res != OK) { in initialize()
95 __FUNCTION__, mCameraId, strerror(-res), res); in initialize()
357 status_t res = mDevice->dump(fd, args); in dump() local
358 if (res != OK) { in dump()
[all …]
/frameworks/wilhelm/tests/native-media/jni/
Dnative-media-jni.c102 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/wilhelm/tests/sandbox/streamSource/
DslesTestPlayStream.cpp111 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 …]
/frameworks/wilhelm/tests/automated/
DBufferQueue_test.cpp53 void CheckErr(SLresult res) { in CheckErr() argument
54 if (SL_RESULT_SUCCESS != res) { in CheckErr()
55 const char *str = slesutResultToString(res); in CheckErr()
58 fprintf(stderr, "CheckErr failure: %s (0x%x), exiting\n", str, res); in CheckErr()
74 SLresult res; member in TestBufferQueue
102 res = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in SetUp()
103 CheckErr(res); in SetUp()
104 res = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in SetUp()
105 CheckErr(res); in SetUp()
106 res = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); in SetUp()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Didct_vca.cpp46 int res, res2; in idctrow1() local
60 res = tmp + (pred_word & 0xFF); in idctrow1()
61 CLIP_RESULT(res); in idctrow1()
64 dst_word = (res2 << 8) | res; in idctrow1()
65 res = tmp + ((pred_word >> 16) & 0xFF); in idctrow1()
66 CLIP_RESULT(res); in idctrow1()
67 dst_word |= (res << 16); in idctrow1()
68 res = tmp + ((pred_word >> 24) & 0xFF); in idctrow1()
69 CLIP_RESULT(res); in idctrow1()
70 dst_word |= (res << 24); in idctrow1()
[all …]
/frameworks/base/core/jni/
Dandroid_server_NetworkManagementSocketTagger.cpp43 int res = qtaguid_tagSocket(userFd, tagNum, uid); in QTagUid_tagSocketFd() local
44 if (res < 0) { in QTagUid_tagSocketFd()
47 return (jint)res; in QTagUid_tagSocketFd()
59 int res = qtaguid_untagSocket(userFd); in QTagUid_untagSocketFd() local
60 if (res < 0) { in QTagUid_untagSocketFd()
63 return (jint)res; in QTagUid_untagSocketFd()
69 int res = qtaguid_setCounterSet(setNum, uid); in QTagUid_setCounterSet() local
70 if (res < 0) { in QTagUid_setCounterSet()
73 return (jint)res; in QTagUid_setCounterSet()
79 int res = qtaguid_deleteTagData(tagNum, uid); in QTagUid_deleteTagData() local
[all …]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
Dh264bsd_interpolate_ver_quarter.s40 res RN 3 label
173 LDR res, = 0x00FF00FF
176 AND res, res, tmpb, LSR #5 ;// mask and divide by 32
194 ORR res, res, tmpa
197 UHSUB8 res, res, tmp1 ;// bilinear interpolation
199 EOR res, res, tmpa ;// correct sign
201 STR res, [mb], #16 ;// next row (mb)
225 LDR res, = 0x00FF00FF
228 AND res, res, tmpb, LSR #5 ;// mask and divide by 32
246 ORR res, res, tmpa
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DEditorInfo.java373 EditorInfo res = new EditorInfo();
374 res.inputType = source.readInt();
375 res.imeOptions = source.readInt();
376 res.privateImeOptions = source.readString();
377 res.actionLabel = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
378 res.actionId = source.readInt();
379 res.initialSelStart = source.readInt();
380 res.initialSelEnd = source.readInt();
381 res.initialCapsMode = source.readInt();
382 res.hintText = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
[all …]
/frameworks/base/docs/html/intl/ja/training/multiscreen/
Dscreensizes.jd58 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane_with_bar.xml all}
76 &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
126 <li><code>res/layout/main.xml</code>、シングルペイン(デフォルト)レイアウト:
128 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all}
130 <li><code>res/layout-large/main.xml</code>、2 ペイン レイアウト:
132 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all}
146 <li><code>res/layout/main.xml</code>、シングルペイン(デフォルト)レイアウト:
148 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all}
150 <li><code>res/layout-sw600dp/main.xml</code>、2 ペイン レイアウト:
152 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all}
[all …]

12345678910>>...45