Lines Matching refs:tmv
69 TMVContext *tmv = s->priv_data; in tmv_read_header() local
90 tmv->audio_chunk_size = avio_rl16(pb); in tmv_read_header()
91 if (!tmv->audio_chunk_size) { in tmv_read_header()
105 tmv->video_chunk_size = char_cols * char_rows * 2; in tmv_read_header()
129 fps.den = tmv->audio_chunk_size; in tmv_read_header()
140 tmv->padding = in tmv_read_header()
141 ((tmv->video_chunk_size + tmv->audio_chunk_size + 511) & ~511) - in tmv_read_header()
142 (tmv->video_chunk_size + tmv->audio_chunk_size); in tmv_read_header()
144 vst->codecpar->bit_rate = ((tmv->video_chunk_size + tmv->padding) * in tmv_read_header()
152 TMVContext *tmv = s->priv_data; in tmv_read_packet() local
154 int ret, pkt_size = tmv->stream_index ? in tmv_read_packet()
155 tmv->audio_chunk_size : tmv->video_chunk_size; in tmv_read_packet()
162 if (tmv->stream_index) in tmv_read_packet()
163 avio_skip(pb, tmv->padding); in tmv_read_packet()
165 pkt->stream_index = tmv->stream_index; in tmv_read_packet()
166 tmv->stream_index ^= 1; in tmv_read_packet()
175 TMVContext *tmv = s->priv_data; in tmv_read_seek() local
182 (tmv->audio_chunk_size + tmv->video_chunk_size + tmv->padding); in tmv_read_seek()
186 tmv->stream_index = 0; in tmv_read_seek()