Home
last modified time | relevance | path

Searched refs:l_frames (Results 1 – 2 of 2) sorted by relevance

/haiku/src/kits/media/
H A DTimeCode.cpp12 int32 l_frames; in us_to_timecode() local
21 l_frames = int32((((micros % 1000000) * 29.97) / 1000000) + (micros / 1000000 * 29.97)); in us_to_timecode()
24 l_frames = int32((((micros % 1000000) * 29.95) / 1000000) + (micros / 1000000 * 29.95)); in us_to_timecode()
27l_frames = (((micros % 1000000) * code->fps_div) / 1000000) + (micros / 1000000 * code->fps_div); in us_to_timecode()
32 l_frames = int32((((micros % 1000000) * 29.97) / 1000000) + (micros / 1000000 * 29.97)); in us_to_timecode()
35 return frames_to_timecode(l_frames, hours, minutes, seconds, frames, code); in us_to_timecode()
40 int32 l_frames; in timecode_to_us() local
44 if (timecode_to_frames(hours, minutes, seconds, frames, &l_frames, code) == B_OK) { in timecode_to_us()
51 *micros = bigtime_t(l_frames * ((1000000 / 29.97) + 0.5)); in timecode_to_us()
54 *micros = bigtime_t(l_frames * ((1000000 / 29.95) + 0.5)); in timecode_to_us()
[all …]
/haiku/headers/os/media/
H A DTimeCode.h46 status_t frames_to_timecode(int32 l_frames, int* hours, int* minutes,