Searched refs:pts (Results 1 - 25 of 118) sorted by relevance

12345

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/
H A Dframehook.h39 typedef void (FrameHookProcess)(void *ctx, struct AVPicture *pict, enum PixelFormat pix_fmt, int width, int height, int64_t pts);
49 void frame_hook_process(struct AVPicture *pict, enum PixelFormat pix_fmt, int width, int height, int64_t pts);
H A Dvc1test.c86 uint32_t pts; local
94 pts = get_le32(pb);
98 pkt->pts = pts;
H A Dmpegenc.c34 int64_t pts; member in struct:PacketDesc
498 static int get_vcd_padding_size(AVFormatContext *ctx, int64_t pts) argument
503 if (s->vcd_padding_bitrate > 0 && pts!=AV_NOPTS_VALUE)
507 full_pad_bytes = (int64_t)((s->vcd_padding_bitrate * (pts / 90000.0)) / 8.0); //FIXME this is wrong
522 stream 'stream_index'. 'pts' and 'dts' are only used to know if
525 int64_t pts, int64_t dts)
572 if (pts != AV_NOPTS_VALUE) {
573 if (dts != pts)
640 int64_t pts, int64_t dts, int64_t scr, int trailer_size)
658 id, pts / 90000.
639 flush_packet(AVFormatContext *ctx, int stream_index, int64_t pts, int64_t dts, int64_t scr, int trailer_size) argument
1149 int64_t pts, dts; local
[all...]
H A Didcin.c88 int64_t pts; member in struct:IdcinDemuxContext
207 idcin->pts = 0;
261 pkt->pts = idcin->pts;
272 pkt->pts = idcin->pts;
275 idcin->pts++;
H A Dframehook.c91 void frame_hook_process(AVPicture *pict, enum PixelFormat pix_fmt, int width, int height, int64_t pts) argument
97 fhe->Process(fhe->ctx, pict, pix_fmt, width, height, pts);
H A Doggenc.c187 int64_t pts = oggstream->vrev < 1 ? pkt->pts : pkt->pts + pkt->duration; local
190 oggstream->last_kf_pts = pts;
191 pframe_count = pts - oggstream->last_kf_pts;
199 granule = pkt->pts + pkt->duration;
214 int64_t next_granule = av_rescale_q(next->pts + next->duration,
216 int64_t cur_granule = av_rescale_q(pkt ->pts + pkt ->duration,
H A Dwv.c181 pkt->pts = wc->soff;
182 av_add_index_entry(s->streams[0], wc->pos, pkt->pts, 0, 0, AVINDEX_KEYFRAME);
193 int64_t pos, pts; local
212 pts = pkt->pts;
214 }while(pts < timestamp);
H A Dffmdec.c172 av_log(s, AV_LOG_DEBUG, "pts=%0.6f\n", pts / 1000000.0);
181 int64_t pts; local
193 pts = get_dts(s, pos_max);
195 if (pts - 100000 > pts_start)
202 pts = get_dts(s, pos_max);
204 if (pts - 100000 <= pts_start) {
216 if (newpts - 100000 <= pts) {
218 pts = newpts;
226 //printf("Adjusted write index from %"PRId64" to %"PRId64": pts
430 int64_t pts_min, pts_max, pts; local
[all...]
H A Dsegafilm.c42 int64_t pts; member in struct:__anon733
186 film->sample_table[i].pts = audio_frame_counter;
187 film->sample_table[i].pts *= film->base_clock;
188 film->sample_table[i].pts /= film->audio_samplerate;
194 film->sample_table[i].pts = AV_RB32(&scratch[8]) & 0x7FFFFFFF;
268 pkt->pts = sample->pts;
H A Didroq.c145 /* set the pts reference (1 pts = 1/90000) */
228 pkt->pts = roq->video_pts;
245 pkt->pts = roq->video_pts;
249 pkt->pts = roq->audio_frame_count;
250 pkt->pts *= 90000;
251 pkt->pts /= RoQ_AUDIO_SAMPLE_RATE;
H A Dutils.c271 pkt->pts = AV_NOPTS_VALUE;
753 int64_t dts, int64_t pts)
768 if(pktl->pkt.pts != AV_NOPTS_VALUE && pktl->pkt.pts == pktl->pkt.dts)
769 pktl->pkt.pts += st->first_dts;
774 if(st->start_time == AV_NOPTS_VALUE && pktl->pkt.pts != AV_NOPTS_VALUE)
775 st->start_time= pktl->pkt.pts;
778 st->start_time = pts;
790 if(pktl->pkt.pts != pktl->pkt.dts || pktl->pkt.dts != AV_NOPTS_VALUE || pktl->pkt.duration)
803 if(pktl->pkt.pts
752 update_initial_timestamps(AVFormatContext *s, int stream_index, int64_t dts, int64_t pts) argument
[all...]
H A Dmpeg.c228 (if not NULL), and its start code, pts and dts.
237 int64_t pts, dts; local
290 pts =
309 dts = pts = get_pts(s->pb, c);
330 dts = pts = get_pts(s->pb, -1);
402 *ppts = pts;
415 int64_t pts, dts, dummy_pos; //dummy_pos is needed for the index building to work local
419 len = mpegps_read_pes_header(s, &dummy_pos, &startcode, &pts, &dts);
557 pkt->pts = pts;
572 int64_t pos, pts, dts; local
[all...]
H A Dsierravmd.c40 int64_t pts; member in struct:__anon734
140 /* calculate pts */
198 vmd->frame_table[total_frames].pts = current_audio_pts;
210 vmd->frame_table[total_frames].pts = i;
256 pkt->pts = frame->pts;
257 av_log(s, AV_LOG_DEBUG, " dispatching %s frame with %d bytes and pts %"PRId64"\n",
260 pkt->pts);
H A Diss.c119 pkt->pts = url_ftell(s->pb) - iss->sample_start_pos;
121 pkt->pts /= s->streams[0]->codec->channels*2;
H A Dnutdec.c653 static int decode_frame_header(NUTContext *nut, int64_t *pts, int *stream_id, uint8_t *header_idx, int frame_code){ argument
685 *pts=ff_lsb2full(stc, coded_pts);
687 *pts=coded_pts - (1<<stc->msb_pts_shift);
689 *pts= stc->last_pts + pts_delta;
712 }else if(size > 2*nut->max_distance || FFABS(stc->last_pts - *pts) > stc->max_pts_distance){
717 stc->last_pts= *pts;
727 int64_t pts, last_IP_pts; local
731 size= decode_frame_header(nut, &pts, &stream_id, &header_idx, frame_code);
743 ||(discard >= AVDISCARD_BIDIR && last_IP_pts != AV_NOPTS_VALUE && last_IP_pts > pts)
758 pkt->pts
823 int64_t pos, pts, back_ptr; local
845 read_seek(AVFormatContext *s, int stream_index, int64_t pts, int flags) argument
[all...]
H A Dmatroskaenc.c53 uint64_t pts; member in struct:__anon680
353 entries[cues->num_entries ].pts = pkt->pts;
373 uint64_t pts = entry->pts; local
376 put_ebml_uint(pb, MATROSKA_ID_CUETIME, pts);
380 for (j = 0; j < cues->num_entries - i && entry[j].pts == pts; j++) {
748 "pts %" PRId64 ", duration %d\n",
749 url_ftell(pb), size, pkt->pts, duratio
[all...]
H A Dmpegtsenc.c507 static void write_pts(uint8_t *q, int fourbits, int64_t pts) argument
511 val = fourbits << 4 | (((pts >> 30) & 0x07) << 1) | 1;
513 val = (((pts >> 15) & 0x7fff) << 1) | 1;
516 val = (((pts) & 0x7fff) << 1) | 1;
524 int64_t pts, int64_t dts)
596 if (pts != AV_NOPTS_VALUE) {
600 if (dts != AV_NOPTS_VALUE && dts != pts) {
629 if (pts != AV_NOPTS_VALUE) {
630 write_pts(q, flags >> 6, pts);
633 if (dts != AV_NOPTS_VALUE && dts != pts) {
522 mpegts_write_pes(AVFormatContext *s, AVStream *st, const uint8_t *payload, int payload_size, int64_t pts, int64_t dts) argument
698 int64_t dts = AV_NOPTS_VALUE, pts = AV_NOPTS_VALUE; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/ivtv/
H A Divtv-streams.h28 int ivtv_stop_v4l2_decode_stream(struct ivtv_stream *s, int flags, u64 pts);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Ddvbsub_parser.c59 av_log(avctx, AV_LOG_INFO, "DVB parse packet pts=%"PRIx64", lpts=%"PRIx64", cpts=%"PRIx64":\n",
60 s->pts, s->last_pts, s->cur_frame_pts[s->cur_frame_start_index]);
83 if (s->last_pts != s->pts && s->pts != AV_NOPTS_VALUE) /* Start of a new packet */
178 if (s->pts == AV_NOPTS_VALUE)
179 s->pts = s->last_pts;
H A Ddirac_parser.c118 int parse_timing_info = (s->pts == AV_NOPTS_VALUE &&
169 * ensure that pts is set correctly. So if the current parse unit is
183 /* Get the picture number to set the pts and dts*/
187 int pts = AV_RB32(cur_pu + 13); local
189 s->dts = pts - 1;
192 s->pts = pts;
196 if (avctx->has_b_frames && s->pts == s->dts)
H A Dparser.c87 s->dts= s->pts= AV_NOPTS_VALUE;
95 s->pts= s->cur_frame_pts[i];
107 * @param pts input presentation timestamp
118 * pts, dts);
131 int64_t pts, int64_t dts)
142 if(pts != AV_NOPTS_VALUE || dts != AV_NOPTS_VALUE){
147 s->cur_frame_pts[i] = pts;
154 s->last_pts = s->pts;
161 //av_log(NULL, AV_LOG_DEBUG, "parser: in:%"PRId64", %"PRId64", out:%"PRId64", %"PRId64", in:%d out:%d id:%d\n", pts, dts, s->last_pts, s->last_dts, buf_size, *poutbuf_size, avctx->codec_id);
127 av_parser_parse(AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int64_t pts, int64_t dts) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/vhook/
H A Dfish.c231 void Process(void *ctx, AVPicture *picture, enum PixelFormat pix_fmt, int width, int height, int64_t pts) argument
238 av_log(NULL, AV_LOG_DEBUG, "pix_fmt = %d, width = %d, pts = %lld, ci->next_pts = %lld\n",
239 pix_fmt, width, pts, ci->next_pts);
242 if (pts < ci->next_pts)
248 ci->next_pts = pts + 1000000;
367 snprintf(fname, sizeof(fname), "%s/fishimg%ld_%"PRId64".ppm", ci->dir, (long)(av_gettime() / 1000000), pts);
377 ci->next_pts = pts + ci->min_interval;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/
H A Doutput_example.c159 if (c->coded_frame->pts != AV_NOPTS_VALUE)
160 pkt.pts= av_rescale_q(c->coded_frame->pts, c->time_base, st->time_base);
384 if (c->coded_frame->pts != AV_NOPTS_VALUE)
385 pkt.pts= av_rescale_q(c->coded_frame->pts, c->time_base, st->time_base);
505 audio_pts = (double)audio_st->pts.val * audio_st->time_base.num / audio_st->time_base.den;
510 video_pts = (double)video_st->pts.val * video_st->time_base.num / video_st->time_base.den;
H A Dffplay.c85 double pts; ///<presentation time stamp for this picture member in struct:VideoPicture
92 double pts; /* presentation time stamp for this picture */ member in struct:SubPicture
161 double video_clock; ///<pts of last decoded frame / predicted pts of next decoded frame
165 double video_current_pts; ///<current displayed pts (different from video_clock if frame fifos are used)
166 int64_t video_current_pts_time; ///<time (av_gettime) at which we updated video_current_pts - used to have running video pts
715 if (vp->pts >= sp->pts + ((float) sp->sub.start_display_time / 1000))
931 double pts; local
933 pts
1225 queue_picture(VideoState *is, AVFrame *src_frame, double pts) argument
1316 double frame_delay, pts; local
1355 double pts; local
1407 double pts; local
1499 synchronize_audio(VideoState *is, short *samples, int samples_size1, double pts) argument
1580 double pts; local
1689 double pts; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/tools/
H A Dpktdumper.c102 snprintf(pktfilename, PATH_MAX-1, fntemplate, pktnum, pkt.stream_index, pkt.pts, pkt.size, (pkt.flags & PKT_FLAG_KEY)?'K':'_');
103 printf(PKTFILESUFF"\n", pktnum, pkt.stream_index, pkt.pts, pkt.size, (pkt.flags & PKT_FLAG_KEY)?'K':'_');

Completed in 175 milliseconds

12345