Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#381 | Link |
Registered User
Join Date: Jul 2015
Posts: 789
|
Problem with TIFF_DISABLE_DEPRECATED
Code:
tiffdec.cc: In member function 'WP2Status {anonymous}::TIFFData::Alloc(tsize_t, WP2::LogLevel)': tiffdec.cc:127:20: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 127 | bytes = (uint32*)_TIFFmalloc((tsize_t)size); | ^ In file included from ../libtiff/tiffio.h:32, from tiffdec.cc:30: ../libtiff/tiff.h:84:38: note: declared here 84 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^~~~~~ Last edited by Jamaika; 28th January 2021 at 09:38. |
![]() |
![]() |
![]() |
#382 | Link | |
Registered User
Join Date: Jun 2003
Posts: 126
|
Quote:
|
|
![]() |
![]() |
![]() |
#383 | Link |
Registered User
Join Date: Jul 2015
Posts: 789
|
Code:
]tiffdec.cc: In member function 'virtual WP2Status WP2::ImageReaderTIFF::ReadFrame(bool*, uint32_t*)': tiffdec.cc:165:39: error: cannot convert '{anonymous}::MyData*' to 'thandle_t' {aka 'thandle_t__*'} 165 | TIFFClientOpen("Memory", "r", &my_data, MyRead, MyRead, MySeek, MyClose, | ^~~~~~~~ | | | {anonymous}::MyData* In file included from tiffdec.cc:30: ../libtiff/tiffio.h:452:13: note: initializing argument 3 of 'TIFF* TIFFClientOpen(const char*, const char*, thandle_t, TIFFReadWriteProc, TIFFReadWriteProc, TIFFSeekProc, TIFFCloseProc, TIFFSizeProc, TIFFMapFileProc, TIFFUnmapFileProc)' 452 | thandle_t, | ^~~~~~~~~ libtiff-2dc86648 |
![]() |
![]() |
![]() |
#385 | Link | |
Registered User
Join Date: Jun 2003
Posts: 126
|
Quote:
|
|
![]() |
![]() |
![]() |
#386 | Link | |
Registered User
Join Date: Jul 2015
Posts: 789
|
Quote:
Hi skal How do I set up the proper decode and add definitions from libgav1? Can libgav1 be added together with libaom? Code:
#ifdef WP2_HAVE_AOM #include "aom/aom_decoder.h" // CONFIG_AV1_DECODER #include "aom/aom_encoder.h" // CONFIG_AV1_ENCODER #include "aom/aomcx.h" // CONFIG_AV1_ENCODER #include "aom/aomdx.h" // CONFIG_AV1_DECODER #if defined(WP2_HAVE_AOM_DBG) #include "aom/aomstats.h" // to benefit from these, one should build libaom using the config: // cmake ../ -DCONFIG_ACCOUNTING=1 -DCONFIG_INSPECTION=1 #include "av1/common/common_data.h" #include "av1/decoder/accounting.h" #include "av1/decoder/inspection.h" #endif // defined(WP2_HAVE_AOM_DBG) // libgav1 can be used as decoder instead of libaom #if defined(WP2_HAVE_LIBGAV1) #include "gav1/gav1/decoder.h" #include "gav1/gav1/status_code.h" #endif // defined(WP2_HAVE_LIBGAV1) #include "stopwatch.h" #if !defined(WP2_HAVE_WEBP) #error "WEBP support is required by WP2_HAVE_AOM" #else #include "libwebp/webp/decode.h" #include "libwebp/webp/encode.h" #endif // !defined(WP2_HAVE_WEBP) #endif // WP2_HAVE_AOM Code:
#ifndef AOM_CONFIG_H_ #define AOM_CONFIG_H_ #define ARCH_ARM 0 #define ARCH_MIPS 0 #define ARCH_PPC 0 #define ARCH_X86 0 #define ARCH_X86_64 1 #define CONFIG_ACCOUNTING 1 #define CONFIG_ANALYZER 0 #define CONFIG_AV1_DECODER 0 #define CONFIG_AV1_ENCODER 1 #define CONFIG_AV1_HIGHBITDEPTH 1 #define CONFIG_AV1_TEMPORAL_DENOISING 0 // cmake encoder av1_temporal_denoiser.c #define CONFIG_BIG_ENDIAN 0 #define CONFIG_BITSTREAM_DEBUG 0 #define CONFIG_COEFFICIENT_RANGE_CHECKING 0 // error info printf #define CONFIG_COLLECT_COMPONENT_TIMING 0 #define CONFIG_COLLECT_PARTITION_STATS 0 #define CONFIG_COLLECT_RD_STATS 0 #define CONFIG_DEBUG 0 // info printf #define CONFIG_DENOISE 0 // cmake encoder #define CONFIG_DISABLE_FULL_PIXEL_SPLIT_8X8 0 // cmake #define CONFIG_DIST_8X8 0 #define CONFIG_ENTROPY_STATS 0 #define CONFIG_GCC 0 #define CONFIG_GCOV 0 #define CONFIG_GPROF 0 #define CONFIG_INSPECTION 1 #define CONFIG_INTERNAL_STATS 0 #define CONFIG_INTER_STATS_ONLY 0 #define CONFIG_LIBYUV 0 #define CONFIG_LPF_MASK 0 // cmake common loopfiltermask.c, error with libwebp2 #define CONFIG_MAX_DECODE_PROFILE 2 #define CONFIG_MISMATCH_DEBUG 0 #define CONFIG_MULTITHREAD 1 #define CONFIG_NN_V2 0 #define CONFIG_NORMAL_TILE_MODE 0 // cmake decoder obu.c #define CONFIG_OPTICAL_FLOW_API 0 #define CONFIG_OS_SUPPORT 0 #define CONFIG_PIC 0 #define CONFIG_RD_DEBUG 0 #define CONFIG_REALTIME_ONLY 0 #define CONFIG_RT_ML_PARTITIONING 0 #define CONFIG_RUNTIME_CPU_DETECT 0 #define CONFIG_SHARED 0 #define CONFIG_SHARP_SETTINGS 0 #define CONFIG_SIZE_LIMIT 1 #define CONFIG_SPATIAL_RESAMPLING 0 // cmake #define CONFIG_SPEED_STATS 0 #define CONFIG_TUNE_VMAF 0 #define CONFIG_USE_VMAF_RC 0 #define CONFIG_WEBM_IO 0 #define DECODE_HEIGHT_LIMIT 16384 #define DECODE_WIDTH_LIMIT 16384 #define FORCE_HIGHBITDEPTH_DECODING 0 #define HAVE_AVX 0 #define HAVE_AVX2 0 #define HAVE_DSPR2 0 #define HAVE_FEXCEPT 0 #define HAVE_MIPS32 0 #define HAVE_MIPS64 0 #define HAVE_MMX 0 #define HAVE_MSA 0 #define HAVE_NEON 0 #define HAVE_PTHREAD_H 0 #define HAVE_SSE 0 #define HAVE_SSE2 0 #define HAVE_SSE3 0 #define HAVE_SSE4_1 0 #define HAVE_SSE4_2 0 #define HAVE_SSSE3 0 #define HAVE_UNISTD_H 0 #define HAVE_VSX 0 #define HAVE_WXWIDGETS 0 #define INLINE inline __attribute__((always_inline)) #endif // AOM_CONFIG_H_ -DAVIF_CODEC_AOM -DNAVIF_CODEC_AOM_DECODE -DAVIF_CODEC_AOM_ENCODE -DAVIF_CODEC_LIBGAV1 -DLIBGAV1_THREADPOOL_USE_STD_MUTEX=1 -DLIBGAV1_MAX_BITDEPTH=10 https://chromium.googlesource.com/co...c5d55693394ae3 https://aomedia.googlesource.com/aom...ca487c9366281f https://www.sendspace.com/file/9j76wv New Nokia Heif codec https://github.com/nokiatech/heif/co...1a5db116b863ab https://github.com/jamestut/heif-dec...61ba45b3e6610c https://github.com/kane601/heic2jpg/...1f12d11f9cde7c https://github.com/yohhoy/heic2hevc/...2afc193b5c4408 https://github.com/crb912/heic2jpeg/...24123892394f2c Nokia Heif codecs, just like Cineform, are just plug-ins with which an amateur can't do much. Speaking of cineform, it is included in ffmpeg, but nokia heif has no decoders for Windows. We can compile, but it won't work. Last edited by Jamaika; 8th February 2021 at 07:41. |
|
![]() |
![]() |
![]() |
#388 | Link | |
Registered User
Join Date: Jun 2003
Posts: 126
|
Quote:
The rest of the library doesn't need them, so there's no real need to try to make them compile (esp. since you need a specially compiled libaom with the slow diagnostic tools activated...). Thanks for building the binaries, btw! |
|
![]() |
![]() |
![]() |
#389 | Link | |
Registered User
Join Date: Jun 2003
Posts: 126
|
Quote:
This has been clarified at e6a5b3ac22, where these options have been explicitly renamed '-y4m_depth', etc. There's only a warning now if they are misused... |
|
![]() |
![]() |
![]() |
#390 | Link |
Registered User
Join Date: Jul 2015
Posts: 789
|
Thanks for update
I thought these were the downscaling options for PNG. Y4M files don't need size or color space information. I think it should be YUV (rawvideo). libheif can convert 48bit PNG to 10/12bit SDR Problem with quality cwp2.exe image_21447_24bit.png -summary -q 100 -nometadata -mt -effort 5 -uv_mode 2 -csp 0 -o image_21448_24bit.wp2 Why is viewer info showing quality 75? Decoding dav1d 16bit not recommended (SDR) 16bit PNG -> 12bit HEIF -> 8bit input DAV1D -> 16bit PNG heifenc.exe image_21447_48bit.png -v -L -q 100 -b 12 --no-alpha -p preset=placebo --matrix_coefficients=0 -p chroma=444 --full_range_flag=1 -o image_21447_36bit.heic heifdec_16bit.exe image_21447_36bit.avif image_21447_48bita.png Last edited by Jamaika; 10th February 2021 at 10:23. |
![]() |
![]() |
![]() |
#391 | Link |
Registered User
Join Date: Jul 2015
Posts: 789
|
Test GIMP 2.99.4 decoding
Problem with decoding heif/avif av1enc.exe -avif -q 100 -444 -size 1563x1558 -effort 5 -thread 4 image_21447_24bit.png -d image_21447_24bitw.avif color range limited 24bit av1enc.exe -avif -q 100 -alpha_q 100 -444 -size 1563x1558 -effort 5 -thread 4 image_21447_32bit.png -d image_21447_32bitw.avif color range limited 24bit av1enc.exe -avif -q 100 -444 -size 1563x1558 -effort 5 -thread 4 image_21447_48bit.png -d image_21447_36bitw.avif color range limited 24bit Last edited by Jamaika; 11th February 2021 at 22:13. |
![]() |
![]() |
![]() |
#392 | Link | |
Registered User
Join Date: Jun 2003
Posts: 126
|
Quote:
You can use the '-d' option to just display a wp2 input, without the recompression tools. (vwp2 -d image_21448_24bit.wp2) I've made the message clearer in vwp2 at 416b4898c1 |
|
![]() |
![]() |
![]() |
#393 | Link |
Registered User
Join Date: Jul 2015
Posts: 789
|
Some codec bugs fixed.
![]() I did not find the players jpegxl, webp2, avif, heif, htjpeg2000 codecs correctly playing. I think now we should see what these projects will be next year. https://www.sendspace.com/file/4hqsxi |
![]() |
![]() |
![]() |
#394 | Link |
Registered User
Join Date: Jul 2015
Posts: 789
|
WIC viewer programs that cann't be compiled into gcc.
https://github.com/webmproject/webp-wic-codec https://github.com/team-charls/jpegls-wic-codec https://github.com/mirillis151/jpegxl-wic |
![]() |
![]() |
![]() |
#395 | Link |
Registered User
Join Date: Jul 2015
Posts: 789
|
Open source for amateurs 19022021
https://www.sendspace.com/file/glk2vm New codecs 20022021 https://www.sendspace.com/filegroup/...nDcMFIgKB%2BJm Last edited by Jamaika; 20th February 2021 at 11:58. |
![]() |
![]() |
![]() |
#396 | Link |
Registered User
Join Date: Jul 2015
Posts: 789
|
New codec Jpeg XL 0.3.2-5175d117
https://www.sendspace.com/file/tw58ui Only with Jamaika. Library libheif/avif with new aom 2.0.2-8de6aba + tune butteraugli for jpeg + integrated jpegxl. heifenc.exe image_21447_420.jpg -v -A -L -q 100 --no-alpha -p chroma=420 -p tune=butteraugli -p speed=5 --full_range_flag=0 -o image_21447_24bit.avif https://www.sendspace.com/file/vkvwzp Last edited by Jamaika; 26th February 2021 at 09:49. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|