• 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 defs:wc3

129     Wc3DemuxContext *wc3 = s->priv_data;
143 wc3->width = WC3_DEFAULT_WIDTH;
144 wc3->height = WC3_DEFAULT_HEIGHT;
145 wc3->palettes = NULL;
146 wc3->palette_count = 0;
147 wc3->pts = 0;
148 wc3->video_stream_index = wc3->audio_stream_index = 0;
175 wc3->palette_count = AV_RL32(&preamble[0]);
176 if((unsigned)wc3->palette_count >= UINT_MAX / PALETTE_SIZE){
177 wc3->palette_count= 0;
180 wc3->palettes = av_malloc(wc3->palette_count * PALETTE_SIZE);
200 wc3->width = AV_RL32(&preamble[0]);
201 wc3->height = AV_RL32(&preamble[4]);
206 if ((unsigned)current_palette >= wc3->palette_count)
209 &wc3->palettes[current_palette * PALETTE_SIZE],
218 rotate = ((wc3->palettes[i] << 2) & 0xFF) |
219 ((wc3->palettes[i] >> 6) & 0xFF);
220 wc3->palettes[i] = wc3_pal_lookup[rotate];
247 wc3->video_stream_index = st->index;
251 st->codec->width = wc3->width;
252 st->codec->height = wc3->height;
255 st->codec->palctrl = &wc3->palette_control;
261 wc3->audio_stream_index = st->index;
278 Wc3DemuxContext *wc3 = s->priv_data;
313 if (palette_number >= wc3->palette_count)
317 r = wc3->palettes[base_palette_index + i * 3 + 0];
318 g = wc3->palettes[base_palette_index + i * 3 + 1];
319 b = wc3->palettes[base_palette_index + i * 3 + 2];
320 wc3->palette_control.palette[i] = (r << 16) | (g << 8) | (b);
322 wc3->palette_control.palette_changed = 1;
328 pkt->stream_index = wc3->video_stream_index;
329 pkt->pts = wc3->pts;
357 pkt->stream_index = wc3->audio_stream_index;
358 pkt->pts = wc3->pts;
363 wc3->pts++;
383 Wc3DemuxContext *wc3 = s->priv_data;
385 av_free(wc3->palettes);