The float type is defined in standards and is portably available on all supported compilers and platforms.
Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 7 files). Show all
Unified · Split
| @@ -3126,7 +3126,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, void* pDst, const SSourcePictur · 3125 unmodified lines | ||
| 3126 | 3126 | int8_t iCurTid = 0; |
| 3127 | 3127 | bool_t bAvcBased = false; |
| 3128 | 3128 | #if defined(ENABLE_PSNR_CALC) |
| 3129 | − real32_t snr_y = .0f, snr_u = .0f, snr_v = .0f; | |
| 3129 | + float snr_y = .0f, snr_u = .0f, snr_v = .0f; | |
| 3130 | 3130 | #endif//ENABLE_PSNR_CALC |
| 3131 | 3131 | |
| 3132 | 3132 | #if defined(_DEBUG) |