projects
/
platform
/
upstream
/
v4l-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e4c861
)
libv4lconvert: add missing const for input pointer
author
Gregor Jasny
<gjasny@googlemail.com>
Wed, 1 Feb 2012 17:41:36 +0000
(18:41 +0100)
committer
Gregor Jasny
<gjasny@googlemail.com>
Sun, 5 Feb 2012 16:28:01 +0000
(17:28 +0100)
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
lib/libv4lconvert/rgbyuv.c
patch
|
blob
|
history
diff --git
a/lib/libv4lconvert/rgbyuv.c
b/lib/libv4lconvert/rgbyuv.c
index
324d90f
..
2b5c622
100644
(file)
--- a/
lib/libv4lconvert/rgbyuv.c
+++ b/
lib/libv4lconvert/rgbyuv.c
@@
-605,7
+605,7
@@
void v4lconvert_grey_to_yuv420(const unsigned char *src, unsigned char *dest,
}
/* Unpack buffer of (vw bit) data into padded 16bit buffer. */
-static inline void convert_packed_to_16bit(uint8_t *raw, uint16_t *unpacked,
+static inline void convert_packed_to_16bit(
const
uint8_t *raw, uint16_t *unpacked,
int vw, int unpacked_len)
{
int mask = (1 << vw) - 1;