Lines Matching defs:swf
36 #include "swf.h"
118 SWFDecContext *swf = s->priv_data;
119 z_stream *z = &swf->zstream;
124 int n = avio_read(s->pb, swf->zbuf_in, ZBUF_SIZE);
127 z->next_in = swf->zbuf_in;
151 SWFDecContext *swf = s->priv_data;
161 if (inflateInit(&swf->zstream) != Z_OK) {
165 if (!(swf->zbuf_in = av_malloc(ZBUF_SIZE)) ||
166 !(swf->zbuf_out = av_malloc(ZBUF_SIZE)) ||
167 !(swf->zpb = avio_alloc_context(swf->zbuf_out, ZBUF_SIZE, 0,
172 swf->zpb->seekable = 0;
173 pb = swf->zpb;
184 swf->frame_rate = avio_rl16(pb); /* 8.8 fixed */
187 swf->samples_per_frame = 0;
214 SWFDecContext *swf = s->priv_data;
220 if (swf->zpb)
221 pb = swf->zpb;
254 avpriv_set_pts_info(vst, 16, 256, swf->frame_rate);
267 swf->samples_per_frame = avio_rl16(pb);
412 avpriv_set_pts_info(vst, 64, 256, swf->frame_rate);
508 avpriv_set_pts_info(vst, 64, 256, swf->frame_rate);
566 .name = "swf",