include/qpl/cpp_api/operations/operation_builder.hpp
/**
 * @brief Checks if given input width is supported by the library
 *
 * @param  value  width of the element in bits
 *
 * @return either @code true @endcode or throws @ref invalid_argument_exception
 */
@brief Checks if given input width is supported by the library
@param  value  width of the element in bits

@return either @code true @endcode or throws @ref invalid_argument_exception
@brief Checks if given input width is supported by the library @param value width of the element in bits @return either @code true @endcode or throws @ref invalid_argument_exception
static inline auto check_qpl_input_format(uint32_t value) -> bool {
    if (value < 1 || value > 32) {
        throw invalid_argument_exception("Intel QPL doesn't support such input format");
    }
    return true;
}
static inline auto check_qpl_input_format ( uint32_t value ) -> bool { if ( value < 1 || value > 32 ) { throw invalid_argument_exception ( " " ) ; } return true ; }
@brief Checks if given input width is supported by the library
 @param  value  width of the element in bits
@brief Checks if given input width is supported by the library @param value width of the element in bits