diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-05-02 20:31:57 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-05-03 04:32:47 +0300 |
commit | b1f9b9a9275e5d378c9f9ba8922038c63841f0ec (patch) | |
tree | 32aa08978e99d575e95049570ef3a34c19e7caeb /src | |
parent | 585252eae349ab2871c95a4e37c1e573d0d0d0a3 (diff) |
qcam: dng_writer: Name arguments to packScanline()
Name arguments to the FormatInfo::packScanline function pointer to make
it easier to understand its usage when reading the function declaration.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src')
-rw-r--r-- | src/qcam/dng_writer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qcam/dng_writer.cpp b/src/qcam/dng_writer.cpp index b1984c66..d5270323 100644 --- a/src/qcam/dng_writer.cpp +++ b/src/qcam/dng_writer.cpp @@ -23,7 +23,8 @@ enum CFAPatternColour : uint8_t { struct FormatInfo { uint8_t bitsPerSample; CFAPatternColour pattern[4]; - void (*packScanline)(void *, const void *, unsigned int); + void (*packScanline)(void *output, const void *input, + unsigned int width); }; void packScanlineSBGGR10P(void *output, const void *input, unsigned int width) |