summaryrefslogtreecommitdiff
path: root/Meta/Lagom/Fuzzers/FuzzVP9Decoder.cpp
AgeCommit message (Collapse)Author
2022-12-10Meta: Return 0 from the fuzzing function in most casesTim Schumacher
LibFuzzer documentation [1] states that all return values except for 0 and -1 are currently reserved for future use. -1 is a special return value that causes LibFuzzer to not add a testing input to the testing corpus, regardless of the code coverage that it causes. [1] https://llvm.org/docs/LibFuzzer.html
2022-10-31LibVideo: Add VideoFrame class for decoded video framesZaggy1024
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.
2022-10-13Fuzzers: Add VP9Decoder and MatroskaReader fuzzers for LibVideoAndrew Kaster