Searched defs:err (Results 101 - 125 of 314) sorted by relevance

1234567891011>>

/frameworks/av/cmds/stagefright/
H A Dcodec.cpp91 status_t err = extractor->getTrackFormat(i, &format); local
92 CHECK_EQ(err, (status_t)OK);
110 err = extractor->selectTrack(i);
111 CHECK_EQ(err, (status_t)OK);
125 err = state->mCodec->configure(
130 CHECK_EQ(err, (status_t)OK);
159 status_t err = extractor->getSampleTrackIndex(&trackIndex); local
161 if (err != OK) {
168 err = state->mCodec->dequeueInputBuffer(&index, kTimeout);
170 if (err
204 status_t err = local
252 status_t err = state->mCodec->dequeueOutputBuffer( local
[all...]
H A Dmuxer.cpp93 status_t err = extractor->getTrackFormat(i, &format); local
94 CHECK_EQ(err, (status_t)OK);
132 err = extractor->selectTrack(i);
133 CHECK_EQ(err, (status_t)OK);
151 status_t err = extractor->getSampleTrackIndex(&trackIndex); local
152 if (err != OK) {
153 ALOGV("saw input eos, err %d", err);
157 err = extractor->readSampleData(newBuffer);
158 CHECK_EQ(err, (status_
[all...]
H A Drecordvideo.cpp95 status_t err = mGroup.acquire_buffer(buffer); local
96 if (err != OK) {
97 return err;
267 status_t err = OK; local
310 err = writer->stop();
316 if (err != OK && err != ERROR_END_OF_STREAM) {
317 fprintf(stderr, "record failed: %d\n", err);
/frameworks/av/include/media/stagefright/
H A DMediaErrors.h103 // returns true if err is a recognized DRM error code
104 static inline bool isCryptoError(status_t err) { argument
105 return (ERROR_DRM_LAST_USED_ERRORCODE <= err && err <= ERROR_DRM_UNKNOWN)
106 || (ERROR_DRM_VENDOR_MIN <= err && err <= ERROR_DRM_VENDOR_MAX);
/frameworks/av/media/img_utils/src/
H A DDngUtils.cpp133 status_t err = addGainMap(/*top*/redTop, local
149 if (err != OK) return err;
151 err = addGainMap(/*top*/greenEvenTop,
167 if (err != OK) return err;
169 err = addGainMap(/*top*/greenOddTop,
185 if (err != OK) return err;
187 err
225 status_t err = mEndianOut.write(&opcodeId, 0, 1); local
[all...]
/frameworks/av/media/libmedia/
H A DIHDCP.cpp106 status_t err = reply.readInt32(); local
108 if (err != OK) {
111 return err;
117 return err;
132 status_t err = reply.readInt32(); local
134 if (err != OK) {
136 return err;
142 return err;
157 status_t err = reply.readInt32(); local
159 if (err !
252 status_t err = encrypt(inData, size, streamCTR, &inputCTR, outData); local
279 status_t err = encryptNative(graphicBuffer, offset, size, local
306 status_t err = decrypt(inData, size, streamCTR, inputCTR, outData); local
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightPlayer.cpp115 status_t err = mPlayer->seekTo((int64_t)msec * 1000); local
117 return err;
124 status_t err = mPlayer->getPosition(&positionUs); local
126 if (err != OK) {
127 return err;
139 status_t err = mPlayer->getDuration(&durationUs); local
141 if (err != OK) {
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DHTTPLiveSource.cpp106 status_t err = mLiveSession->getStreamFormat( local
111 if (err != OK) {
151 status_t err = mLiveSession->selectTrack(trackIndex, select); local
153 if (err == OK) {
165 return (err == OK || err == BAD_VALUE) ? (status_t)OK : err;
256 status_t err; local
257 CHECK(msg->findInt32("err", &err));
[all...]
H A DNuPlayerDecoderPassThrough.cpp80 status_t err = mRenderer->openAudioSink( local
83 if (err != OK) {
84 handleError(err);
114 status_t err = OK; local
118 err = fetchInputData(msg);
119 if (err != OK) {
126 if (err == -EWOULDBLOCK
133 status_t err; local
139 err = mPendingAudioErr;
142 err
222 status_t err = dequeueAccessUnit(&accessUnit); local
[all...]
/frameworks/av/media/libstagefright/
H A DAACExtractor.cpp307 status_t err = mGroup->acquire_buffer(&buffer); local
308 if (err != OK) {
309 return err;
H A DAACWriter.cpp138 status_t err = mSource->start(); local
140 if (err != OK) {
141 return err;
177 status_t err = static_cast<status_t>(reinterpret_cast<uintptr_t>(dummy)); local
180 if (err == OK &&
182 err = status;
187 return err;
309 status_t err = OK; local
314 while (!mDone && err == OK) {
316 err
[all...]
H A DAMRExtractor.cpp269 status_t err; local
270 if ((err = getFrameSizeByOffset(mDataSource, mOffset,
272 return err;
301 status_t err = mGroup->acquire_buffer(&buffer); local
302 if (err != OK) {
303 return err;
H A DAudioSource.cpp119 status_t err = mRecord->start(); local
120 if (err == OK) {
127 return err;
H A DDRMExtractor.cpp128 status_t err; local
129 if ((err = mOriginalMediaSource->read(buffer, options)) != OK) {
130 return err;
143 if ((err = mDrmManagerClient->decrypt(mDecryptHandle, mTrackId,
151 return err;
H A DSurfaceMediaSource.cpp73 status_t err = mConsumer->consumerConnect(proxy, false); local
74 if (err != NO_ERROR) {
76 strerror(-err), err);
170 status_t err = local
173 if (err != OK) {
174 return err;
298 status_t err = mConsumer->acquireBuffer(&item, 0); local
299 if (err == BufferQueue::NO_BUFFER_AVAILABLE) {
302 } else if (err
[all...]
H A DTimedEventQueue.cpp272 status_t err = mQueueHeadChangedCondition.waitRelative( local
275 if (!timeoutCapped && err == -ETIMEDOUT) {
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DAACEncoder.cpp154 status_t err = mSource->start(params); local
155 if (err != OK) {
157 return err;
217 status_t err; local
H A DSoftAACEncoder.cpp316 status_t err = setAudioSpecificConfigData(); local
318 if (err != OK) {
319 return err;
361 status_t err = getSampleRateTableIndex(mSampleRate, index); local
362 if (err != OK) {
364 return err;
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dpsy_main.c197 Word16 ch, err; local
200 err = InitPsyConfigurationLong(channelBitRate,
205 if (!err) {
207 err = InitTnsConfigurationLong(bitRate, sampleRate, channels,
211 if (!err)
212 err = InitPsyConfigurationShort(channelBitRate,
216 if (!err) {
217 err = InitTnsConfigurationShort(bitRate, sampleRate, channels,
221 if (!err)
233 return(err);
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
H A DSoftAMR.cpp128 Word16 err = GSMInitDecode(&mState, (Word8 *)"AMRNBDecoder"); local
130 if (err != 0) {
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
H A DSoftVorbis.cpp356 int err = vorbis_dsp_synthesis(mState, &pack, 1); local
357 if (err != 0) {
360 ALOGV("vorbis_dsp_synthesis returned %d", err);
362 ALOGW("vorbis_dsp_synthesis returned %d", err);
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp189 int err; local
190 if ((err = native_window_dequeue_buffer_and_wait(mNativeWindow.get(),
192 ALOGW("Surface::dequeueBuffer returned error %d", err);
280 if ((err = native_window_set_buffers_timestamp(mNativeWindow.get(),
282 ALOGW("Surface::set_buffers_timestamp returned error %d", err);
285 if ((err = mNativeWindow->queueBuffer(mNativeWindow.get(), buf,
287 ALOGW("Surface::queueBuffer returned error %d", err);
/frameworks/av/media/libstagefright/foundation/
H A DAString.cpp362 status_t err = parcel->writeInt32(mSize); local
363 if (err == OK) {
364 err = parcel->write(mData, mSize);
366 return err;
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2TSExtractor.cpp100 status_t err = mExtractor->feedMore(); local
101 if (err != OK) {
102 mImpl->signalEOS(err);
/frameworks/av/media/libstagefright/omx/
H A DGraphicBufferSource.cpp109 status_t err = mConsumer->consumerDisconnect(); local
110 if (err != NO_ERROR) {
111 ALOGW("consumerDisconnect failed: %d", err);
363 status_t err = mConsumer->acquireBuffer(&item, 0); local
365 if (err == BufferQueue::NO_BUFFER_AVAILABLE) {
369 } else if (err != OK) {
370 ALOGW("suspend: acquireBuffer returned err=%d", err);
413 status_t err = mConsumer->acquireBuffer(&item, 0); local
414 if (err
500 status_t err = submitBuffer_l(item, cbi); local
676 status_t err = mNodeInstance->emptyDirectBuffer(header, 0, local
719 status_t err = mNodeInstance->emptyDirectBuffer(header, /*offset*/ 0, local
770 status_t err = mConsumer->acquireBuffer(&item, 0); local
[all...]

Completed in 278 milliseconds

1234567891011>>