/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/libOpenImageIO/ |
H A D | imagespec_test.cpp | 202 OIIO_CHECK_EQUAL(spec.get_int_attribute("width"), 640); in test_get_attribute() 203 OIIO_CHECK_EQUAL(spec.get_int_attribute("height"), 480); in test_get_attribute() 204 OIIO_CHECK_EQUAL(spec.get_int_attribute("nchannels"), 4); in test_get_attribute() 211 OIIO_CHECK_EQUAL(spec.get_int_attribute("x"), 10); in test_get_attribute() 212 OIIO_CHECK_EQUAL(spec.get_int_attribute("y"), 12); in test_get_attribute() 213 OIIO_CHECK_EQUAL(spec.get_int_attribute("full_x"), -5); in test_get_attribute() 214 OIIO_CHECK_EQUAL(spec.get_int_attribute("full_y"), -8); in test_get_attribute() 217 OIIO_CHECK_EQUAL(spec.get_int_attribute("tile_width"), 64); in test_get_attribute() 221 OIIO_CHECK_EQUAL(spec.get_int_attribute("foo"), 42); in test_get_attribute() 224 OIIO_CHECK_EQUAL(spec.get_int_attribute("bar"), 0); in test_get_attribute() [all …]
|
H A D | maketexture.cpp | 655 = configspec.get_int_attribute("maketx:highlightcomp", 0); in write_mipmap() 1102 if (configspec.get_int_attribute("maketx:prman_options")) in make_texture_impl() 1104 else if (configspec.get_int_attribute("maketx:oiio_options")) in make_texture_impl() 1171 bool constant_color_detect = configspec.get_int_attribute( in make_texture_impl() 1237 if (configspec.get_int_attribute("maketx:monochrome_detect") in make_texture_impl() 1373 if (configspec.get_int_attribute("maketx:ignore_unassoc")) in make_texture_impl() 1450 if (configspec.get_int_attribute("maketx:checknan") in make_texture_impl() 1559 const int allow_shift = configspec.get_int_attribute( in make_texture_impl() 1672 if (configspec.get_int_attribute("maketx:highlightcomp", 0)) in make_texture_impl() 1677 = configspec.get_int_attribute("maketx:hash", 1) in make_texture_impl() [all …]
|
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/libOpenImageIO/ |
H A D | imagespec_test.cpp | 202 OIIO_CHECK_EQUAL(spec.get_int_attribute("width"), 640); in test_get_attribute() 203 OIIO_CHECK_EQUAL(spec.get_int_attribute("height"), 480); in test_get_attribute() 204 OIIO_CHECK_EQUAL(spec.get_int_attribute("nchannels"), 4); in test_get_attribute() 211 OIIO_CHECK_EQUAL(spec.get_int_attribute("x"), 10); in test_get_attribute() 212 OIIO_CHECK_EQUAL(spec.get_int_attribute("y"), 12); in test_get_attribute() 213 OIIO_CHECK_EQUAL(spec.get_int_attribute("full_x"), -5); in test_get_attribute() 214 OIIO_CHECK_EQUAL(spec.get_int_attribute("full_y"), -8); in test_get_attribute() 217 OIIO_CHECK_EQUAL(spec.get_int_attribute("tile_width"), 64); in test_get_attribute() 221 OIIO_CHECK_EQUAL(spec.get_int_attribute("foo"), 42); in test_get_attribute() 224 OIIO_CHECK_EQUAL(spec.get_int_attribute("bar"), 0); in test_get_attribute() [all …]
|
H A D | maketexture.cpp | 655 = configspec.get_int_attribute("maketx:highlightcomp", 0); in write_mipmap() 1102 if (configspec.get_int_attribute("maketx:prman_options")) in make_texture_impl() 1104 else if (configspec.get_int_attribute("maketx:oiio_options")) in make_texture_impl() 1171 bool constant_color_detect = configspec.get_int_attribute( in make_texture_impl() 1237 if (configspec.get_int_attribute("maketx:monochrome_detect") in make_texture_impl() 1373 if (configspec.get_int_attribute("maketx:ignore_unassoc")) in make_texture_impl() 1450 if (configspec.get_int_attribute("maketx:checknan") in make_texture_impl() 1559 const int allow_shift = configspec.get_int_attribute( in make_texture_impl() 1672 if (configspec.get_int_attribute("maketx:highlightcomp", 0)) in make_texture_impl() 1677 = configspec.get_int_attribute("maketx:hash", 1) in make_texture_impl() [all …]
|
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/dpx.imageio/ |
H A D | dpxoutput.cpp | 263 datasign, spec.get_int_attribute("dpx:LowData", 0xFFFFFFFF), in open() 266 spec.get_int_attribute("dpx:HighData", 0xFFFFFFFF), in open() 269 spec.get_int_attribute("dpx:EndOfLinePadding", 0), in open() 270 spec.get_int_attribute("dpx:EndOfImagePadding", 0)); in open() 285 m_spec.get_int_attribute("dpx:FramePosition", 0xFFFFFFFF)); in open() 287 m_spec.get_int_attribute("dpx:SequenceLength", 0xFFFFFFFF)); in open() 289 m_spec.get_int_attribute("dpx:HeldCount", 0xFFFFFFFF)); in open() 318 m_spec.get_int_attribute("dpx:FieldNumber", 0xFF)); in open() 429 ? m_spec.get_int_attribute("oiio:dither", 0) in open() 534 m_rawcolor = m_spec.get_int_attribute("dpx:RawColor") in prep_subimage() [all …]
|
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/dpx.imageio/ |
H A D | dpxoutput.cpp | 263 datasign, spec.get_int_attribute("dpx:LowData", 0xFFFFFFFF), in open() 266 spec.get_int_attribute("dpx:HighData", 0xFFFFFFFF), in open() 269 spec.get_int_attribute("dpx:EndOfLinePadding", 0), in open() 270 spec.get_int_attribute("dpx:EndOfImagePadding", 0)); in open() 285 m_spec.get_int_attribute("dpx:FramePosition", 0xFFFFFFFF)); in open() 287 m_spec.get_int_attribute("dpx:SequenceLength", 0xFFFFFFFF)); in open() 289 m_spec.get_int_attribute("dpx:HeldCount", 0xFFFFFFFF)); in open() 318 m_spec.get_int_attribute("dpx:FieldNumber", 0xFF)); in open() 429 ? m_spec.get_int_attribute("oiio:dither", 0) in open() 534 m_rawcolor = m_spec.get_int_attribute("dpx:RawColor") in prep_subimage() [all …]
|
/dports/graphics/openimageio/oiio-Release-2.2.16.0/testsuite/python-imagespec/src/ |
H A D | test_imagespec.py | 97 print ("get_int_attribute('foo_int') retrieves", s.get_int_attribute ("foo_int")) 98 …print ("get_int_attribute('foo_int',21) with default retrieves", s.get_int_attribute ("foo_int", 2… 99 print ("get_int_attribute('foo_no',23) retrieves", s.get_int_attribute ("foo_no", 23)) 145 … print ("get_int_attribute plugin_searchpath : ", oiio.get_int_attribute ("plugin_searchpath", 0))
|
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/testsuite/python-imagespec/src/ |
H A D | test_imagespec.py | 97 print ("get_int_attribute('foo_int') retrieves", s.get_int_attribute ("foo_int")) 98 …print ("get_int_attribute('foo_int',21) with default retrieves", s.get_int_attribute ("foo_int", 2… 99 print ("get_int_attribute('foo_no',23) retrieves", s.get_int_attribute ("foo_no", 23)) 145 … print ("get_int_attribute plugin_searchpath : ", oiio.get_int_attribute ("plugin_searchpath", 0))
|
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/png.imageio/ |
H A D | pngoutput.cpp | 166 m_png, std::max(std::min(m_spec.get_int_attribute( in open() 189 spec().get_int_attribute("png:filter", PNG_NO_FILTERS)); in open() 220 ? m_spec.get_int_attribute("oiio:dither", 0) in open() 224 && !m_spec.get_int_attribute("oiio:UnassociatedAlpha", 0); in open()
|
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/png.imageio/ |
H A D | pngoutput.cpp | 166 m_png, std::max(std::min(m_spec.get_int_attribute( in open() 189 spec().get_int_attribute("png:filter", PNG_NO_FILTERS)); in open() 220 ? m_spec.get_int_attribute("oiio:dither", 0) in open() 224 && !m_spec.get_int_attribute("oiio:UnassociatedAlpha", 0); in open()
|
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/rla.imageio/ |
H A D | rlaoutput.cpp | 191 ? m_spec.get_int_attribute("oiio:dither", 0) in open() 207 m_rla.FrameNumber = m_spec.get_int_attribute("rla:FrameNumber", 0); in open() 219 int bits = m_spec.get_int_attribute("oiio:BitsPerSample", 0); in open() 263 int bits = m_spec.get_int_attribute("oiio:BitsPerSample", 0); in open() 331 m_rla.JobNumber = m_spec.get_int_attribute("rla:JobNumber", 0); in open() 354 m_rla.FieldRendered = m_spec.get_int_attribute("rla:FieldRendered", 0); in open()
|
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/rla.imageio/ |
H A D | rlaoutput.cpp | 191 ? m_spec.get_int_attribute("oiio:dither", 0) in open() 207 m_rla.FrameNumber = m_spec.get_int_attribute("rla:FrameNumber", 0); in open() 219 int bits = m_spec.get_int_attribute("oiio:BitsPerSample", 0); in open() 263 int bits = m_spec.get_int_attribute("oiio:BitsPerSample", 0); in open() 331 m_rla.JobNumber = m_spec.get_int_attribute("rla:JobNumber", 0); in open() 354 m_rla.FieldRendered = m_spec.get_int_attribute("rla:FieldRendered", 0); in open()
|
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/pnm.imageio/ |
H A D | pnmoutput.cpp | 141 int bits_per_sample = m_spec.get_int_attribute("oiio:BitsPerSample", 8); in open() 143 ? m_spec.get_int_attribute("oiio:dither", 0) in open() 158 if (!m_spec.get_int_attribute("pnm:binary", 1)) { in open()
|
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/pnm.imageio/ |
H A D | pnmoutput.cpp | 141 int bits_per_sample = m_spec.get_int_attribute("oiio:BitsPerSample", 8); in open() 143 ? m_spec.get_int_attribute("oiio:dither", 0) in open() 158 if (!m_spec.get_int_attribute("pnm:binary", 1)) { in open()
|
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/targa.imageio/ |
H A D | targaoutput.cpp | 197 m_dither = m_spec.get_int_attribute("oiio:dither", 0); in open() 209 && !m_spec.get_int_attribute("oiio:UnassociatedAlpha", 0); in open() 303 unsigned char tw = m_spec.get_int_attribute("thumbnail_width", 0); in write_tga20_data_fields() 304 unsigned char th = m_spec.get_int_attribute("thumbnail_width", 0); in write_tga20_data_fields() 305 int tc = m_spec.get_int_attribute("thumbnail_nchannels", 0); in write_tga20_data_fields()
|
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/targa.imageio/ |
H A D | targaoutput.cpp | 197 m_dither = m_spec.get_int_attribute("oiio:dither", 0); in open() 209 && !m_spec.get_int_attribute("oiio:UnassociatedAlpha", 0); in open() 303 unsigned char tw = m_spec.get_int_attribute("thumbnail_width", 0); in write_tga20_data_fields() 304 unsigned char th = m_spec.get_int_attribute("thumbnail_width", 0); in write_tga20_data_fields() 305 int tc = m_spec.get_int_attribute("thumbnail_nchannels", 0); in write_tga20_data_fields()
|
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/tiff.imageio/ |
H A D | tiffoutput.cpp | 395 int orientation = m_spec.get_int_attribute("Orientation", 1); in open() 398 m_bitspersample = m_spec.get_int_attribute("oiio:BitsPerSample"); in open() 439 if (m_spec.get_int_attribute("tiff:half", in open() 440 OIIO::get_int_attribute("tiff:half"))) { in open() 502 qual = m_spec.get_int_attribute("tiff:zipquality", qual); in open() 576 bool unass = m_spec.get_int_attribute("oiio:UnassociatedAlpha", 0); in open() 703 ? m_spec.get_int_attribute("oiio:dither", 0) in open() 834 if (m_spec.get_int_attribute("tiff:write_exif", 1) == 0) { in write_exif_data() 1131 && m_spec.get_int_attribute("tiff:multithread", in write_scanlines() 1132 OIIO::get_int_attribute("tiff:multithread")); in write_scanlines() [all …]
|
H A D | tiffinput.cpp | 340 void get_int_attribute(string_view name, int tag) in get_int_attribute() function in TIFFInput 374 get_int_attribute(oiioname, tifftag); in find_tag() 709 if (config.get_int_attribute("oiio:UnassociatedAlpha", 0) == 1) in open() 711 if (config.get_int_attribute("oiio:RawColor", 0) == 1) in open() 716 if (config.get_int_attribute("oiio:DebugOpenConfig!", 0)) in open() 1166 get_int_attribute("tiff:subfiletype", TIFFTAG_SUBFILETYPE); in readspec() 1207 if (m_spec.get_int_attribute("Exif:ColorSpace") != 0xffff) in readspec() 1801 && m_spec.get_int_attribute("tiff:multithread", in read_native_scanlines() 1802 OIIO::get_int_attribute("tiff:multithread")); in read_native_scanlines() 2067 && m_spec.get_int_attribute("tiff:multithread", in read_native_tiles() [all …]
|
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/tiff.imageio/ |
H A D | tiffoutput.cpp | 395 int orientation = m_spec.get_int_attribute("Orientation", 1); in open() 398 m_bitspersample = m_spec.get_int_attribute("oiio:BitsPerSample"); in open() 439 if (m_spec.get_int_attribute("tiff:half", in open() 440 OIIO::get_int_attribute("tiff:half"))) { in open() 502 qual = m_spec.get_int_attribute("tiff:zipquality", qual); in open() 576 bool unass = m_spec.get_int_attribute("oiio:UnassociatedAlpha", 0); in open() 703 ? m_spec.get_int_attribute("oiio:dither", 0) in open() 834 if (m_spec.get_int_attribute("tiff:write_exif", 1) == 0) { in write_exif_data() 1131 && m_spec.get_int_attribute("tiff:multithread", in write_scanlines() 1132 OIIO::get_int_attribute("tiff:multithread")); in write_scanlines() [all …]
|
H A D | tiffinput.cpp | 340 void get_int_attribute(string_view name, int tag) in get_int_attribute() function in TIFFInput 374 get_int_attribute(oiioname, tifftag); in find_tag() 709 if (config.get_int_attribute("oiio:UnassociatedAlpha", 0) == 1) in open() 711 if (config.get_int_attribute("oiio:RawColor", 0) == 1) in open() 716 if (config.get_int_attribute("oiio:DebugOpenConfig!", 0)) in open() 1166 get_int_attribute("tiff:subfiletype", TIFFTAG_SUBFILETYPE); in readspec() 1207 if (m_spec.get_int_attribute("Exif:ColorSpace") != 0xffff) in readspec() 1801 && m_spec.get_int_attribute("tiff:multithread", in read_native_scanlines() 1802 OIIO::get_int_attribute("tiff:multithread")); in read_native_scanlines() 2067 && m_spec.get_int_attribute("tiff:multithread", in read_native_tiles() [all …]
|
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/iinfo/ |
H A D | iinfo.cpp | 138 int bits = spec.get_int_attribute("oiio:BitsPerSample"); in get_intsample_maxval() 470 int bits = spec.get_int_attribute("oiio:BitsPerSample", 0); in print_info_subimage() 569 int bits = spec.get_int_attribute("oiio:BitsPerSample", 0); in print_info() 588 int movie = spec.get_int_attribute("oiio:Movie"); in print_info() 594 int bits = spec.get_int_attribute("oiio:BitsPerSample", in print_info()
|
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/iinfo/ |
H A D | iinfo.cpp | 138 int bits = spec.get_int_attribute("oiio:BitsPerSample"); in get_intsample_maxval() 470 int bits = spec.get_int_attribute("oiio:BitsPerSample", 0); in print_info_subimage() 569 int bits = spec.get_int_attribute("oiio:BitsPerSample", 0); in print_info() 588 int movie = spec.get_int_attribute("oiio:Movie"); in print_info() 594 int bits = spec.get_int_attribute("oiio:BitsPerSample", in print_info()
|
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/raw.imageio/ |
H A D | rawinput.cpp | 370 = config.get_int_attribute("raw:user_flip", -1); in open_raw() 397 = config.get_int_attribute("raw:half_size", 0); in open_raw() 413 = !config.get_int_attribute("raw:auto_bright", 0); in open_raw() 416 = config.get_int_attribute("raw:use_camera_wb", 1); in open_raw() 422 = config.get_int_attribute("raw:user_sat", 0); in open_raw() 460 = config.get_int_attribute("raw:use_camera_matrix", 1); in open_raw() 539 int highlight_mode = config.get_int_attribute("raw:HighlightMode", 0); in open_raw() 735 int ori = m_spec.get_int_attribute("Orientation", 1); in open_raw()
|
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/raw.imageio/ |
H A D | rawinput.cpp | 370 = config.get_int_attribute("raw:user_flip", -1); in open_raw() 397 = config.get_int_attribute("raw:half_size", 0); in open_raw() 413 = !config.get_int_attribute("raw:auto_bright", 0); in open_raw() 416 = config.get_int_attribute("raw:use_camera_wb", 1); in open_raw() 422 = config.get_int_attribute("raw:user_sat", 0); in open_raw() 460 = config.get_int_attribute("raw:use_camera_matrix", 1); in open_raw() 539 int highlight_mode = config.get_int_attribute("raw:HighlightMode", 0); in open_raw() 735 int ori = m_spec.get_int_attribute("Orientation", 1); in open_raw()
|
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/socket.imageio/ |
H A D | socketinput.cpp | 74 if (config.get_int_attribute("nowait", 0)) { in open()
|