Crate openjpeg2_sys Copy item path Source pub use self::RSIZ_CAPABILITIES as OPJ_RSIZ_CAPABILITIES;
pub use self::CINEMA_MODE as OPJ_CINEMA_MODE;
pub use self::PROG_ORDER as OPJ_PROG_ORDER;
pub use self::COLOR_SPACE as OPJ_COLOR_SPACE;
pub use self::CODEC_FORMAT as OPJ_CODEC_FORMAT;
_G_fpos64_t _G_fpos_t _IO_FILE _IO_codecvt _IO_marker _IO_wide_data __fsid_t __mbstate_t __va_list_tag opj_codestream_index Index structure of the codestream (FIXME should be expand and enhance) opj_codestream_info Index structure of the codestream opj_codestream_info_v2 Information structure about the codestream (FIXME should be expand and enhance) opj_cparameters Compression parameters opj_dparameters Decompression parameters opj_image Defines image data and characteristics opj_image_comp Defines a single image component opj_image_comptparm Component parameters structure used by the opj_image_create function opj_jp2_index Index structure of the JP2 file
EXPERIMENTAL FOR THE MOMENT opj_jp2_metadata Info structure of the JP2 file
EXPERIMENTAL FOR THE MOMENT opj_marker_info Marker structure opj_packet_info Index structure : Information concerning a packet inside tile opj_poc Progression order changes opj_tccp_info Tile-component coding parameters information opj_tile_index Index structure about a tile opj_tile_info Index structure : information regarding tiles opj_tile_v2_info Tile coding parameters information opj_tp_index Index structure about a tile part opj_tp_info Index structure : Information concerning tile-parts BUFSIZ CINEMA_MODE_OPJ_CINEMA2K_24 Not Digital Cinema CINEMA_MODE_OPJ_CINEMA2K_48 2K Digital Cinema at 24 fps CINEMA_MODE_OPJ_CINEMA4K_24 2K Digital Cinema at 48 fps CINEMA_MODE_OPJ_OFF CODEC_FORMAT_OPJ_CODEC_J2K < JPEG-2000 codestream : read/write CODEC_FORMAT_OPJ_CODEC_JP2 < JP2 file format : read/write CODEC_FORMAT_OPJ_CODEC_JPP < JPP-stream (JPEG 2000, JPIP) : to be coded CODEC_FORMAT_OPJ_CODEC_JPT < JPT-stream (JPEG 2000, JPIP) : read only CODEC_FORMAT_OPJ_CODEC_JPX < JPX file format (JPEG 2000 Part-2) : to be coded CODEC_FORMAT_OPJ_CODEC_UNKNOWN < place-holder COLOR_SPACE_OPJ_CLRSPC_CMYK < CMYK COLOR_SPACE_OPJ_CLRSPC_EYCC < e-YCC COLOR_SPACE_OPJ_CLRSPC_GRAY < grayscale COLOR_SPACE_OPJ_CLRSPC_SRGB < sRGB COLOR_SPACE_OPJ_CLRSPC_SYCC < YUV COLOR_SPACE_OPJ_CLRSPC_UNKNOWN < not supported by the library COLOR_SPACE_OPJ_CLRSPC_UNSPECIFIED < not specified in the codestream EOF FILENAME_MAX FOPEN_MAX INT8_MAX INT8_MIN INT16_MAX INT16_MIN INT32_MAX INT32_MIN INTPTR_MAX INTPTR_MIN INT_FAST8_MAX INT_FAST8_MIN INT_FAST16_MAX INT_FAST16_MIN INT_FAST32_MAX INT_FAST32_MIN INT_LEAST8_MAX INT_LEAST8_MIN INT_LEAST16_MAX INT_LEAST16_MIN INT_LEAST32_MAX INT_LEAST32_MIN JPWL_EXPECTED_COMPONENTS JPWL_MAXIMUM_EPB_ROOM JPWL_MAXIMUM_HAMMING JPWL_MAXIMUM_TILES JPWL_MAX_NO_MARKERS JPWL_MAX_NO_PACKSPECS JPWL_MAX_NO_TILESPECS JPWL_PRIVATEINDEX_NAME L_ctermid L_tmpnam OPJ_CINEMA_24_COMP OPJ_CINEMA_24_CS OPJ_CINEMA_48_COMP OPJ_CINEMA_48_CS OPJ_DPARAMETERS_DUMP_FLAG OPJ_DPARAMETERS_IGNORE_PCLR_CMAP_CDEF_FLAG OPJ_EXTENSION_MCT OPJ_EXTENSION_NONE OPJ_FALSE OPJ_HAVE_STDINT_H OPJ_IMG_INFO OPJ_J2K_DEFAULT_HEADER_SIZE OPJ_J2K_DEFAULT_NB_SEGS OPJ_J2K_MAXBANDS OPJ_J2K_MAXRLVLS OPJ_J2K_MCC_DEFAULT_NB_RECORDS OPJ_J2K_MCT_DEFAULT_NB_RECORDS OPJ_J2K_MH_IND OPJ_J2K_MH_INFO OPJ_J2K_STREAM_CHUNK_SIZE OPJ_J2K_TCH_INFO OPJ_J2K_TH_IND OPJ_J2K_TH_INFO OPJ_JP2_IND OPJ_JP2_INFO OPJ_PATH_LEN OPJ_PROFILE_0 OPJ_PROFILE_1 OPJ_PROFILE_BC_MULTI OPJ_PROFILE_BC_MULTI_R OPJ_PROFILE_BC_SINGLE OPJ_PROFILE_CINEMA_2K OPJ_PROFILE_CINEMA_4K OPJ_PROFILE_CINEMA_LTS OPJ_PROFILE_CINEMA_S2K OPJ_PROFILE_CINEMA_S4K OPJ_PROFILE_IMF_2K OPJ_PROFILE_IMF_2K_R OPJ_PROFILE_IMF_4K OPJ_PROFILE_IMF_4K_R OPJ_PROFILE_IMF_8K OPJ_PROFILE_IMF_8K_R OPJ_PROFILE_NONE OPJ_PROFILE_PART2 OPJ_STREAM_READ OPJ_STREAM_WRITE OPJ_TRUE OPJ_VERSION_BUILD OPJ_VERSION_MAJOR OPJ_VERSION_MINOR PROG_ORDER_OPJ_CPRL < component-precinct-resolution-layer order PROG_ORDER_OPJ_LRCP < layer-resolution-component-precinct order PROG_ORDER_OPJ_PCRL < precinct-component-resolution-layer order PROG_ORDER_OPJ_PROG_UNKNOWN < place-holder PROG_ORDER_OPJ_RLCP < resolution-layer-component-precinct order PROG_ORDER_OPJ_RPCL < resolution-precinct-component-layer order PTRDIFF_MAX PTRDIFF_MIN P_tmpdir RSIZ_CAPABILITIES_OPJ_CINEMA2K Standard JPEG2000 profile RSIZ_CAPABILITIES_OPJ_CINEMA4K Profile name for a 2K image RSIZ_CAPABILITIES_OPJ_MCT Profile name for a 4K image RSIZ_CAPABILITIES_OPJ_STD_RSIZ SEEK_CUR SEEK_END SEEK_SET SIG_ATOMIC_MAX SIG_ATOMIC_MIN SIZE_MAX TMP_MAX UINT8_MAX UINT16_MAX UINT32_MAX UINTPTR_MAX UINT_FAST8_MAX UINT_FAST16_MAX UINT_FAST32_MAX UINT_LEAST8_MAX UINT_LEAST16_MAX UINT_LEAST32_MAX WINT_MAX WINT_MIN _ATFILE_SOURCE _BITS_STDINT_INTN_H _BITS_STDINT_UINTN_H _BITS_STDIO_LIM_H _BITS_TIME64_H _BITS_TYPESIZES_H _BITS_TYPES_H _BITS_WCHAR_H _DEFAULT_SOURCE _FEATURES_H _IOFBF _IOLBF _IONBF _IO_EOF_SEEN _IO_ERR_SEEN _IO_USER_LOCK _POSIX_C_SOURCE _POSIX_SOURCE _STDC_PREDEF_H _STDINT_H _STDIO_H _SYS_CDEFS_H __FD_SETSIZE __FILE_defined __GLIBC_MINOR__ __GLIBC_USE_DEPRECATED_GETS __GLIBC_USE_DEPRECATED_SCANF __GLIBC_USE_IEC_60559_BFP_EXT __GLIBC_USE_IEC_60559_BFP_EXT_C2X __GLIBC_USE_IEC_60559_EXT __GLIBC_USE_IEC_60559_FUNCS_EXT __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X __GLIBC_USE_IEC_60559_TYPES_EXT __GLIBC_USE_ISOC2X __GLIBC_USE_LIB_EXT2 __GLIBC__ __GNUC_VA_LIST __GNU_LIBRARY__ __HAVE_DISTINCT_FLOAT16 __HAVE_DISTINCT_FLOAT32 __HAVE_DISTINCT_FLOAT64 __HAVE_DISTINCT_FLOAT32X __HAVE_DISTINCT_FLOAT64X __HAVE_DISTINCT_FLOAT128 __HAVE_DISTINCT_FLOAT128X __HAVE_FLOAT16 __HAVE_FLOAT32 __HAVE_FLOAT64 __HAVE_FLOAT32X __HAVE_FLOAT64X __HAVE_FLOAT64X_LONG_DOUBLE __HAVE_FLOAT128 __HAVE_FLOAT128X __HAVE_FLOATN_NOT_TYPEDEF __HAVE_GENERIC_SELECTION __INO_T_MATCHES_INO64_T __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI __OFF_T_MATCHES_OFF64_T __RLIM_T_MATCHES_RLIM64_T __STATFS_MATCHES_STATFS64 __STDC_IEC_559_COMPLEX__ __STDC_IEC_559__ __STDC_IEC_60559_BFP__ __STDC_IEC_60559_COMPLEX__ __STDC_ISO_10646__ __SYSCALL_WORDSIZE __TIMESIZE __USE_ATFILE __USE_FORTIFY_LEVEL __USE_ISOC11 __USE_ISOC95 __USE_ISOC99 __USE_MISC __USE_POSIX __USE_POSIX2 __USE_POSIX199309 __USE_POSIX199506 __USE_POSIX_IMPLICITLY __USE_XOPEN2K __USE_XOPEN2K8 __WORDSIZE __WORDSIZE_TIME64_COMPAT32 ____FILE_defined _____fpos64_t_defined _____fpos_t_defined ____mbstate_t_defined __glibc_c99_flexarr_available __struct_FILE_defined stderr ⚠ stdin ⚠ stdout ⚠ __getdelim ⚠ __overflow ⚠ __uflow ⚠ clearerr ⚠ clearerr_unlocked ⚠ ctermid ⚠ dprintf ⚠ fclose ⚠ fdopen ⚠ feof ⚠ feof_unlocked ⚠ ferror ⚠ ferror_unlocked ⚠ fflush ⚠ fflush_unlocked ⚠ fgetc ⚠ fgetc_unlocked ⚠ fgetpos ⚠ fgets ⚠ fileno ⚠ fileno_unlocked ⚠ flockfile ⚠ fmemopen ⚠ fopen ⚠ fprintf ⚠ fputc ⚠ fputc_unlocked ⚠ fputs ⚠ fread ⚠ fread_unlocked ⚠ freopen ⚠ fscanf ⚠ fscanf1 ⚠ fseek ⚠ fseeko ⚠ fsetpos ⚠ ftell ⚠ ftello ⚠ ftrylockfile ⚠ funlockfile ⚠ fwrite ⚠ fwrite_unlocked ⚠ getc ⚠ getc_unlocked ⚠ getchar ⚠ getchar_unlocked ⚠ getdelim ⚠ getline ⚠ getw ⚠ open_memstream ⚠ opj_codec_set_threads ⚠ Allocates worker threads for the compressor/decompressor. opj_create_compress ⚠ Creates a J2K/JP2 compression structure
@param format Coder to select
@return Returns a handle to a compressor if successful, returns NULL otherwise opj_create_decompress ⚠ Creates a J2K/JP2 decompression structure
@param format Decoder to select opj_decode ⚠ Decode an image from a JPEG-2000 codestream opj_decode_tile_data ⚠ Reads a tile data. This function is compulsory and allows one to decode tile data. opj_read_tile_header should be called before.
The user may need to refer to the image got by opj_read_header to understand the size being taken by the tile. opj_destroy_codec ⚠ Destroy a decompressor handle opj_destroy_cstr_index ⚠ opj_destroy_cstr_info ⚠ Destroy Codestream information after compression or decompression
@param cstr_info Codestream information structure opj_dump_codec ⚠ Dump the codec information into the output stream opj_encode ⚠ Encode an image into a JPEG-2000 codestream
@param p_codec compressor handle
@param p_stream Output buffer stream opj_end_compress ⚠ End to compress the current image.
@param p_codec Compressor handle
@param p_stream Input stgream opj_end_decompress ⚠ Read after the codestream if necessary
@param p_codec the JPEG2000 codec to read.
@param p_stream the JPEG2000 stream. opj_get_cstr_index ⚠ Get the codestream index from the codec opj_get_cstr_info ⚠ Get the codestream information from the codec opj_get_decoded_tile ⚠ Get the decoded tile from the codec opj_get_jp2_index ⚠ Get the JP2 file index from the codec FIXME opj_get_jp2_metadata ⚠ Get the JP2 file information from the codec FIXME opj_get_num_cpus ⚠ Return the number of virtual CPUs opj_has_thread_support ⚠ Returns if the library is built with thread support.
OPJ_TRUE if mutex, condition, thread, thread pool are available. opj_image_create ⚠ Create an image opj_image_data_alloc ⚠ Allocator for opj_image_t->comps[].data
To be paired with opj_image_data_free. opj_image_data_free ⚠ Destructor for opj_image_t->comps[].data
To be paired with opj_image_data_alloc. opj_image_destroy ⚠ Deallocate any resources associated with an image opj_image_tile_create ⚠ Creates an image without allocating memory for the image (used in the new version of the library). opj_read_header ⚠ Decodes an image header. opj_read_tile_header ⚠ Reads a tile header. This function is compulsory and allows one to know the size of the tile that will be decoded.
The user may need to refer to the image got by opj_read_header to understand the size being taken by the tile. opj_set_MCT ⚠ Sets the MCT matrix to use. opj_set_decode_area ⚠ Sets the given area to be decoded. This function should be called right after opj_read_header and before any tile header reading. opj_set_decoded_components ⚠ Restrict the number of components to decode. opj_set_decoded_resolution_factor ⚠ Set the resolution factor of the decoded image
@param p_codec the jpeg2000 codec.
@param res_factor resolution factor to set opj_set_default_decoder_parameters ⚠ Set decoding parameters to default values
@param parameters Decompression parameters opj_set_default_encoder_parameters ⚠ Set encoding parameters to default values, that means : opj_set_error_handler ⚠ Set the error handler use by openjpeg.
@param p_codec the codec previously initialise
@param p_callback the callback function which will be used
@param p_user_data client object where will be returned the message opj_set_info_handler ⚠ Set the info handler use by openjpeg.
@param p_codec the codec previously initialise
@param p_callback the callback function which will be used
@param p_user_data client object where will be returned the message opj_set_warning_handler ⚠ Set the warning handler use by openjpeg.
@param p_codec the codec previously initialise
@param p_callback the callback function which will be used
@param p_user_data client object where will be returned the message opj_setup_decoder ⚠ Setup the decoder with decompression parameters provided by the user and with the message handler
provided by the user. opj_setup_encoder ⚠ Setup the encoder parameters using the current image and using user parameters.
@param p_codec Compressor handle
@param parameters Compression parameters
@param image Input filled image opj_start_compress ⚠ Start to compress the current image.
@param p_codec Compressor handle
@param p_image Input filled image
@param p_stream Input stgream opj_stream_create ⚠ Creates an abstract stream. This function does nothing except allocating memory and initializing the abstract stream. opj_stream_create_default_file_stream ⚠ Create a stream from a file identified with its filename with default parameters (helper function)
@param fname the filename of the file to stream
@param p_is_read_stream whether the stream is a read stream (true) or not (false) opj_stream_create_file_stream ⚠ Create a stream from a file identified with its filename with a specific buffer size
@param fname the filename of the file to stream
@param p_buffer_size size of the chunk used to stream
@param p_is_read_stream whether the stream is a read stream (true) or not (false) opj_stream_default_create ⚠ Creates an abstract stream. This function does nothing except allocating memory and initializing the abstract stream. opj_stream_destroy ⚠ Destroys a stream created by opj_create_stream. This function does NOT close the abstract stream. If needed the user must
close its own implementation of the stream. opj_stream_set_read_function ⚠ Sets the given function to be used as a read function.
@param p_stream the stream to modify
@param p_function the function to use a read function. opj_stream_set_seek_function ⚠ Sets the given function to be used as a seek function, the stream is then seekable,
using SEEK_SET behavior.
@param p_stream the stream to modify
@param p_function the function to use a skip function. opj_stream_set_skip_function ⚠ Sets the given function to be used as a skip function.
@param p_stream the stream to modify
@param p_function the function to use a skip function. opj_stream_set_user_data ⚠ Sets the given data to be used as a user data for the stream.
@param p_stream the stream to modify
@param p_data the data to set.
@param p_function the function to free p_data when opj_stream_destroy() is called. opj_stream_set_user_data_length ⚠ Sets the length of the user data for the stream. opj_stream_set_write_function ⚠ Sets the given function to be used as a write function.
@param p_stream the stream to modify
@param p_function the function to use a write function. opj_version ⚠ opj_write_tile ⚠ Writes a tile with the given data. pclose ⚠ perror ⚠ popen ⚠ printf ⚠ putc ⚠ putc_unlocked ⚠ putchar ⚠ putchar_unlocked ⚠ puts ⚠ putw ⚠ remove ⚠ rename ⚠ renameat ⚠ rewind ⚠ scanf ⚠ scanf1 ⚠ setbuf ⚠ setbuffer ⚠ setlinebuf ⚠ setvbuf ⚠ snprintf ⚠ sprintf ⚠ sscanf ⚠ sscanf1 ⚠ tempnam ⚠ tmpfile ⚠ tmpnam ⚠ tmpnam_r ⚠ ungetc ⚠ vdprintf ⚠ vfprintf ⚠ vfscanf ⚠ vfscanf1 ⚠ vprintf ⚠ vscanf ⚠ vscanf1 ⚠ vsnprintf ⚠ vsprintf ⚠ vsscanf ⚠ vsscanf1 ⚠ CINEMA_MODE DEPRECATED: use RSIZ, OPJ_PROFILE_* and OPJ_EXTENSION_* instead
Digital cinema operation mode CODEC_FORMAT Supported codec COLOR_SPACE Supported image color spaces FILE OPJ_BOOL OPJ_BYTE OPJ_CHAR OPJ_FLOAT32 OPJ_FLOAT64 OPJ_INT8 OPJ_INT16 OPJ_INT32 OPJ_INT64 OPJ_OFF_T OPJ_SIZE_T OPJ_UINT8 OPJ_UINT16 OPJ_UINT32 OPJ_UINT64 PROG_ORDER Progression order RSIZ_CAPABILITIES DEPRECATED: use RSIZ, OPJ_PROFILE_* and OPJ_EXTENSION_* instead
Rsiz Capabilities _Float32 _Float64 _Float32x _Float64x _IO_lock_t __FILE __blkcnt64_t __blkcnt_t __blksize_t __builtin_va_list __caddr_t __clock_t __clockid_t __daddr_t __dev_t __fpos64_t __fpos_t __fsblkcnt64_t __fsblkcnt_t __fsfilcnt64_t __fsfilcnt_t __fsword_t __gid_t __gnuc_va_list __id_t __ino64_t __ino_t __int8_t __int16_t __int32_t __int64_t __int_least8_t __int_least16_t __int_least32_t __int_least64_t __intmax_t __intptr_t __key_t __loff_t __mode_t __nlink_t __off64_t __off_t __pid_t __quad_t __rlim64_t __rlim_t __sig_atomic_t __socklen_t __ssize_t __suseconds64_t __suseconds_t __syscall_slong_t __syscall_ulong_t __time_t __timer_t __u_char __u_int __u_long __u_quad_t __u_short __uid_t __uint8_t __uint16_t __uint32_t __uint64_t __uint_least8_t __uint_least16_t __uint_least32_t __uint_least64_t __uintmax_t __useconds_t fpos_t int_fast8_t int_fast16_t int_fast32_t int_fast64_t int_least8_t int_least16_t int_least32_t int_least64_t intmax_t off_t opj_codec_t JPEG2000 codec V2. opj_codestream_index_t Index structure of the codestream (FIXME should be expand and enhance) opj_codestream_info_t Index structure of the codestream opj_codestream_info_v2_t Information structure about the codestream (FIXME should be expand and enhance) opj_cparameters_t Compression parameters opj_dparameters_t Decompression parameters opj_image_cmptparm_t Component parameters structure used by the opj_image_create function opj_image_comp_t Defines a single image component opj_image_t Defines image data and characteristics opj_jp2_index_t Index structure of the JP2 file
EXPERIMENTAL FOR THE MOMENT opj_jp2_metadata_t Info structure of the JP2 file
EXPERIMENTAL FOR THE MOMENT opj_marker_info_t Marker structure opj_msg_callback Callback function prototype for events
@param msg Event message
@param client_data Client object where will be return the event message opj_packet_info_t Index structure : Information concerning a packet inside tile opj_poc_t Progression order changes opj_stream_free_user_data_fn opj_stream_read_fn opj_stream_seek_fn opj_stream_skip_fn opj_stream_t opj_stream_write_fn opj_tccp_info_t Tile-component coding parameters information opj_tile_index_t Index structure about a tile opj_tile_info_t Index structure : information regarding tiles opj_tile_info_v2_t Tile coding parameters information opj_tp_index_t Index structure about a tile part opj_tp_info_t Index structure : Information concerning tile-parts uint_fast8_t uint_fast16_t uint_fast32_t uint_fast64_t uint_least8_t uint_least16_t uint_least32_t uint_least64_t uintmax_t va_list __mbstate_t__bindgen_ty_1