Searched refs:res (Results 1 - 25 of 1361) sorted by path

1234567891011>>

/frameworks/av/camera/
H A DCameraMetadata.cpp190 status_t res; local
195 if ( (res = checkType(tag, TYPE_INT32)) != OK) {
196 return res;
203 status_t res; local
208 if ( (res = checkType(tag, TYPE_BYTE)) != OK) {
209 return res;
216 status_t res; local
221 if ( (res = checkType(tag, TYPE_FLOAT)) != OK) {
222 return res;
229 status_t res; local
242 status_t res; local
255 status_t res; local
268 status_t res; local
282 status_t res; local
332 status_t res; local
348 status_t res; local
360 status_t res; local
520 status_t res = OK; local
617 status_t res = OK; local
[all...]
H A DCameraParameters2.cpp106 ssize_t res = mMap.replaceValueFor(String8(key), String8(value)); local
107 LOG_ALWAYS_FATAL_IF(res < 0, "replaceValueFor(%s,%s) failed", key, value);
H A DCaptureResult.cpp81 status_t res = OK; local
82 res = mMetadata.readFromParcel(parcel);
83 if (res != OK) {
86 return res;
90 res = mResultExtras.readFromParcel(parcel);
91 if (res != OK) {
94 return res;
110 status_t res; local
112 res = mMetadata.writeToParcel(parcel);
113 if (res !
[all...]
H A DICameraService.cpp293 status_t res = data.readInt32();
301 return res;
312 status_t res = data.readInt32();
313 return res;
H A DVendorTagDescriptor.cpp142 status_t res = OK;
149 if ((res = parcel->readInt32(&tagCount)) != OK) {
151 return res;
167 if ((res = parcel->readInt32(reinterpret_cast<int32_t*>(&tag))) != OK) {
173 res = BAD_VALUE;
176 if ((res = parcel->readInt32(&tagType)) != OK) {
182 res = BAD_VALUE;
188 res = NOT_ENOUGH_DATA;
192 if ((res = parcel->readInt32(reinterpret_cast<int32_t*>(&sectionIndex))) != OK) {
205 if (res !
[all...]
/frameworks/av/camera/camera2/
H A DICameraDeviceUser.cpp101 status_t res = reply.readInt32(); local
110 if ((res != NO_ERROR) || (resFrameNumber != NO_ERROR)) {
111 res = FAILED_TRANSACTION;
113 return res;
142 status_t res = reply.readInt32(); local
150 if ((res != NO_ERROR) || (resFrameNumber != NO_ERROR)) {
151 res = FAILED_TRANSACTION;
153 return res;
165 status_t res = reply.readInt32(); local
170 res
294 status_t res = reply.readInt32(); local
[all...]
/frameworks/av/cmds/stagefright/
H A Dcodec.cpp324 int res; local
325 while ((res = getopt(argc, argv, "havpSD")) >= 0) {
326 switch (res) {
H A Dmuxer.cpp222 int res; local
223 while ((res = getopt(argc, argv, "h?avo:s:e:r:")) >= 0) {
224 switch (res) {
H A Drecordvideo.cpp174 int res; local
175 while ((res = getopt(argc, argv, "b:c:f:i:n:w:t:l:p:v:o:hs")) >= 0) {
176 switch (res) {
H A Dsf2.cpp591 int res; local
592 while ((res = getopt(argc, argv, "haSR")) >= 0) {
593 switch (res) {
H A Dstagefright.cpp682 int res; local
683 while ((res = getopt(argc, argv, "han:lm:b:ptsrow:kxSTd:D:")) >= 0) {
684 switch (res) {
723 if (res == 'n') {
725 } else if (res == 'm') {
728 CHECK_EQ(res, 'b');
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DCryptoPlugin.cpp67 status_t res = mSession->decrypt(keyId, iv, srcPtr, dstPtr, subSamples, local
69 if (res == android::OK) {
73 return static_cast<ssize_t>(res);
H A DDrmPlugin.cpp67 status_t res = session->provideKeyResponse(response); local
68 if (res == android::OK) {
71 return res;
H A DInitDataParser.cpp49 android::status_t res = parsePssh(initData, &keyIds); local
50 if (res != android::OK) {
51 return res;
/frameworks/av/include/media/stagefright/foundation/
H A DADebug.h42 AString res; \
44 res.append(a); \
45 res.append(" vs. "); \
46 res.append(b); \
48 return res; \
/frameworks/av/media/common_time/
H A Dlocal_clock.cpp35 int res; local
43 res = hw_get_module_by_class(LOCAL_TIME_HARDWARE_MODULE_ID, NULL, &mod);
44 if (res) {
45 ALOGE("Failed to open local time HAL module (res = %d)", res);
47 res = local_time_hw_device_open(mod, &dev_);
48 if (res) {
49 ALOGE("Failed to open local time HAL device (res = %d)", res);
/frameworks/av/media/img_utils/include/img_utils/
H A DEndianUtils.h134 status_t res = OK; local
140 if ((res = mOutput->write(reinterpret_cast<uint8_t*>(&tmp), 0, size))
142 return res;
151 if ((res = mOutput->write(reinterpret_cast<uint8_t*>(&tmp), 0, size))
153 return res;
163 return res;
/frameworks/av/media/img_utils/src/
H A DEndianUtils.cpp49 status_t res = OK; local
50 if((res = mOutput->write(buf, offset, count)) == OK) {
53 return res;
/frameworks/av/media/libmedia/
H A DIMediaPlayer.cpp542 status_t res = getRetransmitEndpoint(&endpoint); local
544 reply->writeInt32(res);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp1755 status_t res = NO_ERROR; local
1757 res = t->setSampleRate(mPlaybackRatePermille * mSampleRateHz / 1000);
1758 if (res == NO_ERROR) {
1760 res = t->attachAuxEffect(mAuxEffectId);
1763 ALOGV("open() DONE status %d", res);
1764 return res;
1856 status_t res = NO_ERROR; local
1858 res = mTrack->setSampleRate(ratePermille * mSampleRateHz / 1000);
1860 res = NO_INIT;
1866 return res;
[all...]
H A DVideoFrameScheduler.cpp348 status_t res = mComposer->getDisplayStats(NULL /* display */, &stats); local
349 if (res == OK) {
355 ALOGW("getDisplayStats returned %d", res);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoder.cpp343 status_t res = mCodec->dequeueInputBuffer(&bufferIx); local
345 mComponentName.c_str(), res == OK ? (int)bufferIx : res);
346 if (res != OK) {
347 if (res != -EAGAIN) {
349 mComponentName.c_str(), res);
350 handleError(res);
402 status_t res = mCodec->dequeueOutputBuffer( local
405 if (res != OK) {
406 ALOGV("[%s] dequeued output: %d", mComponentName.c_str(), res);
[all...]
H A DNuPlayerRenderer.cpp1318 status_t res = mAudioSink->getTimestamp(ts); local
1319 if (res == OK) { // case 1: mixing audio tracks and offloaded tracks.
1336 } else if (res == WOULD_BLOCK) { // case 2: transitory state on start of a new track
1342 res = mAudioSink->getPosition(&numFramesPlayed);
1343 CHECK_EQ(res, (status_t)OK);
/frameworks/av/media/libnbaio/
H A DMonoPipe.cpp42 status_t res; local
43 if (OK != (res = tmpHelper.getLocalFreq(&cacheN))) {
45 " MonoPipe (res = %d). getNextWriteTimestamp calls will be"
46 " non-functional", res);
/frameworks/av/media/libstagefright/
H A DACodec.cpp1884 status_t res = mOMX->setParameter(mNode, OMX_IndexParamAudioAac, &profile, sizeof(profile)); local
1885 if (res == OK) {
1890 ALOGW("did not set AudioAndroidAacPresentation due to error %d when setting AudioAac", res);
1892 return res;

Completed in 451 milliseconds

1234567891011>>