|
OpenJPH
Open-source implementation of JPEG2000 Part-15
|
#include <ojph_params.h>
Public Member Functions | |
| param_cod (local::param_cod *p) | |
| void | set_num_decomposition (ui32 num_decompositions) |
| void | set_block_dims (ui32 width, ui32 height) |
| void | set_precinct_size (int num_levels, size *precinct_size) |
| void | set_progression_order (const char *name) |
| void | set_color_transform (bool color_transform) |
| void | set_reversible (bool reversible) |
| ui32 | get_num_decompositions () const |
| size | get_block_dims () const |
| size | get_log_block_dims () const |
| bool | is_reversible () const |
| size | get_precinct_size (ui32 level_num) const |
| size | get_log_precinct_size (ui32 level_num) const |
| int | get_progression_order () const |
| const char * | get_progression_order_as_string () const |
| int | get_num_layers () const |
| bool | is_using_color_transform () const |
| bool | packets_may_use_sop () const |
| bool | packets_use_eph () const |
| bool | get_block_vertical_causality () const |
| void | set_num_decomposition (ui32 comp_idx, ui32 num_decompositions) |
| void | set_block_dims (ui32 comp_idx, ui32 width, ui32 height) |
| void | set_precinct_size (ui32 comp_idx, int num_levels, size *precinct_size) |
| void | set_reversible (ui32 comp_idx, bool reversible) |
| ui32 | get_num_decompositions (ui32 comp_idx) const |
| size | get_block_dims (ui32 comp_idx) const |
| size | get_log_block_dims (ui32 comp_idx) const |
| bool | is_reversible (ui32 comp_idx) const |
| size | get_precinct_size (ui32 comp_idx, ui32 level_num) const |
| size | get_log_precinct_size (ui32 comp_idx, ui32 level_num) const |
| bool | get_block_vertical_causality (ui32 comp_idx) const |
Private Attributes | |
| local::param_cod * | state |
Definition at line 119 of file ojph_params.h.
|
inline |
Definition at line 122 of file ojph_params.h.
References state.
| size ojph::param_cod::get_block_dims | ( | ) | const |
Definition at line 290 of file ojph_params.cpp.
References state.
Definition at line 378 of file ojph_params.cpp.
References state.
| bool ojph::param_cod::get_block_vertical_causality | ( | ) | const |
Definition at line 368 of file ojph_params.cpp.
References state.
| bool ojph::param_cod::get_block_vertical_causality | ( | ui32 | comp_idx | ) | const |
Definition at line 398 of file ojph_params.cpp.
References state.
| size ojph::param_cod::get_log_block_dims | ( | ) | const |
Definition at line 296 of file ojph_params.cpp.
References state.
Referenced by ojph::local::codestream::check_broadcast_validity(), and ojph::local::codestream::check_imf_validity().
Definition at line 382 of file ojph_params.cpp.
References state.
Definition at line 394 of file ojph_params.cpp.
References state.
Definition at line 314 of file ojph_params.cpp.
References state.
Referenced by ojph::local::codestream::check_broadcast_validity(), and ojph::local::codestream::check_imf_validity().
| ui32 ojph::param_cod::get_num_decompositions | ( | ) | const |
Definition at line 284 of file ojph_params.cpp.
References state.
Referenced by ojph::local::codestream::check_broadcast_validity(), ojph::local::codestream::check_imf_validity(), and LLVMFuzzerTestOneInput().
Definition at line 374 of file ojph_params.cpp.
References state.
| int ojph::param_cod::get_num_layers | ( | ) | const |
Definition at line 344 of file ojph_params.cpp.
References state.
Referenced by ojph::local::codestream::read_headers().
Definition at line 390 of file ojph_params.cpp.
References state.
Definition at line 308 of file ojph_params.cpp.
References state.
Referenced by LLVMFuzzerTestOneInput().
| int ojph::param_cod::get_progression_order | ( | ) | const |
Definition at line 320 of file ojph_params.cpp.
References state.
Referenced by ojph::local::codestream::check_broadcast_validity(), ojph::local::codestream::check_imf_validity(), ojph::local::tile::finalize_alloc(), and ojph::local::codestream::write_headers().
| const char * ojph::param_cod::get_progression_order_as_string | ( | ) | const |
Definition at line 326 of file ojph_params.cpp.
References ojph::OJPH_PO_CPRL, ojph::OJPH_PO_LRCP, ojph::OJPH_PO_PCRL, ojph::OJPH_PO_RLCP, ojph::OJPH_PO_RPCL, ojph::OJPH_PO_STRING_CPRL, ojph::OJPH_PO_STRING_LRCP, ojph::OJPH_PO_STRING_PCRL, ojph::OJPH_PO_STRING_RLCP, ojph::OJPH_PO_STRING_RPCL, and state.
| bool ojph::param_cod::is_reversible | ( | ) | const |
Definition at line 302 of file ojph_params.cpp.
References state.
Referenced by ojph::local::codestream::check_imf_validity(), and TEST().
| bool ojph::param_cod::is_reversible | ( | ui32 | comp_idx | ) | const |
Definition at line 386 of file ojph_params.cpp.
References state.
| bool ojph::param_cod::is_using_color_transform | ( | ) | const |
| bool ojph::param_cod::packets_may_use_sop | ( | ) | const |
Definition at line 356 of file ojph_params.cpp.
References state.
| bool ojph::param_cod::packets_use_eph | ( | ) | const |
Definition at line 362 of file ojph_params.cpp.
References state.
Definition at line 262 of file ojph_params.cpp.
References set_block_dims(), and state.
Definition at line 174 of file ojph_params.cpp.
References ojph::count_leading_zeros(), OJPH_ERROR, and state.
Referenced by main(), set_block_dims(), and TEST().
| void ojph::param_cod::set_color_transform | ( | bool | color_transform | ) |
Definition at line 243 of file ojph_params.cpp.
References state.
Referenced by LLVMFuzzerTestOneInput(), main(), and TEST().
Definition at line 255 of file ojph_params.cpp.
References set_num_decomposition(), and state.
| void ojph::param_cod::set_num_decomposition | ( | ui32 | num_decompositions | ) |
Definition at line 165 of file ojph_params.cpp.
References OJPH_ERROR, and state.
Referenced by LLVMFuzzerTestOneInput(), main(), set_num_decomposition(), and TEST().
| void ojph::param_cod::set_precinct_size | ( | int | num_levels, |
| size * | precinct_size ) |
Definition at line 188 of file ojph_params.cpp.
References ojph::count_leading_zeros(), ojph::size::h, OJPH_ERROR, state, and ojph::size::w.
Referenced by main(), and set_precinct_size().
Definition at line 269 of file ojph_params.cpp.
References set_precinct_size(), and state.
| void ojph::param_cod::set_progression_order | ( | const char * | name | ) |
Definition at line 216 of file ojph_params.cpp.
References OJPH_ERROR, ojph::OJPH_PO_CPRL, ojph::OJPH_PO_LRCP, ojph::OJPH_PO_PCRL, ojph::OJPH_PO_RLCP, ojph::OJPH_PO_RPCL, ojph::OJPH_PO_STRING_CPRL, ojph::OJPH_PO_STRING_LRCP, ojph::OJPH_PO_STRING_PCRL, ojph::OJPH_PO_STRING_RLCP, ojph::OJPH_PO_STRING_RPCL, and state.
Referenced by main().
| void ojph::param_cod::set_reversible | ( | bool | reversible | ) |
Definition at line 249 of file ojph_params.cpp.
References state.
Referenced by LLVMFuzzerTestOneInput(), main(), set_reversible(), and TEST().
| void ojph::param_cod::set_reversible | ( | ui32 | comp_idx, |
| bool | reversible ) |
Definition at line 277 of file ojph_params.cpp.
References set_reversible(), and state.
|
private |
Definition at line 161 of file ojph_params.h.
Referenced by get_block_dims(), get_block_dims(), get_block_vertical_causality(), get_block_vertical_causality(), get_log_block_dims(), get_log_block_dims(), get_log_precinct_size(), get_log_precinct_size(), get_num_decompositions(), get_num_decompositions(), get_num_layers(), get_precinct_size(), get_precinct_size(), get_progression_order(), get_progression_order_as_string(), is_reversible(), is_reversible(), is_using_color_transform(), packets_may_use_sop(), packets_use_eph(), param_cod(), set_block_dims(), set_block_dims(), set_color_transform(), set_num_decomposition(), set_num_decomposition(), set_precinct_size(), set_precinct_size(), set_progression_order(), set_reversible(), and set_reversible().