/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/ |
H A D | framehook.h | 39 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 D | vc1test.c | 86 uint32_t pts; local 94 pts = get_le32(pb); 98 pkt->pts = pts;
|
H A D | mpegenc.c | 34 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 D | idcin.c | 88 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 D | framehook.c | 91 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 D | oggenc.c | 187 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 D | wv.c | 181 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 D | ffmdec.c | 172 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 D | segafilm.c | 42 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 D | idroq.c | 145 /* 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 D | utils.c | 271 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 D | mpeg.c | 228 (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 D | sierravmd.c | 40 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 D | iss.c | 119 pkt->pts = url_ftell(s->pb) - iss->sample_start_pos; 121 pkt->pts /= s->streams[0]->codec->channels*2;
|
H A D | nutdec.c | 653 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 D | matroskaenc.c | 53 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 D | mpegtsenc.c | 507 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 D | ivtv-streams.h | 28 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 D | dvbsub_parser.c | 59 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 D | dirac_parser.c | 118 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 D | parser.c | 87 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 D | fish.c | 231 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 D | output_example.c | 159 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 D | ffplay.c | 85 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 D | pktdumper.c | 102 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':'_');
|