MCPcopy Create free account
hub / github.com/IENT/YUView / fillStatisticList

Method fillStatisticList

YUViewLib/src/decoder/decoderFFmpeg.cpp:427–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425}
426
427void decoderFFmpeg::fillStatisticList(stats::StatisticsData &statisticsData) const
428{
429 auto sourceColorMapper =
430 stats::color::ColorMapper({-2, 2}, stats::color::PredefinedType::Col3_bblg);
431
432 statisticsData.addStatType(stats::StatisticsType(0, "Source -", sourceColorMapper));
433 statisticsData.addStatType(stats::StatisticsType(1, "Source +", sourceColorMapper));
434 statisticsData.addStatType(stats::StatisticsType(2, "Motion Vector -", 4));
435 statisticsData.addStatType(stats::StatisticsType(3, "Motion Vector +", 4));
436}
437
438bool decoderFFmpeg::createDecoder(FFmpeg::AVCodecIDWrapper codecID,
439 FFmpeg::AVCodecParametersWrapper codecpar)

Callers

nothing calls this directly

Calls 3

ColorMapperClass · 0.85
addStatTypeMethod · 0.80
StatisticsTypeClass · 0.50

Tested by

no test coverage detected