Opened 10 months ago
Last modified 10 months ago
#10882 new defect
swscale wastefully scales luma during yuv420p -> yuv422p
Reported by: | Kieran Kunhya | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | Kieran Kunhya | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description (last modified by )
Run any conversion from yuv420p to yuv422p.
Swscale appears to run hscale and vscale on the unscaled luma plane as follows:
dst[x] = (src[x] * (2^n)) >> n;
This uses a lot of CPU for no benefit.
Note:
See TracTickets
for help on using tickets.
Does not really matter, Kieran. Zscale should be used. Concern yourself with H.222 buffer managment instead of this.