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

Lines Matching refs:var_values

145     double var_values[VAR_VARS_NB];
205 select->var_values[VAR_N] = 0.0;
206 select->var_values[VAR_SELECTED_N] = 0.0;
208 select->var_values[VAR_TB] = av_q2d(inlink->time_base);
210 select->var_values[VAR_PREV_PTS] = NAN;
211 select->var_values[VAR_PREV_SELECTED_PTS] = NAN;
212 select->var_values[VAR_PREV_SELECTED_T] = NAN;
213 select->var_values[VAR_PREV_T] = NAN;
214 select->var_values[VAR_START_PTS] = NAN;
215 select->var_values[VAR_START_T] = NAN;
217 select->var_values[VAR_I] = AV_PICTURE_TYPE_I;
218 select->var_values[VAR_P] = AV_PICTURE_TYPE_P;
219 select->var_values[VAR_B] = AV_PICTURE_TYPE_B;
220 select->var_values[VAR_SI] = AV_PICTURE_TYPE_SI;
221 select->var_values[VAR_SP] = AV_PICTURE_TYPE_SP;
222 select->var_values[VAR_BI] = AV_PICTURE_TYPE_BI;
223 select->var_values[VAR_PICT_TYPE_I] = AV_PICTURE_TYPE_I;
224 select->var_values[VAR_PICT_TYPE_P] = AV_PICTURE_TYPE_P;
225 select->var_values[VAR_PICT_TYPE_B] = AV_PICTURE_TYPE_B;
226 select->var_values[VAR_PICT_TYPE_SI] = AV_PICTURE_TYPE_SI;
227 select->var_values[VAR_PICT_TYPE_SP] = AV_PICTURE_TYPE_SP;
228 select->var_values[VAR_PICT_TYPE_BI] = AV_PICTURE_TYPE_BI;
230 select->var_values[VAR_INTERLACE_TYPE_P] = INTERLACE_TYPE_P;
231 select->var_values[VAR_INTERLACE_TYPE_T] = INTERLACE_TYPE_T;
232 select->var_values[VAR_INTERLACE_TYPE_B] = INTERLACE_TYPE_B;
234 select->var_values[VAR_PICT_TYPE] = NAN;
235 select->var_values[VAR_INTERLACE_TYPE] = NAN;
236 select->var_values[VAR_SCENE] = NAN;
237 select->var_values[VAR_CONSUMED_SAMPLES_N] = NAN;
238 select->var_values[VAR_SAMPLES_N] = NAN;
240 select->var_values[VAR_SAMPLE_RATE] =
302 if (isnan(select->var_values[VAR_START_PTS]))
303 select->var_values[VAR_START_PTS] = TS2D(frame->pts);
304 if (isnan(select->var_values[VAR_START_T]))
305 select->var_values[VAR_START_T] = TS2D(frame->pts) * av_q2d(inlink->time_base);
307 select->var_values[VAR_N ] = inlink->frame_count;
308 select->var_values[VAR_PTS] = TS2D(frame->pts);
309 select->var_values[VAR_T ] = TS2D(frame->pts) * av_q2d(inlink->time_base);
310 select->var_values[VAR_POS] = av_frame_get_pkt_pos(frame) == -1 ? NAN : av_frame_get_pkt_pos(frame);
314 select->var_values[VAR_SAMPLES_N] = frame->nb_samples;
318 select->var_values[VAR_INTERLACE_TYPE] =
321 select->var_values[VAR_PICT_TYPE] = frame->pict_type;
325 select->var_values[VAR_SCENE] = get_scene_score(ctx, frame);
327 snprintf(buf, sizeof(buf), "%f", select->var_values[VAR_SCENE]);
334 select->select = res = av_expr_eval(select->expr, select->var_values, NULL);
337 select->var_values[VAR_N],
338 select->var_values[VAR_PTS],
339 select->var_values[VAR_T],
340 (int)select->var_values[VAR_KEY]);
345 select->var_values[VAR_INTERLACE_TYPE] == INTERLACE_TYPE_P ? 'P' :
346 select->var_values[VAR_INTERLACE_TYPE] == INTERLACE_TYPE_T ? 'T' :
347 select->var_values[VAR_INTERLACE_TYPE] == INTERLACE_TYPE_B ? 'B' : '?',
348 av_get_picture_type_char(select->var_values[VAR_PICT_TYPE]),
349 select->var_values[VAR_SCENE]);
353 (int)select->var_values[VAR_SAMPLES_N],
354 (int)select->var_values[VAR_CONSUMED_SAMPLES_N]);
369 select->var_values[VAR_PREV_SELECTED_N] = select->var_values[VAR_N];
370 select->var_values[VAR_PREV_SELECTED_PTS] = select->var_values[VAR_PTS];
371 select->var_values[VAR_PREV_SELECTED_T] = select->var_values[VAR_T];
372 select->var_values[VAR_SELECTED_N] += 1.0;
374 select->var_values[VAR_CONSUMED_SAMPLES_N] += frame->nb_samples;
377 select->var_values[VAR_PREV_PTS] = select->var_values[VAR_PTS];
378 select->var_values[VAR_PREV_T] = select->var_values[VAR_T];