• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/

Lines Matching defs:wtv

584     WtvContext *wtv = s->priv_data;
585 AVIOContext *pb = wtv->pb;
655 WtvContext *wtv = s->priv_data;
656 AVIOContext *pb = wtv->pb;
776 WtvContext *wtv = s->priv_data;
777 AVIOContext *pb = wtv->pb;
883 wtv->pts = avio_rl64(pb);
885 if (wtv->pts == -1)
886 wtv->pts = AV_NOPTS_VALUE;
888 wtv->last_valid_pts = wtv->pts;
889 if (wtv->epoch == AV_NOPTS_VALUE || wtv->pts < wtv->epoch)
890 wtv->epoch = wtv->pts;
891 if (mode == SEEK_TO_PTS && wtv->pts >= seekts) {
950 WtvContext *wtv = s->priv_data;
957 wtv->epoch =
958 wtv->pts =
959 wtv->last_valid_pts = AV_NOPTS_VALUE;
977 wtv->pb = wtvfile_open(s, root, root_size, timeline_le16);
978 if (!wtv->pb) {
986 avio_seek(wtv->pb, -32, SEEK_CUR);
1007 ff_add_index_entry(&wtv->index_entries, &wtv->nb_index_entries, &wtv->index_entries_allocated_size,
1012 if (wtv->nb_index_entries) {
1021 for (i = wtv->nb_index_entries - 1; i >= 0; i--) {
1022 AVIndexEntry *e = wtv->index_entries + i;
1030 st->duration = wtv->index_entries[wtv->nb_index_entries - 1].timestamp;
1042 WtvContext *wtv = s->priv_data;
1043 AVIOContext *pb = wtv->pb;
1054 pkt->pts = wtv->pts;
1062 WtvContext *wtv = s->priv_data;
1063 AVIOContext *pb = wtv->pb;
1071 /* timestamp adjustment is required because wtv->pts values are absolute,
1074 if (wtv->epoch != AV_NOPTS_VALUE)
1075 ts_relative -= wtv->epoch;
1077 i = ff_index_search_timestamp(wtv->index_entries, wtv->nb_index_entries, ts_relative, flags);
1079 if (wtv->last_valid_pts == AV_NOPTS_VALUE || ts < wtv->last_valid_pts)
1081 else if (st->duration != AV_NOPTS_VALUE && ts_relative > st->duration && wtv->nb_index_entries)
1082 avio_seek(pb, wtv->index_entries[wtv->nb_index_entries - 1].pos, SEEK_SET);
1087 wtv->pts = wtv->index_entries[i].timestamp;
1088 if (wtv->epoch != AV_NOPTS_VALUE)
1089 wtv->pts += wtv->epoch;
1090 wtv->last_valid_pts = wtv->pts;
1091 avio_seek(pb, wtv->index_entries[i].pos, SEEK_SET);
1097 WtvContext *wtv = s->priv_data;
1098 av_free(wtv->index_entries);
1099 wtvfile_close(wtv->pb);
1104 .name = "wtv",