//printf("FilePNG::read_frame 1 %d %d\n", native_cmodel, output->get_color_model());
png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, 0, 0, 0);
+ if(!png_ptr) return 0;
info_ptr = png_create_info_struct(png_ptr);
png_set_read_fn(png_ptr, input, (png_rw_ptr)read_function);
png_read_info(png_ptr, info_ptr);
case 24:
source_cmodel = BC_RGB888;
break;
+ default:
+ return;
}
// Read image
tiff_mmap,
tiff_unmap);
+ if(!stream)
+ return 0;
+
// This loads the original TIFF data into each scanline of the output frame,
// assuming the output scanlines are bigger than the input scanlines.
// Then it expands the input data in reverse to fill the row.
openexr.mak_vars?=true; \#
opus.cfg_params?= --disable-extra-programs
speech_tools.mak_params?=-j1
+tiff.ldflags?="$(call ld_path,libjpeg,build)"
+tiff.cflags?="$(call lnc_path,libjpeg)"
tiff.cfg_vars+=LIBS+=" -lpthread"; autoreconf -ifv -I m4 && automake -caf;
tiff.cfg_params+= --disable-libdeflate --disable-lerc --enable-shared=no --disable-zstd $(call if_pkg,libwebp,\
--with-webp-include-dir=$(call pkg_incl,libwebp)\