• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/

Lines Matching refs:source

36 /* defaults for source parameters */
118 dirac_source_params *source)
128 source->width = svq3_get_ue_golomb(gb); /* [DIRAC_STD] FRAME_WIDTH */
129 source->height = svq3_get_ue_golomb(gb); /* [DIRAC_STD] FRAME_HEIGHT */
137 source->chroma_format = svq3_get_ue_golomb(gb);
138 if (source->chroma_format > 2U) {
140 source->chroma_format);
148 source->interlaced = svq3_get_ue_golomb(gb);
149 if (source->interlaced > 1U)
154 source->frame_rate_index = svq3_get_ue_golomb(gb);
156 if (source->frame_rate_index > 10U)
159 if (!source->frame_rate_index) {
167 if (source->frame_rate_index > 0) {
168 if (source->frame_rate_index <= 8)
169 frame_rate = ff_mpeg12_frame_rate_tab[source->frame_rate_index];
172 frame_rate = dirac_frame_rate[source->frame_rate_index-9];
181 source->aspect_ratio_index = svq3_get_ue_golomb(gb);
183 if (source->aspect_ratio_index > 6U)
186 if (!source->aspect_ratio_index) {
193 if (source->aspect_ratio_index > 0)
195 dirac_preset_aspect_ratios[source->aspect_ratio_index-1];
200 source->clean_width = svq3_get_ue_golomb(gb);
202 source->clean_height = svq3_get_ue_golomb(gb);
204 source->clean_left_offset = svq3_get_ue_golomb(gb);
206 source->clean_right_offset = svq3_get_ue_golomb(gb);
214 source->pixel_range_index = svq3_get_ue_golomb(gb);
216 if (source->pixel_range_index > 4U)
220 if (!source->pixel_range_index) {
230 if (source->pixel_range_index > 0) {
231 idx = source->pixel_range_index-1;
239 avctx->pix_fmt = dirac_pix_fmt[!luma_offset][source->chroma_format];
241 if ((source->width % (1<<chroma_x_shift)) || (source->height % (1<<chroma_y_shift))) {
250 idx = source->color_spec_index = svq3_get_ue_golomb(gb);
252 if (source->color_spec_index > 4U)
259 if (!source->color_spec_index) {
279 idx = source->color_spec_index;
290 dirac_source_params *source)
313 /* Fill in defaults for the source parameters. */
314 *source = dirac_source_parameters_defaults[video_format];
318 if (ret = parse_source_parameters(avctx, gb, source))
321 ret = ff_set_dimensions(avctx, source->width, source->height);