Home
last modified time | relevance | path

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

123456

/external/webkit/WebKit/android/plugins/
DANPSoundInterface.cpp61 ANPAudioTrack* track = reinterpret_cast<ANPAudioTrack*>(user); in callbackProc() local
73 track->mProc(kMoreData_ANPAudioEvent, track->mUser, &dst); in callbackProc()
79 track->mProc(kUnderRun_ANPAudioEvent, track->mUser, NULL); in callbackProc()
93 ANPAudioTrack* track = new ANPAudioTrack; in ANPCreateTrack() local
95 track->mUser = user; in ANPCreateTrack()
96 track->mProc = proc; in ANPCreateTrack()
97 track->mTrack = new android::AudioTrack(android::AudioSystem::MUSIC, in ANPCreateTrack()
104 track, in ANPCreateTrack()
107 if (track->mTrack->initCheck() != 0) { // failure in ANPCreateTrack()
108 delete track->mTrack; in ANPCreateTrack()
[all …]
/external/esd/include/
Daudiofile.h432 int afReadFrames (AFfilehandle, int track, void *buffer, int frameCount);
433 int afWriteFrames (AFfilehandle, int track, const void *buffer, int frameCount);
434 AFframecount afSeekFrame (AFfilehandle, int track, AFframecount frameoffset);
435 AFframecount afTellFrame (AFfilehandle, int track);
436 AFfileoffset afGetTrackBytes (AFfilehandle, int track);
437 float afGetFrameSize (AFfilehandle, int track, int expand3to4);
438 float afGetVirtualFrameSize (AFfilehandle, int track, int expand3to4);
442 void afInitAESChannelData (AFfilesetup, int track); /* obsolete */
443 void afInitAESChannelDataTo (AFfilesetup, int track, int willBeData);
444 int afGetAESChannelData (AFfilehandle, int track, unsigned char buf[24]);
[all …]
/external/opencore/fileformats/mp4/parser/src/
Dmovieatom.cpp225 TrackAtom *track = NULL; in MovieAtom() local
236 track); in MovieAtom()
239 if (track->MP4Success()) in MovieAtom()
241 count -= track->getSize(); in MovieAtom()
242 addTrackAtom(track); in MovieAtom()
247 _mp4ErrorCode = track->GetMP4Error(); in MovieAtom()
248 if (track != NULL) in MovieAtom()
250 PV_MP4_FF_DELETE(NULL, TrackAtom, track); in MovieAtom()
251 track = NULL; in MovieAtom()
266 track); in MovieAtom()
[all …]
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/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 …]
/external/e2fsprogs/e2fsck/
Dscantest.c55 void init_resource_track(struct resource_track *track) in init_resource_track() argument
59 track->brk_start = sbrk(0); in init_resource_track()
60 gettimeofday(&track->time_start, 0); in init_resource_track()
62 track->user_start = r.ru_utime; in init_resource_track()
63 track->system_start = r.ru_stime; in init_resource_track()
73 static void print_resource_track(struct resource_track *track) in print_resource_track() argument
82 (int) (((char *) sbrk(0)) - ((char *) track->brk_start)), in print_resource_track()
83 timeval_subtract(&time_end, &track->time_start), in print_resource_track()
84 timeval_subtract(&r.ru_utime, &track->user_start), in print_resource_track()
85 timeval_subtract(&r.ru_stime, &track->system_start)); in print_resource_track()
Dutil.c279 void init_resource_track(struct resource_track *track) in init_resource_track() argument
285 track->brk_start = sbrk(0); in init_resource_track()
286 gettimeofday(&track->time_start, 0); in init_resource_track()
292 track->user_start = r.ru_utime; in init_resource_track()
293 track->system_start = r.ru_stime; in init_resource_track()
295 track->user_start.tv_sec = track->user_start.tv_usec = 0; in init_resource_track()
296 track->system_start.tv_sec = track->system_start.tv_usec = 0; in init_resource_track()
313 void print_resource_track(const char *desc, struct resource_track *track) in print_resource_track() argument
337 (int) (((char *) sbrk(0)) - ((char *) track->brk_start))); in print_resource_track()
343 timeval_subtract(&time_end, &track->time_start), in print_resource_track()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/cdrom/beos/
DSDL_syscdrom.cc46 #define CD_TRACK(toc, track) (&toc.toc_data[6+(track)*8]) argument
47 #define CD_TRACK_N(toc, track) CD_TRACK(toc, track)[0] argument
48 #define CD_TRACK_M(toc, track) CD_TRACK(toc, track)[3] argument
49 #define CD_TRACK_S(toc, track) CD_TRACK(toc, track)[4] argument
50 #define CD_TRACK_F(toc, track) CD_TRACK(toc, track)[5] argument
296 cdrom->track[i].id = CD_TRACK_N(toc, i); in SDL_SYS_CDGetTOC()
298 cdrom->track[i].type = SDL_AUDIO_TRACK; in SDL_SYS_CDGetTOC()
299 cdrom->track[i].offset = MSF_TO_FRAMES( in SDL_SYS_CDGetTOC()
303 cdrom->track[i].length = 0; in SDL_SYS_CDGetTOC()
305 cdrom->track[i-1].length = in SDL_SYS_CDGetTOC()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/cdrom/win32/
DSDL_syscdrom.c181 cdrom->track[i].id = i+1; in SDL_SYS_CDGetTOC()
182 mci_status.dwTrack = cdrom->track[i].id; in SDL_SYS_CDGetTOC()
190 cdrom->track[i].type = SDL_AUDIO_TRACK; in SDL_SYS_CDGetTOC()
192 cdrom->track[i].type = SDL_DATA_TRACK; in SDL_SYS_CDGetTOC()
195 cdrom->track[i].type = SDL_AUDIO_TRACK; in SDL_SYS_CDGetTOC()
202 cdrom->track[i].offset = MSF_TO_FRAMES( in SDL_SYS_CDGetTOC()
206 cdrom->track[i].length = 0; in SDL_SYS_CDGetTOC()
208 cdrom->track[i-1].length = in SDL_SYS_CDGetTOC()
209 cdrom->track[i].offset- in SDL_SYS_CDGetTOC()
210 cdrom->track[i-1].offset; in SDL_SYS_CDGetTOC()
[all …]
/external/sonivox/jet_tools/JetCreator/
Dmidifile.py193 def __init__ (self, track, channel, name, empty): argument
194 self.track = track
199 return "['%s', '%s', '%s']" % (self.track, self.channel, self.name)
360 def WriteTicks (self, stream, track): argument
361 WriteVarLenQty(stream, self.ticks - track.ticks)
362 track.ticks = self.ticks
363 def WriteRunningStatus (self, stream, track, filters, msg, data1, data2=None): argument
366 self.WriteTicks(stream, track)
368 if track.running_status != status:
370 track.running_status = status
[all …]
DJetUtils.py419 def SetMuteFlag(track, muteFlag, mute): argument
422 SetMute(track, muteFlag)
424 ClearMute(track, muteFlag)
426 def SetMute(track, muteFlag): argument
429 muteFlag |= 1 << (track)
435 def ClearMute(track, muteFlag): argument
438 muteFlag &= ~(1 << (track))
444 def GetMute(track, muteFlag): argument
447 if (muteFlag & ( 1 << (track))) == 0:
618 for track in mi.trackList:
[all …]
/external/qemu/distrib/sdl-1.2.12/src/cdrom/
DSDL_cdrom.c159 for ( i=1; cdrom->track[i].offset <= position; ++i ) { in SDL_CDStatus()
164 position, i-1, cdrom->track[i-1].offset); in SDL_CDStatus()
167 position -= cdrom->track[cdrom->cur_track].offset; in SDL_CDStatus()
208 (cdrom->track[strack].type == SDL_DATA_TRACK) ) { in SDL_CDPlayTracks()
211 if ( sframe >= (int)cdrom->track[strack].length ) { in SDL_CDPlayTracks()
216 (cdrom->track[etrack-1].type == SDL_DATA_TRACK) ) { in SDL_CDPlayTracks()
219 if ( eframe > (int)cdrom->track[etrack].length ) { in SDL_CDPlayTracks()
225 start = (cdrom->track[strack].offset+sframe); in SDL_CDPlayTracks()
226 length = (cdrom->track[etrack].offset+eframe)-start; in SDL_CDPlayTracks()
/external/qemu/distrib/sdl-1.2.12/src/cdrom/mint/
DSDL_syscdrom.c189 cdrom->track[i].id = CDROM_LEADOUT; in SDL_SYS_CDGetTOC()
191 cdrom->track[i].id = toc.cdth_trk0+i; in SDL_SYS_CDGetTOC()
193 entry.cdte_track = cdrom->track[i].id; in SDL_SYS_CDGetTOC()
200 cdrom->track[i].type = SDL_DATA_TRACK; in SDL_SYS_CDGetTOC()
202 cdrom->track[i].type = SDL_AUDIO_TRACK; in SDL_SYS_CDGetTOC()
204 cdrom->track[i].offset = MSF_TO_FRAMES( in SDL_SYS_CDGetTOC()
208 cdrom->track[i].length = 0; in SDL_SYS_CDGetTOC()
210 cdrom->track[i-1].length = cdrom->track[i].offset-cdrom->track[i-1].offset; in SDL_SYS_CDGetTOC()
/external/qemu/distrib/sdl-1.2.12/src/cdrom/osf/
DSDL_syscdrom.c284 cdrom->track[i].id = 0xAA;; in SDL_SYS_CDGetTOC()
286 cdrom->track[i].id = hdr.th_starting_track + i; in SDL_SYS_CDGetTOC()
289 cdrom->track[i].type = in SDL_SYS_CDGetTOC()
291 cdrom->track[i].offset = in SDL_SYS_CDGetTOC()
296 cdrom->track[i].length = 0; in SDL_SYS_CDGetTOC()
298 cdrom->track[i - 1].length = in SDL_SYS_CDGetTOC()
299 cdrom->track[i].offset - in SDL_SYS_CDGetTOC()
300 cdrom->track[i - 1].offset; in SDL_SYS_CDGetTOC()
307 fprintf(stderr,"cdrom->track[%d].id = %d\n", i,cdrom->track[i].id); in SDL_SYS_CDGetTOC()
308 fprintf(stderr,"cdrom->track[%d].type = %x\n", i,cdrom->track[i].type); in SDL_SYS_CDGetTOC()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/cdrom/openbsd/
DSDL_syscdrom.c267 cdrom->track[i].id = 0xAA; /* CDROM_LEADOUT */ in SDL_SYS_CDGetTOC()
269 cdrom->track[i].id = toc.starting_track+i; in SDL_SYS_CDGetTOC()
271 entry.starting_track = cdrom->track[i].id; in SDL_SYS_CDGetTOC()
279 cdrom->track[i].type = data.control; in SDL_SYS_CDGetTOC()
280 cdrom->track[i].offset = MSF_TO_FRAMES( in SDL_SYS_CDGetTOC()
284 cdrom->track[i].length = 0; in SDL_SYS_CDGetTOC()
286 cdrom->track[i-1].length = in SDL_SYS_CDGetTOC()
287 cdrom->track[i].offset- in SDL_SYS_CDGetTOC()
288 cdrom->track[i-1].offset; in SDL_SYS_CDGetTOC()
309 info.track = 0; in SDL_SYS_CDStatus()
/external/qemu/distrib/sdl-1.2.12/src/cdrom/freebsd/
DSDL_syscdrom.c258 cdrom->track[i].id = 0xAA; /* CDROM_LEADOUT */ in SDL_SYS_CDGetTOC()
260 cdrom->track[i].id = toc.starting_track+i; in SDL_SYS_CDGetTOC()
262 entry.starting_track = cdrom->track[i].id; in SDL_SYS_CDGetTOC()
270 cdrom->track[i].type = data.control; in SDL_SYS_CDGetTOC()
271 cdrom->track[i].offset = MSF_TO_FRAMES( in SDL_SYS_CDGetTOC()
275 cdrom->track[i].length = 0; in SDL_SYS_CDGetTOC()
277 cdrom->track[i-1].length = in SDL_SYS_CDGetTOC()
278 cdrom->track[i].offset- in SDL_SYS_CDGetTOC()
279 cdrom->track[i-1].offset; in SDL_SYS_CDGetTOC()
300 info.track = 0; in SDL_SYS_CDStatus()
/external/qemu/distrib/sdl-1.2.12/src/cdrom/macosx/
DSDL_syscdrom.c84 if (cdrom->track[i].offset <= start && in GetFileForOffset()
85 start < (cdrom->track[i].offset + cdrom->track[i].length)) in GetFileForOffset()
94 *outStartFrame = start - cdrom->track[i].offset; in GetFileForOffset()
96 if ((*outStartFrame + length) < cdrom->track[i].length) { in GetFileForOffset()
104 length -= cdrom->track[i].length - *outStartFrame; in GetFileForOffset()
105 nextTrackFrame = cdrom->track[i+1].offset; in GetFileForOffset()
332 *position = cdrom->track[currentTrack].offset + trackFrame; in SDL_SYS_CDStatus()
DCDPlayer.c271 theCD->track[idx].id = value; in ReadTOCData()
274 theCD->track[idx].offset = value; in ReadTOCData()
276 … theCD->track[idx].type = (isDataTrack == kCFBooleanTrue) ? SDL_DATA_TRACK : SDL_AUDIO_TRACK; in ReadTOCData()
280 … theCD->track[idx-1].length = theCD->track[idx].offset - theCD->track[idx-1].offset; in ReadTOCData()
287 theCD->track[theCD->numtracks-1].length = in ReadTOCData()
288 value - theCD->track[theCD->numtracks-1].offset; in ReadTOCData()
291 theCD->track[theCD->numtracks].offset = value; in ReadTOCData()
/external/opencore/fileformats/mp4/composer/src/
Dmovieatom.cpp175 PVA_FF_TrackAtom *track = getMediaTrack(trackID); in setTargetBitrate() local
177 if (track != NULL) in setTargetBitrate()
179 track->setTargetBitrate(avgBitRate, maxBitRate, bufferSizeDB); in setTargetBitrate()
187 PVA_FF_TrackAtom *track = getMediaTrack(trackID); in setTimeScale() local
189 if (track != NULL) in setTimeScale()
191 track->setMediaTimeScale(rate); in setTimeScale()
282 PVA_FF_TrackAtom *track = (*_pMediaTrackVec)[i]; in prepareToRender() local
284 PVA_FF_TrackHeaderAtom *tkhdPtr = track->getTrackHeaderAtomPtr(); in prepareToRender()
292 track->prepareToRender(); in prepareToRender()
294 uint32 TrackDuration = track->getDuration(); in prepareToRender()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/cdrom/linux/
DSDL_syscdrom.c415 cdrom->track[i].id = CDROM_LEADOUT; in SDL_SYS_CDGetTOC()
417 cdrom->track[i].id = toc.cdth_trk0+i; in SDL_SYS_CDGetTOC()
419 entry.cdte_track = cdrom->track[i].id; in SDL_SYS_CDGetTOC()
426 cdrom->track[i].type = SDL_DATA_TRACK; in SDL_SYS_CDGetTOC()
428 cdrom->track[i].type = SDL_AUDIO_TRACK; in SDL_SYS_CDGetTOC()
430 cdrom->track[i].offset = MSF_TO_FRAMES( in SDL_SYS_CDGetTOC()
434 cdrom->track[i].length = 0; in SDL_SYS_CDGetTOC()
436 cdrom->track[i-1].length = in SDL_SYS_CDGetTOC()
437 cdrom->track[i].offset- in SDL_SYS_CDGetTOC()
438 cdrom->track[i-1].offset; in SDL_SYS_CDGetTOC()
/external/qemu/distrib/sdl-1.2.12/src/cdrom/qnx/
DSDL_syscdrom.c290 cdrom->track[i].id = CDROM_LEADOUT; in SDL_SYS_CDGetTOC()
294 cdrom->track[i].id = toc.first_track+i; in SDL_SYS_CDGetTOC()
297 cdrom->track[i].type = toc.toc_entry[i].control_adr & 0x0F; in SDL_SYS_CDGetTOC()
298 cdrom->track[i].offset = toc.toc_entry[i].addr.lba; in SDL_SYS_CDGetTOC()
299 cdrom->track[i].length = 0; in SDL_SYS_CDGetTOC()
303 cdrom->track[i-1].length = cdrom->track[i].offset-cdrom->track[i-1].offset; in SDL_SYS_CDGetTOC()
/external/qemu/distrib/sdl-1.2.12/src/cdrom/bsdi/
DSDL_syscdrom.c381 cdrom->track[i].id = 0xAA; /* Leadout */ in SDL_SYS_CDGetTOC()
383 cdrom->track[i].id = first_track + i; in SDL_SYS_CDGetTOC()
385 cdrom->track[i].type = SDL_DATA_TRACK; in SDL_SYS_CDGetTOC()
387 cdrom->track[i].type = SDL_AUDIO_TRACK; in SDL_SYS_CDGetTOC()
388 cdrom->track[i].offset = msf_to_frame(p[5], p[6], p[7]); in SDL_SYS_CDGetTOC()
389 cdrom->track[i].length = 0; in SDL_SYS_CDGetTOC()
391 cdrom->track[i-1].length = cdrom->track[i].offset - in SDL_SYS_CDGetTOC()
392 cdrom->track[i-1].offset; in SDL_SYS_CDGetTOC()
/external/qemu/distrib/sdl-1.2.12/src/cdrom/aix/
DSDL_syscdrom.c490 cdrom->track[i].id = 0xAA;; in SDL_SYS_CDGetTOC()
492 cdrom->track[i].id = cmd.indexing.track_index.first_track+i; in SDL_SYS_CDGetTOC()
495 entry.indexing.track_msf.track = cdrom->track[i].id; in SDL_SYS_CDGetTOC()
499 cdrom->track[i].type = 0; /* don't know how to detect 0x04 data track */ in SDL_SYS_CDGetTOC()
500 cdrom->track[i].offset = MSF_TO_FRAMES( in SDL_SYS_CDGetTOC()
504 cdrom->track[i].length = 0; in SDL_SYS_CDGetTOC()
506 cdrom->track[i-1].length = cdrom->track[i].offset in SDL_SYS_CDGetTOC()
507 - cdrom->track[i-1].offset; in SDL_SYS_CDGetTOC()

123456