Lines Matching defs:pos

160     int64_t pos;          /* byte position of the frame in the input file */
800 return fp->pos;
1461 static void stream_seek(VideoState *is, int64_t pos, int64_t rel, int by_bytes)
1464 is->seek_pos = pos;
1556 static void update_video_pts(VideoState *is, double pts, int64_t pos, int serial) {
1621 update_video_pts(is, vp->pts, vp->pos, vp->serial);
1732 static int queue_picture(VideoState *is, AVFrame *src_frame, double pts, double duration, int64_t pos, int serial)
1753 vp->pos = pos;
2081 af->pos = frame->pkt_pos;
3242 int64_t pos = get_master_clock(is) * AV_TIME_BASE;
3251 if (av_compare_ts(pos, AV_TIME_BASE_Q, ch->start, ch->time_base) < 0) {
3271 double incr, pos, frac;
3362 pos = -1;
3363 if (pos < 0 && cur_stream->video_stream >= 0)
3364 pos = frame_queue_last_pos(&cur_stream->pictq);
3365 if (pos < 0 && cur_stream->audio_stream >= 0)
3366 pos = frame_queue_last_pos(&cur_stream->sampq);
3367 if (pos < 0)
3368 pos = avio_tell(cur_stream->ic->pb);
3373 pos += incr;
3374 stream_seek(cur_stream, pos, incr, 1);
3376 pos = get_master_clock(cur_stream);
3377 if (isnan(pos))
3378 pos = (double)cur_stream->seek_pos / AV_TIME_BASE;
3379 pos += incr;
3380 if (cur_stream->ic->start_time != AV_NOPTS_VALUE && pos < cur_stream->ic->start_time / (double)AV_TIME_BASE)
3381 pos = cur_stream->ic->start_time / (double)AV_TIME_BASE;
3382 stream_seek(cur_stream, (int64_t)(pos * AV_TIME_BASE), (int64_t)(incr * AV_TIME_BASE), 0);
3573 { "ss", HAS_ARG, { .func_arg = opt_seek }, "seek to a given position in seconds", "pos" },
3595 { "left", OPT_INT | HAS_ARG | OPT_EXPERT, { &screen_left }, "set the x position for the left of the window", "x pos" },
3596 { "top", OPT_INT | HAS_ARG | OPT_EXPERT, { &screen_top }, "set the y position for the top of the window", "y pos" },