Skip to content

Commit caa624e

Browse files
committed
Make clang-format happy
Signed-off-by: Peter Kovář <peter.kovar@reflexion.tv>
1 parent 646b6b9 commit caa624e

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

src/r3d.imageio/r3dinput.cpp

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,7 @@ class R3dInput final : public ImageInput {
8181
}
8282
const char* format_name(void) const override { return "r3d"; }
8383
int supports(string_view feature) const override
84-
{
85-
return (feature == "ioproxy");
86-
}
84+
{ return (feature == "ioproxy"); }
8785
bool open(const std::string& name, ImageSpec& spec) override;
8886
bool open(const std::string& name, ImageSpec& spec,
8987
const ImageSpec& config) override;
@@ -154,9 +152,7 @@ r3d_imageio_library_version()
154152

155153
OIIO_EXPORT ImageInput*
156154
r3d_input_imageio_create()
157-
{
158-
return new R3dInput;
159-
}
155+
{ return new R3dInput; }
160156

161157
OIIO_EXPORT const char* r3d_input_extensions[] = { "r3d", nullptr };
162158

@@ -279,7 +275,7 @@ R3dInput::open(const std::string& name, ImageSpec& newspec)
279275
m_job.OutputBuffer = m_image_buffer;
280276

281277
// Interleaved RGB decoding in 16-bits per pixel
282-
m_job.PixelType = R3DSDK::PixelType_16Bit_RGB_Interleaved;
278+
m_job.PixelType = R3DSDK::PixelType_16Bit_RGB_Interleaved;
283279

284280
m_spec = ImageSpec(width, height, m_channels, TypeDesc::UINT16);
285281
m_spec.attribute("FramesPerSecond", TypeFloat, &m_fps);

0 commit comments

Comments
 (0)