mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
074f771b59
The class is virtual and has one subclass, SubsampledYUVFrame, which is used by the VP9 decoder to return a single frame. The output_to_bitmap(Bitmap&) function can be used to set pixels on an existing bitmap of the correct size to the RGB values that should be displayed. The to_bitmap() function will allocate a new bitmap and fill it using output_to_bitmap. This new class also implements bilinear scaling of the subsampled U and V planes so that subsampled videos' colors will appear smoother. |
||
---|---|---|
.. | ||
Color | ||
VP9 | ||
CMakeLists.txt | ||
DecoderError.h | ||
MatroskaDocument.h | ||
MatroskaReader.cpp | ||
MatroskaReader.h | ||
VideoFrame.cpp | ||
VideoFrame.h |