Got rid of deprecated convertFp16 in imgcodecs module.

pull/25535/head
Alexander Smorkalov 7 months ago
parent 6bf758ecc4
commit 9fe5615f2f
  1. 2
      modules/imgcodecs/src/grfmt_exr.cpp

@ -729,7 +729,7 @@ bool ExrEncoder::write( const Mat& img, const std::vector<int>& params )
Mat exrMat;
if( type == HALF )
{
convertFp16(img, exrMat);
img.convertTo(exrMat, CV_16F);
buffer = (char *)const_cast<uchar *>( exrMat.ptr() );
bufferstep = exrMat.step;
size = 2;

Loading…
Cancel
Save