Coverage Report

Created: 2025-07-16 07:53

/src/openexr/src/lib/OpenEXR/ImfDeepScanLineInputPart.cpp
Line
Count
Source (jump to first uncovered line)
1
//
2
// SPDX-License-Identifier: BSD-3-Clause
3
// Copyright (c) Contributors to the OpenEXR Project.
4
//
5
6
#include "ImfDeepScanLineInputPart.h"
7
8
#include "ImfDeepScanLineInputFile.h"
9
#include "ImfDeepScanLineOutputFile.h"
10
#include "ImfMultiPartInputFile.h"
11
12
OPENEXR_IMF_INTERNAL_NAMESPACE_SOURCE_ENTER
13
14
DeepScanLineInputPart::DeepScanLineInputPart (
15
    MultiPartInputFile& multiPartFile, int partNumber)
16
0
{
17
0
    file = multiPartFile.getInputPart<DeepScanLineInputFile> (partNumber);
18
0
}
19
20
const char*
21
DeepScanLineInputPart::fileName () const
22
0
{
23
0
    return file->fileName ();
24
0
}
25
26
const Header&
27
DeepScanLineInputPart::header () const
28
0
{
29
0
    return file->header ();
30
0
}
31
32
int
33
DeepScanLineInputPart::version () const
34
0
{
35
0
    return file->version ();
36
0
}
37
38
void
39
DeepScanLineInputPart::setFrameBuffer (const DeepFrameBuffer& frameBuffer)
40
0
{
41
0
    file->setFrameBuffer (frameBuffer);
42
0
}
43
44
const DeepFrameBuffer&
45
DeepScanLineInputPart::frameBuffer () const
46
0
{
47
0
    return file->frameBuffer ();
48
0
}
49
50
bool
51
DeepScanLineInputPart::isComplete () const
52
0
{
53
0
    return file->isComplete ();
54
0
}
55
56
void
57
DeepScanLineInputPart::readPixels (int scanLine1, int scanLine2)
58
0
{
59
0
    file->readPixels (scanLine1, scanLine2);
60
0
}
61
62
void
63
DeepScanLineInputPart::readPixels (int scanLine)
64
0
{
65
0
    file->readPixels (scanLine);
66
0
}
67
68
void
69
DeepScanLineInputPart::rawPixelData (
70
    int firstScanLine, char* pixelData, uint64_t& pixelDataSize)
71
0
{
72
0
    file->rawPixelData (firstScanLine, pixelData, pixelDataSize);
73
0
}
74
75
void
76
DeepScanLineInputPart::readPixelSampleCounts (int scanline1, int scanline2)
77
0
{
78
0
    file->readPixelSampleCounts (scanline1, scanline2);
79
0
}
80
81
void
82
DeepScanLineInputPart::readPixelSampleCounts (int scanline)
83
0
{
84
0
    file->readPixelSampleCounts (scanline);
85
0
}
86
87
int
88
DeepScanLineInputPart::firstScanLineInChunk (int y) const
89
0
{
90
0
    return file->firstScanLineInChunk (y);
91
0
}
92
93
int
94
DeepScanLineInputPart::lastScanLineInChunk (int y) const
95
0
{
96
0
    return file->lastScanLineInChunk (y);
97
0
}
98
99
void
100
DeepScanLineInputPart::readPixels (
101
    const char*            rawPixelData,
102
    const DeepFrameBuffer& frameBuffer,
103
    int                    scanLine1,
104
    int                    scanLine2) const
105
0
{
106
0
    return file->readPixels (rawPixelData, frameBuffer, scanLine1, scanLine2);
107
0
}
108
void
109
DeepScanLineInputPart::readPixelSampleCounts (
110
    const char*            rawdata,
111
    const DeepFrameBuffer& frameBuffer,
112
    int                    scanLine1,
113
    int                    scanLine2) const
114
0
{
115
0
    return file->readPixelSampleCounts (
116
0
        rawdata, frameBuffer, scanLine1, scanLine2);
117
0
}
118
119
OPENEXR_IMF_INTERNAL_NAMESPACE_SOURCE_EXIT