• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/

Lines Matching refs:pts

34     int64_t pts;
498 static int get_vcd_padding_size(AVFormatContext *ctx, int64_t pts)
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.0);
682 if (pts != AV_NOPTS_VALUE) {
683 if (dts != pts)
766 if (pts != AV_NOPTS_VALUE) {
767 if (dts != pts)
791 // first byte does not fit -> reset pts/dts + stuffing
792 if(payload_size <= trailer_size && pts != AV_NOPTS_VALUE){
794 if(dts != pts)
796 if(pts != AV_NOPTS_VALUE)
798 pts=dts= AV_NOPTS_VALUE;
846 if (pts != AV_NOPTS_VALUE) {
848 if (dts != pts)
862 if (pes_flags & 0x80) /*write pts*/
863 put_timestamp(ctx->pb, (pes_flags & 0x40) ? 0x03 : 0x02, pts);
878 if (pts != AV_NOPTS_VALUE) {
879 if (dts != pts) {
880 put_timestamp(ctx->pb, 0x03, pts);
883 put_timestamp(ctx->pb, 0x02, pts);
969 static int64_t get_vcd_scr(AVFormatContext *ctx,int stream_index,int64_t pts)
1107 //av_log(ctx, AV_LOG_DEBUG, "dts:%f pts:%f scr:%f stream:%d\n", timestamp_packet->dts/90000.0, timestamp_packet->pts/90000.0, scr/90000.0, best_i);
1108 es_size= flush_packet(ctx, best_i, timestamp_packet->pts, timestamp_packet->dts, scr, trailer_size);
1119 while((vcd_pad_bytes = get_vcd_padding_size(ctx,stream->premux_packet->pts) ) >= s->packet_size){ //FIXME pts cannot be correct here
1149 int64_t pts, dts;
1154 pts= pkt->pts;
1157 if(pts != AV_NOPTS_VALUE) pts += preload;
1160 //av_log(ctx, AV_LOG_DEBUG, "dts:%f pts:%f flags:%d stream:%d nopts:%d\n", dts/90000.0, pts/90000.0, pkt->flags, pkt->stream_index, pts != AV_NOPTS_VALUE);
1165 pkt_desc->pts= pts;
1177 if (is_iframe && (s->packet_number == 0 || (pts - stream->vobu_start_pts >= 36000))) { // min VOBU length 0.4 seconds (mpucoder)
1180 stream->vobu_start_pts = pts;