/haiku/src/apps/mediaconverter/ |
H A D | MediaFileInfo.cpp | 145 duration << (int32)(useconds / 1000000) 160 duration.SetTo("");
|
H A D | MediaConverterWindow.cpp | 199 // start/end duration 810 BString duration; local 813 // HACK: get the fInfoView to update the duration "synchronously" 815 duration << fInfoView->Duration() / 1000; 817 duration = "0"; 819 // update duration text controls 821 fEndDurationTC->SetText(duration.String());
|
/haiku/src/add-ons/media/plugins/ffmpeg/ |
H A D | AVFormatReader.cpp | 434 // duration wrongly sometimes. :-( 440 // a duration. So don't let ffmpeg give a (wrong) estimate in this case. 444 if ((int64)fStream->duration != AV_NOPTS_VALUE) { 445 int64_t time = fStream->duration; 449 } else if ((int64)fContext->duration != AV_NOPTS_VALUE) 450 return (bigtime_t)fContext->duration; 496 int64_t duration = Duration(); 497 if (duration == 0) 500 timeStamp = int64_t(fileSize * ((double)timeStamp / duration)); 542 * ((double)(foundTime - *time) / (2 * duration))); 1230 GetStreamInfo(int64* frameCount, bigtime_t* duration, media_format* format, const void** infoBuffer, size_t* infoSize) const argument 1734 GetStreamInfo(void* _cookie, int64* frameCount, bigtime_t* duration, media_format* format, const void** infoBuffer, size_t* infoSize) argument [all...] |
H A D | AVCodecDecoder.cpp | 703 manually (using the frame rate and the frame duration) if the 1420 fTempPacket->duration = data->duration;
|
H A D | Utilities.h | 32 int64_t duration; member in struct:avpacket_user_data
|
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/ |
H A D | if_iwm.c | 2855 uint32_t duration, uint32_t max_delay) 2876 time_cmd.duration = htole32(duration); 8776 uint32_t duration; local 8831 duration = in->in_ni.ni_intval * 2; 8833 duration = IEEE80211_DUR_TU; 8834 iwm_protect_session(sc, in, duration, in->in_ni.ni_intval / 2); 2854 iwm_protect_session(struct iwm_softc *sc, struct iwm_node *in, uint32_t duration, uint32_t max_delay) argument
|
H A D | if_iwmreg.h | 2759 * and for a certain duration, the driver needs to issue a time event. 2771 * time and for a certain duration, it sends a Time Event. The flow against the 2780 * What is the duration of the event? 2875 * @duration: duration of event in TU 2894 uint32_t duration; member in struct:iwm_time_event_cmd 2984 * @max_duration: max uninterrupted context duration in TU 3010 * @max_duration: max uninterrupted context duration in TU 3449 * @duration: MFUART loading time 3455 uint32_t duration; member in struct:iwm_mfuart_load_notif 5521 uint32_t duration; member in struct:iwm_scan_results_notif [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/ |
H A D | if_iwx.c | 8109 uint32_t duration; local 8176 duration = in->in_ni.ni_intval * 9; 8178 duration = 900; 8179 return iwx_schedule_session_protection(sc, in, duration);
|
H A D | if_iwxreg.h | 2983 * and for a certain duration, the driver needs to issue a time event. 2995 * time and for a certain duration, it sends a Time Event. The flow against the 3004 * What is the duration of the event? 3099 * @duration: duration of event in TU 3118 uint32_t duration; member in struct:iwx_time_event_cmd 3168 * * Another event which can be much longer (its duration is 3175 * Only the duration is configurable for this protection. 3180 * the duration, the interval and the repetition count. 3183 * repetitive. Valid only on the P2P Device MAC. Only the duration wil 3832 uint32_t duration; member in struct:iwx_mfuart_load_notif 6505 uint32_t duration; member in struct:iwx_scan_results_notif [all...] |
/haiku/src/add-ons/media/media-add-ons/multi_audio/ |
H A D | MultiAudioNode.cpp | 990 // reset our buffer duration, etc. to avoid later calculations 991 bigtime_t duration = channel->fOutput.format.u.raw_audio.buffer_size * 10000 local 997 SetBufferDuration(duration); 1084 // duration. 2075 PRINT(("\tlatency = %" B_PRIdBIGTIME ", buffer duration = %" B_PRIdBIGTIME 2102 //PRINT(("buffer size: %i, buffer duration: %i\n", fOutput.format.u.raw_audio.buffer_size, BufferDuration()));
|
/haiku/src/apps/mediaplayer/ |
H A D | MainWin.cpp | 204 "Gets the duration of the item in microseconds.", 0, 2765 // Write duration 2770 bigtime_t duration = fController->TimeDuration(); local 2772 node.WriteAttr(kDurationAttrName, B_INT64_TYPE, 0, &duration,
|
/haiku/src/tests/kits/media/wav_reader_test/ |
H A D | main.cpp | 77 bigtime_t duration; local 81 s = reader->GetStreamInfo(cookies[i], &frameCount, &duration, &format, &infoBuffer, &infoSize); 86 TRACE("main: GetStreamInfo(stream = %d) result: %lld frames, %.6f sec\n", i, frameCount, duration / 1000000.0);
|
/haiku/src/tests/kits/media/mp3_reader_test/ |
H A D | main.cpp | 77 bigtime_t duration; local 81 s = reader->GetStreamInfo(cookies[i], &frameCount, &duration, &format, &infoBuffer, &infoSize); 86 TRACE("main: GetStreamInfo(stream = %d) result: %lld frames, %.6f sec\n", i, frameCount, duration / 1000000.0);
|
/haiku/src/tests/add-ons/media/plugins/musepack/ |
H A D | main.cpp | 90 bigtime_t duration; local 94 status = reader->GetStreamInfo(cookies[i], &frameCount, &duration, &format, 102 i, frameCount, duration / 1000000.0);
|
/haiku/src/kits/media/ |
H A D | MediaRoster.cpp | 3040 request.duration = *_length; 3048 *_length = reply.duration; 3403 printf("Suggested buffer duration %" B_PRId64 ", size %" B_PRIdSSIZE "\n",
|
H A D | SoundPlayNode.cpp | 425 // reset our buffer duration, etc. to avoid later calculations 426 bigtime_t duration = ((fOutput.format.u.raw_audio.buffer_size * 1000000LL) local 431 SetBufferDuration(duration); 432 TRACE("SoundPlayNode::Connect: buffer duration is %" B_PRId64 "\n", 433 duration); 510 // a buffer, which catches us up in time by one buffer duration. 802 "duration = %" B_PRId64 ", count %" B_PRId32 "\n", fLatency,
|
/haiku/src/add-ons/media/plugins/au_reader/ |
H A D | au_reader.cpp | 295 auReader::GetStreamInfo(void *cookie, int64 *frameCount, bigtime_t *duration, argument 299 *duration = fDuration;
|
/haiku/src/add-ons/media/media-add-ons/opensound/ |
H A D | OpenSoundNode.cpp | 822 // start with the node latency (1 buffer duration) 1222 // reset our buffer duration, etc. to avoid later calculations 1223 bigtime_t duration = channel->fOutput.format.u.raw_audio.buffer_size local 1230 SetBufferDuration(duration); 1329 // duration. 2249 // buffer duration
|
/haiku/src/add-ons/media/media-add-ons/esound_sink/ |
H A D | ESDSinkNode.cpp | 741 // reset our buffer duration, etc. to avoid later calculations 742 bigtime_t duration = channel->fOutput.format.u.raw_audio.buffer_size * 10000 747 SetBufferDuration(duration); 837 // a buffer, which catches us up in time by one buffer duration.
|
/haiku/headers/posix/ |
H A D | termios.h | 231 extern int tcsendbreak(int fd, int duration);
|
/haiku/src/system/libroot/posix/ |
H A D | termios.c | 95 /*! send zero bits for the specified duration */ 97 tcsendbreak(int fd, int duration) argument 100 // As the interpretation of the duration is undefined, we'll just ignore it
|
/haiku/src/system/libroot/posix/libstdthreads/ |
H A D | thrd.c | 118 thrd_sleep(const struct timespec *duration, struct timespec *remaining) argument 121 return (nanosleep(duration, remaining));
|
/haiku/src/add-ons/media/media-add-ons/mixer/ |
H A D | MixerUtils.cpp | 222 frames_for_duration(double framerate, bigtime_t duration) argument 224 if (duration <= 0 || framerate <= 0.0) 226 return (int64) ceil(framerate * double(duration) / 1000000.0); 262 bigtime_t duration = 0; local 264 duration = s_to_us((format.buffer_size / bytes_per_frame(format)) / format.frame_rate); 266 return duration;
|
/haiku/src/kits/game/ |
H A D | GameSoundBuffer.cpp | 135 GameSoundBuffer::SetGain(float gain, bigtime_t duration) argument 143 if (duration > 100000) 144 fGainRamp = InitRamp(&fGain, gain, fFormat.frame_rate, duration); 160 GameSoundBuffer::SetPan(float pan, bigtime_t duration) argument 168 if (duration < 100000) { 179 fPanRamp = InitRamp(&fPan, pan, fFormat.frame_rate, duration); 194 attributes[i].duration = fGainRamp->duration; 200 attributes[i].duration = fPanRamp->duration; [all...] |
H A D | GSUtility.h | 46 bigtime_t duration; member in struct:_gs_ramp 50 _gs_ramp* InitRamp(float* value, float set, float frames, bigtime_t duration);
|