projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96e24f8
)
Fix enum confusion.
author
Carl Hetherington
<cth@carlh.net>
Wed, 9 Oct 2019 22:57:13 +0000
(
00:57
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 9 Oct 2019 22:57:34 +0000
(
00:57
+0200)
src/stereo_picture_frame.cc
patch
|
blob
|
history
diff --git
a/src/stereo_picture_frame.cc
b/src/stereo_picture_frame.cc
index 8b8f9b91e8524b9c00b3deb1a6da8cd6b65dbf7a..72f59b36bbce6dd116ed3d783b9794c2875cd8da 100644
(file)
--- a/
src/stereo_picture_frame.cc
+++ b/
src/stereo_picture_frame.cc
@@
-79,9
+79,9
@@
shared_ptr<OpenJPEGImage>
StereoPictureFrame::xyz_image (Eye eye, int reduce) const
{
switch (eye) {
- case LEFT:
+ case
EYE_
LEFT:
return decompress_j2k (const_cast<uint8_t*> (_buffer->Left.RoData()), _buffer->Left.Size(), reduce);
- case RIGHT:
+ case
EYE_
RIGHT:
return decompress_j2k (const_cast<uint8_t*> (_buffer->Right.RoData()), _buffer->Right.Size(), reduce);
}