Skip to content

Commit fa826de

Browse files
committed
Implement OIIO reader
Signed-off-by: Thomas Manceau <[email protected]>
1 parent 4232578 commit fa826de

File tree

7 files changed

+1057
-0
lines changed

7 files changed

+1057
-0
lines changed

src/plugin/media_reader/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ add_src_and_test(ffmpeg)
22
add_src_and_test(openexr)
33
add_src_and_test(ppm)
44
add_src_and_test(blank)
5+
add_src_and_test(openimageio)
56

67
build_studio_plugins("${STUDIO_PLUGINS}")
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
find_package(OpenImageIO REQUIRED)
2+
3+
SET(LINK_DEPS
4+
xstudio::media_reader
5+
OpenImageIO::OpenImageIO
6+
)
7+
8+
create_plugin_with_alias(
9+
media_reader_oiio
10+
xstudio::media_reader::oiio
11+
${XSTUDIO_GLOBAL_VERSION}
12+
"${LINK_DEPS}"
13+
)
14+
15+
target_include_directories(media_reader_oiio PRIVATE ${OPENIMAGEIO_INCLUDE_DIR})
16+

0 commit comments

Comments
 (0)