Home
last modified time | relevance | path

Searched refs:track (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DMediaAudioTrackTest.java87 AudioTrack track = null; in constructorTestMultiSampleRate() local
89 track = new AudioTrack( in constructorTestMultiSampleRate()
102 if (track != null) { in constructorTestMultiSampleRate()
103 localRes = (track.getState() == _expected_stateForMode); in constructorTestMultiSampleRate()
104 track.release(); in constructorTestMultiSampleRate()
262 AudioTrack track = null; in testConstructorStreamType() local
268 track = new AudioTrack(STREAM_TYPES[i], in testConstructorStreamType()
278 if (track != null) { in testConstructorStreamType()
279 if (track.getState() != AudioTrack.STATE_INITIALIZED) { in testConstructorStreamType()
285 track.release(); in testConstructorStreamType()
[all …]
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/
Dc4t64fx.c75 Word16 track, /* (i) track to use */
85 Word16 track, /* (i) track to use */
95 Word16 track, /* (i) track to use */
136 Word16 st, ix, iy, pos, index, track, nb_pulse, nbiter, j_temp; in ACELP_4t64_fx() local
726 track = (Word16) (i & 0x03); /* track = i % NB_TRACK (0..3) */ in ACELP_4t64_fx()
738 i = (Word16)((vo_L_mult(track, NPMAXPT) >> 1)); in ACELP_4t64_fx()
751 for (track = 0; track < NB_TRACK; track++) in ACELP_4t64_fx()
753 _index[track] = (Word16)(quant_1p_N1(ind[k], 4)); in ACELP_4t64_fx()
758 for (track = 0; track < NB_TRACK; track++) in ACELP_4t64_fx()
760 _index[track] = (Word16)(quant_2p_2N1(ind[k], ind[k + 1], 4)); in ACELP_4t64_fx()
[all …]
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/
Dc8_31pf.cpp202 Word16 track; in build_code() local
241 track = i & 3; /* track = pos%4 */ in build_code()
259 if (pos_indx[track] < 0) in build_code()
261 pos_indx[track] = pos_index; in build_code()
262 sign_indx[track] = sign_index; in build_code()
266 if (((sign_index ^ sign_indx[track]) & 1) == 0) in build_code()
270 if (pos_indx[track] <= pos_index) in build_code()
272 pos_indx[track + NB_TRACK_MR102] = pos_index; in build_code()
276 pos_indx[track + NB_TRACK_MR102] = pos_indx[track]; in build_code()
278 pos_indx[track] = pos_index; in build_code()
[all …]
Dc2_11pf.cpp627 Word16 track; in build_code() local
677 track = i - tempWord; in build_code()
679 tempWord = track; in build_code()
683 track = 1; in build_code()
692 else if (track == 1) in build_code()
698 track = 0; in build_code()
708 track = 1; in build_code()
725 else if (track == 2) in build_code()
727 track = 1; in build_code()
743 else if (track == 3) in build_code()
[all …]
Dc4_17pf.cpp404 Word16 track; in search_4i40() local
432 for (track = 3; track < 5; track++) in search_4i40()
439 ipos[3] = track; in search_4i40()
751 Word16 track; in build_code() local
790 track = i - (Word16) s; in build_code()
794 if (track == 1) in build_code()
799 else if (track == 2) in build_code()
804 else if (track == 3) in build_code()
809 else if (track == 4) in build_code()
811 track = 3; in build_code()
[all …]
Dc3_14pf.cpp681 Word16 track; in build_code() local
718 track = i - (Word16) s; in build_code()
720 if (track == 1) in build_code()
725 else if (track == 2) in build_code()
727 track = 2; in build_code()
732 else if (track == 3) in build_code()
734 track = 1; in build_code()
742 else if (track == 4) in build_code()
744 track = 2; in build_code()
759 track = 1 << track; in build_code()
[all …]
Dc2_9pf.cpp999 register Word16 track; in build_code() local
1030 track = i - (5 * index); /* track = pos%5 */ in build_code()
1032 first = *(pt + track); in build_code()
1037 track = 0; in build_code()
1046 track = 1; in build_code()
1054 rsign += (1 << track); in build_code()
Dc1035pf.cpp409 Word16 i, k, track, index, _sign[NB_PULSE]; in build_code() local
436 track = i - (index * 5); in build_code()
452 p1 = &indx[track]; in build_code()
/frameworks/base/core/java/android/widget/
DScrollBarDrawable.java149 Drawable track; in drawTrack() local
151 track = mVerticalTrack; in drawTrack()
153 track = mHorizontalTrack; in drawTrack()
155 if (track != null) { in drawTrack()
157 track.setBounds(bounds); in drawTrack()
159 track.draw(canvas); in drawTrack()
193 public void setVerticalTrackDrawable(Drawable track) { in setVerticalTrackDrawable() argument
194 mVerticalTrack = track; in setVerticalTrackDrawable()
203 public void setHorizontalTrackDrawable(Drawable track) { in setHorizontalTrackDrawable() argument
204 mHorizontalTrack = track; in setHorizontalTrackDrawable()
/frameworks/base/media/libstagefright/
DMPEG4Extractor.cpp271 Track *track = mFirstTrack; in ~MPEG4Extractor() local
272 while (track) { in ~MPEG4Extractor()
273 Track *next = track->next; in ~MPEG4Extractor()
275 delete track; in ~MPEG4Extractor()
276 track = next; in ~MPEG4Extractor()
297 Track *track = mFirstTrack; in countTracks() local
298 while (track) { in countTracks()
300 track = track->next; in countTracks()
313 Track *track = mFirstTrack; in getTrackMetaData() local
315 if (track == NULL) { in getTrackMetaData()
[all …]
/frameworks/base/services/audioflinger/
DAudioMixer.cpp117 track_t& track(mState.tracks[ name ]); in deleteTrackName() local
118 if (track.enabled != 0) { in deleteTrackName()
119 track.enabled = 0; in deleteTrackName()
122 if (track.resampler) { in deleteTrackName()
124 delete track.resampler; in deleteTrackName()
125 track.resampler = 0; in deleteTrackName()
126 track.sampleRate = mSampleRate; in deleteTrackName()
129 track.volumeInc[0] = 0; in deleteTrackName()
130 track.volumeInc[1] = 0; in deleteTrackName()
167 status_t AudioMixer::setActiveTrack(int track) in setActiveTrack() argument
[all …]
DAudioFlinger.cpp294 sp<PlaybackThread::Track> track; in createTrack() local
353 track = thread->createTrack_l(client, streamType, sampleRate, format, in createTrack()
365 trackHandle = new TrackHandle(track); in createTrack()
370 track.clear(); in createTrack()
1038 sp<Track> track = mTracks[i]; in dumpTracks() local
1039 if (track != 0) { in dumpTracks()
1040 track->dump(buffer, SIZE); in dumpTracks()
1051 sp<Track> track = wTrack.promote(); in dumpTracks() local
1052 if (track != 0) { in dumpTracks()
1053 track->dump(buffer, SIZE); in dumpTracks()
[all …]
/frameworks/base/media/libstagefright/rtsp/
DMyHandler.h478 TrackInfo *track = NULL; in onMessageReceived() local
481 track = &mTracks.editItemAt(trackIndex); in onMessageReceived()
491 CHECK(track != NULL); in onMessageReceived()
517 if (!track->mUsingInterleavedTCP) { in onMessageReceived()
523 track->mRTPSocket, in onMessageReceived()
524 track->mRTCPSocket, in onMessageReceived()
529 track->mRTPSocket, track->mRTCPSocket, in onMessageReceived()
531 notify, track->mUsingInterleavedTCP); in onMessageReceived()
538 if (track) { in onMessageReceived()
539 if (!track->mUsingInterleavedTCP) { in onMessageReceived()
[all …]
DASessionDescription.cpp186 const Attribs &track = mTracks.itemAt(index); in findAttribute() local
187 ssize_t i = track.indexOfKey(AString(key)); in findAttribute()
193 *value = track.valueAt(i); in findAttribute()
/frameworks/base/media/java/android/media/
DAudioTrack.java1031 void onMarkerReached(AudioTrack track); in onMarkerReached() argument
1037 void onPeriodicNotification(AudioTrack track); in onPeriodicNotification() argument
1052 NativeEventHandlerDelegate(AudioTrack track, Handler handler) { in NativeEventHandlerDelegate() argument
1053 mAudioTrack = track; in NativeEventHandlerDelegate()
1112 AudioTrack track = (AudioTrack)((WeakReference)audiotrack_ref).get(); in postEventFromNative() local
1113 if (track == null) { in postEventFromNative()
1117 if (track.mEventHandlerDelegate != null) { in postEventFromNative()
1119 track.mEventHandlerDelegate.getHandler().obtainMessage(what, arg1, arg2, obj); in postEventFromNative()
1120 track.mEventHandlerDelegate.getHandler().sendMessage(m); in postEventFromNative()
/frameworks/base/media/libstagefright/codecs/amrwb/src/
Ddec_acelp_4p_in_64.cpp123 void add_pulses(int16 pos[], int16 nb_pulse, int16 track, int16 code[]);
246 void add_pulses(int16 pos[], int16 nb_pulse, int16 track, int16 code[]) in add_pulses() argument
253 i = ((pos[k] & (NB_POS - 1)) << 2) + track; in add_pulses()
/frameworks/base/include/media/stagefright/
DMPEG4Writer.h100 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) in Chunk()
101 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) { in Chunk()
156 void trackProgressStatus(const Track* track, int64_t timeUs, status_t err = OK);
/frameworks/base/docs/html/resources/articles/
Dui-1.6.jd34 android:layout_below="@+id/track"
35 android:layout_alignLeft="@id/track"
42 android:id="@id/track"
71 "band" TextView is positioned below the "track" TextView but "track" is declared
/frameworks/base/media/libstagefright/matroska/
DMatroskaExtractor.cpp708 const mkvparser::Track *track = tracks->GetTrackByIndex(index); in addTracks() local
710 const char *const codecID = track->GetCodecId(); in addTracks()
712 LOGV("codec name = %s", track->GetCodecNameAsUTF8()); in addTracks()
716 track->GetCodecPrivate(codecPrivateSize); in addTracks()
722 switch (track->GetType()) { in addTracks()
726 static_cast<const mkvparser::VideoTrack *>(track); in addTracks()
745 static_cast<const mkvparser::AudioTrack *>(track); in addTracks()
775 trackInfo->mTrackNum = track->GetNumber(); in addTracks()
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/
Dcor_h_vec_neon.s20 @ Word16 track, /* (i) track to use */
28 @r2 ---- track
41 ADD r7, r4, r2, LSL #5 @r7 --- p0 = rrixix[track]
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
Dcor_h_vec_opt.s19 @ Word16 track, /* (i) track to use */
27 @r2 ---- track
41 ADD r7, r4, r2, LSL #5 @r7 --- p0 = rrixix[track]
/frameworks/base/docs/html/guide/topics/media/jet/
Djetcreator_manual.jd95 track, but may be made up of multiple channels of MIDI
101 tracks, and each track may in turn be made up of one or more channels of MIDI
103 separate track in an SMF-1 file. However, it is possible to have multiple MIDI
104 channels on a single track, or multiple tracks that contain data for the same MIDI
109 <p><i>Track</i>: A single track in a DAW containing a timed sequence of events. Be careful not to …
193 temporarily un-mutes a decorative track that notifies the player of a
194 successful attack, and similarly, another track is temporarily un-muted to
208 a track at the moment the game event occurs might result in a music clip
216 track. A MIDI event in the stream signifies
218 application calls the JET clip function, the next clip in the track is allowed
[all …]
/frameworks/base/voip/jni/rtp/
DAudioGroup.cpp788 AudioTrack track; in threadLoop() local
790 if (track.set(AudioSystem::VOICE_CALL, sampleRate, AudioSystem::PCM_16_BIT, in threadLoop()
797 LOGD("latency: output %d, input %d", track.latency(), record.latency()); in threadLoop()
801 (track.latency() + record.latency()) * sampleRate / 1000); in threadLoop()
818 track.start(); in threadLoop()
836 status_t status = track.obtainBuffer(&buffer, 1); in threadLoop()
841 track.releaseBuffer(&buffer); in threadLoop()
/frameworks/base/media/libstagefright/include/
DMPEG4Extractor.h72 static status_t verifyTrack(Track *track);
/frameworks/base/core/java/com/google/android/util/
DAbstractMessageParser.java770 private String track; field in AbstractMessageParser.MusicTrack
772 public MusicTrack(String track) { in MusicTrack() argument
773 super(Type.MUSIC, track); in MusicTrack()
774 this.track = track; in MusicTrack()
777 public String getTrack() { return track; } in getTrack()

123