/dports/multimedia/mencoder/mplayer-export-2021-12-29/libmpdemux/ |
H A D | demux_mpc.c | 41 float last_pts; member 124 priv->last_pts = -1; in demux_mpc_open() 161 if (priv->last_pts < 0) in demux_mpc_fill_buffer() 162 priv->last_pts = 0; in demux_mpc_fill_buffer() 164 priv->last_pts += priv->pts_per_packet; in demux_mpc_fill_buffer() 165 dp->pts = priv->last_pts; in demux_mpc_fill_buffer() 178 target += priv->last_pts; in demux_mpc_seek() 179 if (target < priv->last_pts) { in demux_mpc_seek() 183 priv->last_pts = 0; in demux_mpc_seek() 185 while (target > priv->last_pts) { in demux_mpc_seek() [all …]
|
H A D | demux_aac.c | 38 float last_pts; /// last pts seen member 184 priv->last_pts += tm; in demux_aac_fill_buffer() 185 dp->pts = priv->last_pts; in demux_aac_fill_buffer() 214 time = (flags & SEEK_ABSOLUTE) ? rel_seek_secs - priv->last_pts : rel_seek_secs; in demux_aac_seek() 218 time = priv->last_pts + time; in demux_aac_seek() 219 priv->last_pts = 0; in demux_aac_seek() 239 priv->last_pts += (float) (num*1024.0/srate); in demux_aac_seek()
|
/dports/multimedia/mplayer/mplayer-export-2021-12-29/libmpdemux/ |
H A D | demux_mpc.c | 41 float last_pts; member 124 priv->last_pts = -1; in demux_mpc_open() 161 if (priv->last_pts < 0) in demux_mpc_fill_buffer() 162 priv->last_pts = 0; in demux_mpc_fill_buffer() 164 priv->last_pts += priv->pts_per_packet; in demux_mpc_fill_buffer() 165 dp->pts = priv->last_pts; in demux_mpc_fill_buffer() 178 target += priv->last_pts; in demux_mpc_seek() 179 if (target < priv->last_pts) { in demux_mpc_seek() 183 priv->last_pts = 0; in demux_mpc_seek() 185 while (target > priv->last_pts) { in demux_mpc_seek() [all …]
|
H A D | demux_aac.c | 38 float last_pts; /// last pts seen member 184 priv->last_pts += tm; in demux_aac_fill_buffer() 185 dp->pts = priv->last_pts; in demux_aac_fill_buffer() 214 time = (flags & SEEK_ABSOLUTE) ? rel_seek_secs - priv->last_pts : rel_seek_secs; in demux_aac_seek() 218 time = priv->last_pts + time; in demux_aac_seek() 219 priv->last_pts = 0; in demux_aac_seek() 239 priv->last_pts += (float) (num*1024.0/srate); in demux_aac_seek()
|
/dports/multimedia/vlc/vlc-3.0.16/modules/hw/vdpau/ |
H A D | deinterlace.c | 36 mtime_t last_pts; member 42 mtime_t last_pts = sys->last_pts; in Deinterlace() local 44 sys->last_pts = src->date; in Deinterlace() 70 if (last_pts != VLC_TS_INVALID) in Deinterlace() 71 dst->date = (3 * src->date - last_pts) / 2; in Deinterlace() 117 sys->last_pts = VLC_TS_INVALID; in Open()
|
/dports/devel/libzvbi/zvbi-0.2.35/examples/ |
H A D | rawout.c | 52 static int64_t last_pts; variable 95 if (0 == last_pts) { in convert() 96 last_pts = pts; in convert() 97 } else if (pts < last_pts) { in convert() 98 last_pts -= (int64_t) 1 << 33; in convert() 101 while (pts - last_pts > 90000 / 25 * 3 / 2) { in convert() 114 last_pts += 90000 / 25; in convert() 131 last_pts = pts; in convert()
|
/dports/multimedia/libxine/xine-lib-1.2.11/src/audio_dec/ |
H A D | fooaudio.c | 66 int64_t last_pts; member 106 this->last_pts = -1; in fooaudio_decode_data() 166 if (this->last_pts != -1) { in fooaudio_decode_data() 172 samples_to_generate -= this->last_pts; in fooaudio_decode_data() 177 this->last_pts = buf->pts; in fooaudio_decode_data() 211 this->last_pts = buf->pts; in fooaudio_decode_data() 228 this->last_pts = -1; in fooaudio_reset() 237 this->last_pts = -1; in fooaudio_discontinuity()
|
/dports/multimedia/QtAV/QtAV-1.13.0/src/ |
H A D | AVClock.cpp | 45 last_pts = pts_ = pts_v = delay_ = 0; in AVClock() 60 last_pts = pts_ = pts_v = delay_ = 0; in AVClock() 111 last_pts = pts_; in updateExternalClock() 126 last_pts = pts_; in updateExternalClock() 219 const double delta_pts = (value() - last_pts)/speed(); in timerEvent() 229 last_pts = value(); in timerEvent()
|
H A D | AudioThread.cpp | 44 last_pts = 0; in init() 48 …qreal last_pts; //used when audio output is not available, to calculate the aproximate sleeping ti… member in QtAV::AudioThreadPrivate 149 fake_pts = d.last_pts*1000.0; in run() 284 qreal dt = dts - d.last_pts; in run() 292 d.last_pts = d.clock->value(); //not pkt.pts! the delay is updated! in run() 373 d.last_pts = d.clock->value(); //not pkt.pts! the delay is updated! in run()
|
/dports/multimedia/libxine/xine-lib-1.2.11/src/combined/ |
H A D | nsf_decoder.c | 63 int64_t last_pts; member 99 this->last_pts = -1; in nsf_decode_data() 150 if (this->last_pts != -1) { in nsf_decode_data() 167 this->last_pts = buf->pts; in nsf_decode_data() 176 this->last_pts = -1; in nsf_reset() 184 this->last_pts = -1; in nsf_discontinuity()
|
/dports/sysutils/xvidcap/xvidcap-1.1.7/ffmpeg/libavcodec/ |
H A D | dvbsub_parser.c | 60 s->pts, s->last_pts, s->cur_frame_pts[s->cur_frame_start_index]); in dvbsub_parse() 83 if (s->last_pts != s->pts && s->last_pts != AV_NOPTS_VALUE) /* Start of a new packet */ in dvbsub_parse() 178 if (s->last_pts == AV_NOPTS_VALUE) in dvbsub_parse() 179 s->last_pts = s->pts; in dvbsub_parse()
|
/dports/multimedia/libxine/xine-lib-1.2.11/src/dxr3/ |
H A D | dxr3_scr.c | 107 this->last_pts = 0; in dxr3_scr_init() 130 this->last_pts = vpts32; in dxr3_scr_start() 152 if (this->last_pts > 0xF0000000 && pts < 0x10000000) in dxr3_scr_get_current() 157 this->last_pts = pts; in dxr3_scr_get_current() 173 this->last_pts = current_pts32; in dxr3_scr_adjust() 181 this->last_pts = vpts32; in dxr3_scr_adjust()
|
/dports/multimedia/handbrake/ffmpeg-4.4/libavfilter/ |
H A D | f_streamselect.c | 37 int64_t *last_pts; member 70 if (s->is_audio && s->last_pts[j] == in[j]->pts && in process_frame() 78 s->last_pts[j] = in[j]->pts; in process_frame() 276 s->last_pts = av_calloc(s->nb_inputs, sizeof(*s->last_pts)); in init() 277 if (!s->last_pts) in init() 294 av_freep(&s->last_pts); in uninit()
|
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavfilter/ |
H A D | f_streamselect.c | 36 int64_t *last_pts; member 68 if (s->is_audio && s->last_pts[j] == in[j]->pts && in process_frame() 76 s->last_pts[j] = in[j]->pts; in process_frame() 271 s->last_pts = av_calloc(s->nb_inputs, sizeof(*s->last_pts)); in init() 272 if (!s->last_pts) in init() 289 av_freep(&s->last_pts); in uninit()
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavfilter/ |
H A D | f_streamselect.c | 37 int64_t *last_pts; member 70 if (s->is_audio && s->last_pts[j] == in[j]->pts && in process_frame() 78 s->last_pts[j] = in[j]->pts; in process_frame() 276 s->last_pts = av_calloc(s->nb_inputs, sizeof(*s->last_pts)); in init() 277 if (!s->last_pts) in init() 294 av_freep(&s->last_pts); in uninit()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavfilter/ |
H A D | f_streamselect.c | 37 int64_t *last_pts; member 70 if (s->is_audio && s->last_pts[j] == in[j]->pts && in process_frame() 78 s->last_pts[j] = in[j]->pts; in process_frame() 276 s->last_pts = av_calloc(s->nb_inputs, sizeof(*s->last_pts)); in init() 277 if (!s->last_pts) in init() 294 av_freep(&s->last_pts); in uninit()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavfilter/ |
H A D | f_streamselect.c | 37 int64_t *last_pts; member 70 if (s->is_audio && s->last_pts[j] == in[j]->pts && in process_frame() 78 s->last_pts[j] = in[j]->pts; in process_frame() 276 s->last_pts = av_calloc(s->nb_inputs, sizeof(*s->last_pts)); in init() 277 if (!s->last_pts) in init() 294 av_freep(&s->last_pts); in uninit()
|
/dports/multimedia/libxine/xine-lib-1.2.11/src/demuxers/ |
H A D | demux_yuv_frames.c | 60 int64_t last_pts; member 77 } else if (llabs(this->last_pts - buf->pts) > WRAP_THRESHOLD) { in switch_buf() 81 this->last_pts = buf->pts; in switch_buf() 154 this->last_pts = 0; in demux_yuv_frames_seek()
|
/dports/multimedia/vcdimager/vcdimager-2.0.1/frontends/xml/ |
H A D | vcd_xml_rip.c | 948 double last_pts = 0; in _rip_segments() local 993 if (last_pts < 0) in _rip_segments() 994 last_pts = 0; in _rip_segments() 1003 *_ap_ts = last_pts; in _rip_segments() 1043 double last_pts = 0; in _rip_sequences() local 1163 if (last_pts < 0) in _rip_sequences() 1164 last_pts = 0; in _rip_sequences() 1173 last_pts); in _rip_sequences() 1174 *_ap_ts = last_pts; in _rip_sequences() 1186 last_pts); in _rip_sequences() [all …]
|
/dports/multimedia/handbrake/ffmpeg-4.4/doc/examples/ |
H A D | filtering_video.c | 52 static int64_t last_pts = AV_NOPTS_VALUE; variable 186 if (last_pts != AV_NOPTS_VALUE) { in display_frame() 189 delay = av_rescale_q(frame->pts - last_pts, in display_frame() 194 last_pts = frame->pts; in display_frame()
|
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/doc/examples/ |
H A D | filtering_video.c | 49 static int64_t last_pts = AV_NOPTS_VALUE; variable 162 if (last_pts != AV_NOPTS_VALUE) { in display_frame() 165 delay = av_rescale_q(frame->pts - last_pts, in display_frame() 170 last_pts = frame->pts; in display_frame()
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/doc/examples/ |
H A D | filtering_video.c | 52 static int64_t last_pts = AV_NOPTS_VALUE; variable 186 if (last_pts != AV_NOPTS_VALUE) { in display_frame() 189 delay = av_rescale_q(frame->pts - last_pts, in display_frame() 194 last_pts = frame->pts; in display_frame()
|
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/doc/examples/ |
H A D | filtering_video.c | 52 static int64_t last_pts = AV_NOPTS_VALUE; variable 186 if (last_pts != AV_NOPTS_VALUE) { in display_frame() 189 delay = av_rescale_q(frame->pts - last_pts, in display_frame() 194 last_pts = frame->pts; in display_frame()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/doc/examples/ |
H A D | filtering_video.c | 52 static int64_t last_pts = AV_NOPTS_VALUE; variable 186 if (last_pts != AV_NOPTS_VALUE) { in display_frame() 189 delay = av_rescale_q(frame->pts - last_pts, in display_frame() 194 last_pts = frame->pts; in display_frame()
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/doc/examples/ |
H A D | filtering_video.c | 49 static int64_t last_pts = AV_NOPTS_VALUE; variable 162 if (last_pts != AV_NOPTS_VALUE) { in display_frame() 165 delay = av_rescale_q(frame->pts - last_pts, in display_frame() 170 last_pts = frame->pts; in display_frame()
|