Coverage Report

Created: 2026-01-25 07:18

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/ffmpegthumbs/ffmpegthumbnailer/histogram.h
Line
Count
Source
1
/*
2
    SPDX-FileCopyrightText: 2010 Dirk Vanden Boer <dirk.vdb@gmail.com>
3
4
    SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#ifndef HISTOGRAM_H
8
#define HISTOGRAM_H
9
10
#include <string.h>
11
12
namespace ffmpegthumbnailer
13
{
14
15
template <typename T>
16
struct Histogram {
17
    T r[256];
18
    T g[256];
19
    T b[256];
20
21
0
    Histogram() {
22
0
        memset(r, 0, 255 * sizeof(T));
23
0
        memset(g, 0, 255 * sizeof(T));
24
0
        memset(b, 0, 255 * sizeof(T));
25
0
    }
Unexecuted instantiation: ffmpegthumbnailer::Histogram<int>::Histogram()
Unexecuted instantiation: ffmpegthumbnailer::Histogram<float>::Histogram()
26
};
27
28
}
29
30
#endif