Searched refs:from (Results 1 - 25 of 511) sorted by path

1234567891011>>

/frameworks/av/include/media/
H A DAudioRecord.h44 EVENT_MORE_DATA = 0, // Request to read available data from buffer.
67 // on output from obtainBuffer() it is the number of available
73 // on output from obtainBuffer() it is the number of available
109 * Returned status (from utils/Errors.h) can be:
123 /* How data is transferred from AudioRecord
126 TRANSFER_DEFAULT, // not specified explicitly; determine from the other parameters
147 * inputSource: Select the audio input to record from (e.g. AUDIO_SOURCE_DEFAULT).
165 * transferType: How data is transferred from AudioRecord.
187 /* Terminates the AudioRecord and unregisters it from AudioFlinger.
197 * Returned status (from util
[all...]
H A DAudioTrack.h60 EVENT_LOOP_END = 2, // Sample loop end was reached; playback restarted from
73 // in the mapping from frame position to presentation time.
88 // on output from obtainBuffer() it is the number of available
94 // on output from obtainBuffer() it is the number of available
134 * Returned status (from utils/Errors.h) can be:
150 TRANSFER_DEFAULT, // not specified explicitly; determine from the other parameters
189 * frames have been consumed from track input buffer by server.
272 /* Terminates the AudioTrack and unregisters it from AudioFlinger.
282 * Returned status (from utils/Errors.h) can be:
293 * threadCanCallJava: Whether callbacks are made from a
[all...]
/frameworks/av/include/media/stagefright/
H A DColorConverter.h31 ColorConverter(OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to);
H A DMetaData.h219 MetaData(const MetaData &from);
/frameworks/av/include/media/stagefright/foundation/
H A DALookup.h30 bool lookup(const T& from, U *to) const;
31 bool rlookup(const U& from, T *to) const;
34 inline bool map(const T& from, V *to) const { return lookup(from, to); } argument
37 inline bool map(const V& from, T *to) const { return rlookup(from, to); } argument
49 bool ALookup<T, U>::lookup(const T& from, U *to) const { argument
51 if (elem.first == from) {
60 bool ALookup<T, U>::rlookup(const U& from, T *to) const { argument
62 if (elem.second == from) {
[all...]
H A DAString.h33 AString(const String8 &from);
34 AString(const AString &from);
35 AString(const AString &from, size_t offset, size_t n);
38 AString &operator=(const AString &from);
41 void setTo(const AString &from, size_t offset, size_t n);
55 void append(const AString &from);
56 void append(const AString &from, size_t offset, size_t n);
67 void insert(const AString &from, size_t insertionPos);
68 void insert(const char *from, size_t size, size_t insertionPos);
H A DMutexed.h97 * unlock() or lock() from different threads; they must be called from the thread
106 inline Locked(Locked &&from) : argument
107 mLock(from.mLock),
108 mTreasure(from.mTreasure),
109 mLocked(from.mLocked) {}
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp176 // UUIDs for effect types have been generated from http://www.itu.int/ITU-T/asn1/uuid.html
687 #define BAD_STATE_ABORT(from, to) \
688 LOG_ALWAYS_FATAL("Bad state transition from %d to %d", from, to);
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp197 // these below should probably come from the audioFlinger too...
628 "session ID changed from %d to %d", originalSessionId, mSessionId);
697 ALOGW("Server adjusted notificationFrames from %u to %zu for frameCount %zu",
790 // keep them from going away if another thread re-creates the track during obtainBuffer()
827 // FIXME starts the requested timeout and elapsed over from scratch
1031 // If > 0, poll periodically to recover from a stuck server. A good value is 2.
1157 status_t AudioRecord::restoreRecord_l(const char *from) argument
1159 ALOGW("dead IAudioRecord, creating a new one from %s()", from);
H A DAudioTrack.cpp153 // When called from createTrack, speed is 1.0f (normal speed).
271 ALOGV("~AudioTrack, releasing session id %d from %d on behalf of %d",
378 // these below should probably come from the audioFlinger too...
594 // the counters are realistic (i.e. start from zero after this time).
835 // FIXME use Proxy return channel to update the rate from server and avoid polling here
1410 "session ID changed from %d to %d", originalSessionId, mSessionId);
1484 ALOGW("Client adjusted notificationFrames from %u to %zu for frameCount %zu",
1619 // keep them from going away if another thread re-creates the track during obtainBuffer()
1666 // FIXME starts the requested timeout and elapsed over from scratch
1813 // are notified because they have been cleared from mCbl
2170 restoreTrack_l(const char *from) argument
[all...]
/frameworks/av/media/libstagefright/
H A DNuCachedSource2.cpp52 void copy(size_t from, void *data, size_t size);
139 void PageCache::copy(size_t from, void *data, size_t size) { argument
140 ALOGV("copy from %zu size %zu", from, size);
146 CHECK_LE(from + size, mTotalSize);
150 while (from >= offset + (*it)->mSize) {
155 size_t delta = from - offset;
274 // explicitly disconnect from the source, to allow any
524 // If the request can be completely satisfied from the cache, do so.
711 ALOGE("Failed to parse cache parameters from '
[all...]
H A DStagefrightMetadataRetriever.cpp310 // we don't expect an output from codec config buffer
415 ALOGE("Unable to convert from format 0x%08x to RGB565", srcFormat);
567 int from; member in struct:android::Map
595 if (meta->findCString(kMap[i].from, &value)) {
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dpvamrwbdecoder_mem_funcs.h19 Portions of this file are derived from the following 3GPP standard:
23 Available from http://www.3gpp.org
27 terms listed above has been obtained from the copyright holder.
61 #define pv_memcpy(to, from, n) memcpy(to, from, n)
62 #define pv_memmove(to, from, n) memmove(to, from, n)
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dmp3_mem_funcs.h67 #define pv_memcpy(to, from, n) memcpy(to, from, n)
68 #define pv_memmove(to, from, n) memmove(to, from, n)
/frameworks/av/media/libstagefright/colorconversion/
H A DColorConverter.cpp28 OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to)
29 : mSrcFormat(from),
27 ColorConverter( OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to) argument
/frameworks/av/media/libstagefright/foundation/
H A DAMessage.cpp429 const Item *from = &mItems[i]; local
432 to->setName(from->mName, from->mNameLength);
433 to->mType = from->mType;
435 switch (from->mType) {
439 new AString(*from->u.stringValue);
446 to->u.refValue = from->u.refValue;
454 static_cast<AMessage *>(from->u.refValue)->dup();
463 to->u = from->u;
657 ALOGE("Failed reading string value from
[all...]
H A DAString.cpp53 AString::AString(const String8 &from) argument
57 setTo(from.string(), from.length());
60 AString::AString(const AString &from) argument
64 setTo(from, 0, from.size());
67 AString::AString(const AString &from, size_t offset, size_t n) argument
71 setTo(from, offset, n);
78 AString &AString::operator=(const AString &from) { argument
79 if (&from !
107 setTo(const AString &from, size_t offset, size_t n) argument
191 append(const AString &from) argument
195 append(const AString &from, size_t offset, size_t n) argument
274 insert(const AString &from, size_t insertionPos) argument
278 insert(const char *from, size_t size, size_t insertionPos) argument
[all...]
H A DMetaData.cpp35 MetaData::MetaData(const MetaData &from) argument
37 mItems(from.mItems) {
244 MetaData::typed_data::typed_data(const typed_data &from) argument
245 : mType(from.mType),
248 void *dst = allocateStorage(from.mSize);
250 memcpy(dst, from.storage(), mSize);
255 const MetaData::typed_data &from) {
256 if (this != &from) {
258 mType = from.mType;
259 void *dst = allocateStorage(from
254 operator =( const MetaData::typed_data &from) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTPAssembler.cpp61 void ARTPAssembler::CopyTimes(const sp<ABuffer> &to, const sp<ABuffer> &from) { argument
63 CHECK(from->meta()->findInt32("rtp-time", (int32_t *)&rtpTime));
68 to->setInt32Data(from->int32Data());
H A DARTPAssembler.h47 static void CopyTimes(const sp<ABuffer> &to, const sp<ABuffer> &from);
H A DARTSPConnection.cpp158 // Split of user:pass@ from hostname.
824 const char *from, unsigned long *x) {
826 *x = strtoul(from, &end, 10);
828 if (end == from || *end != '\0') {
823 ParseSingleUnsignedLong( const char *from, unsigned long *x) argument
H A DARTSPConnection.h123 const char *from, unsigned long *x);
H A DASessionDescription.cpp266 float from, to; local
267 if (!parseNTPRange(value.c_str() + 4, &from, &to)) {
271 *durationUs = (int64_t)((to - from) * 1E6);
/frameworks/av/services/audioflinger/
H A DEffects.h19 #error This header file should only be included from AudioFlinger.h
35 // from different client threads. It keeps a list of EffectHandle objects corresponding
145 const effect_descriptor_t mDescriptor;// effect descriptor received from effect engine
357 // types or implementations from the suspend/restore mechanism.
H A DPatchPanel.h19 #error This header file should only be included from AudioFlinger.h

Completed in 1003 milliseconds

1234567891011>>