| 369 | | === Hint about "[https://ffmpeg.org/ffmpeg-scaler.html#Scaler-Options full_chroma_inp]"[=#Hintaboutfull_chroma_inp] === #full_chroma_inp |
| 370 | | |
| | 369 | === "full_chroma_in*" related[[span(id=full_chroma_in*)]] === #full_chroma |
| | 370 | |
| | 371 | [ haasn @ CE 2024-08-16 09:43:37 UTC:\\ |
| | 372 | https://github.com/FFmpeg/FFmpeg/commit/3e064f52eb368a373ded6e3704fcf29f1db3ff12 |
| | 373 | |
| | 374 | [ "SWS_FULL_CHR_H_INT"\\ |
| | 375 | ͏ Perform full chroma upsampling when upscaling to RGB. |
| | 376 | |
| | 377 | ͏ For example, when converting 50x50 yuv420p to 100x100 rgba:\\ |
| | 378 | ͏ Setting this flag will scale the chroma plane from 25x25 to 100x100 (4:4:4):\\ |
| | 379 | ͏ And then convert the 100x100 yuv444p image to rgba in the final output step.\\ |
| | 380 | ͏ .\\ |
| | 381 | ͏ Without this flag, the chroma plane is instead scaled to 50x100 (4:2:2):\\ |
| | 382 | ͏ With a single chroma sample being re-used, for both of the horizontally adjacent RGBA output pixels. ] |
| | 383 | |
| | 384 | [ "SWS_FULL_CHR_H_INP"\\ |
| | 385 | ͏ Perform full chroma interpolation when downscaling RGB sources. |
| | 386 | |
| | 387 | ͏ For example, when converting a 100x100 rgba source to 50x50 yuv444p:\\ |
| | 388 | ͏ Setting this flag will generate a 100x100 (4:4:4) chroma plane, which is then downscaled to the required 50x50.\\ |
| | 389 | ͏ .\\ |
| | 390 | ͏ Without this flag, the chroma plane is instead generated at 50x100 (dropping every other pixel):\\ |
| | 391 | ͏ Before then being downscaled to the required 50x50 resolution. ] ] |
| | 392 | |
| | 393 | ͏---- |
| | 394 | |
| | 395 | [ MasterQuestionable:\\ |
| | 396 | ͏ The description is much misleading... if not outright misinformation?\\ |
| | 397 | ͏ |1| Both may be RGB irrelevant: occurs during YUV unsubsampling.\\ |
| | 398 | ͏ |2| SWS_FULL_CHR_H_INT may involve down-scaling too.\\ |
| | 399 | ͏ |3| [\\ |
| | 400 | ͏ SWS_FULL_CHR_H_INP asserts full-chroma input; which then forces use of full-chroma interpolation: whether sensible or not.\\ |
| | 401 | ͏ Which is actually somewhat useless: as the default handling seems... sensible? ] |
| | 402 | |
| | 403 | ͏ Hint about [[span( id=full_chroma_inp, [https://ffmpeg.org/ffmpeg-scaler.html#Scaler-Options ͏"full_chroma_inp"] )]]:\\ |