Fix SkVideoDecoder build

Missing headers after
https://skia-review.googlesource.com/c/skia/+/518277.

Change-Id: I28c2a925846348f769f2774061eef756e268f680
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/519316
Commit-Queue: Florin Malita <fmalita@chromium.org>
Auto-Submit: Florin Malita <fmalita@chromium.org>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
This commit is contained in:
Florin Malita 2022-03-10 08:44:45 -05:00 committed by SkCQ
parent 5eb9e9e88c
commit 3e8d2d286b
2 changed files with 4 additions and 0 deletions

View File

@ -6,8 +6,10 @@
*/ */
#include "experimental/ffmpeg/SkVideoDecoder.h" #include "experimental/ffmpeg/SkVideoDecoder.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkColorSpace.h" #include "include/core/SkColorSpace.h"
#include "include/core/SkImage.h" #include "include/core/SkImage.h"
#include "include/core/SkStream.h"
#include "include/core/SkYUVAPixmaps.h" #include "include/core/SkYUVAPixmaps.h"
static SkYUVColorSpace get_yuvspace(AVColorSpace space) { static SkYUVColorSpace get_yuvspace(AVColorSpace space) {

View File

@ -18,6 +18,8 @@ extern "C" {
#include "libswscale/swscale.h" #include "libswscale/swscale.h"
} }
class SkStream;
class SkVideoDecoder { class SkVideoDecoder {
public: public:
SkVideoDecoder(GrRecordingContext* = nullptr); SkVideoDecoder(GrRecordingContext* = nullptr);