include/qpl/cpp_api/util/qpl_util.hpp
/**
 * @brief Returns enum representation of output format
 */
@brief Returns enum representation of output format
@brief Returns enum representation of output format
static inline auto integer_to_qpl_output_format(uint32_t value) -> qpl_out_format {
    switch (value) {
        case 1: {
            return qpl_ow_nom;
        }
        case 8: {
            return qpl_ow_8;
        }
        case 16: {
            return qpl_ow_16;
        }
        case 32: {
            return qpl_ow_32;
        }
        default: {
            return qpl_ow_nom;
        }
    }
}
static inline auto integer_to_qpl_output_format ( uint32_t value ) -> qpl_out_format { switch ( value ) { case 1 : { return qpl_ow_nom ; } case 8 : { return qpl_ow_8 ; } case 16 : { return qpl_ow_16 ; } case 32 : { return qpl_ow_32 ; } default : { return qpl_ow_nom ; } } }
@brief Returns enum representation of output format
@brief Returns enum representation of output format