platform/libva-fake-driver: Cleanup for Chromium Updates include headers in the libva-fake-driver project to allow for successful compilation in the Chromium repo. BUG=b:376063687 TEST=Ran v_d_a test using fake driver on Corsola on test-25fps.h264 Change-Id: I47422495ab174261fe91af9201df6819474ddab0 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/libva-fake-driver/+/6102116 Reviewed-by: Andres Calderon Jaramillo <andrescj@chromium.org> Auto-Submit: Bijan Choobineh <bchoobineh@chromium.org> Tested-by: Bijan Choobineh <bchoobineh@chromium.org> Commit-Queue: Bijan Choobineh <bchoobineh@chromium.org> Reviewed-by: Andres Calderon Jaramillo <andrescj@google.com>
diff --git a/base/byte_conversions.h b/base/byte_conversions.h index b94bf8a..6ce7105 100644 --- a/base/byte_conversions.h +++ b/base/byte_conversions.h
@@ -6,6 +6,8 @@ #ifndef BASE_BYTE_CONVERSIONS_H_ #define BASE_BYTE_CONVERSIONS_H_ +#include <bit> + namespace libvafake::base { // The correct type to perform math operations on given values of type `T`. This
diff --git a/h264_decoder_delegate.h b/h264_decoder_delegate.h index 24fb8e2..72f9819 100644 --- a/h264_decoder_delegate.h +++ b/h264_decoder_delegate.h
@@ -10,7 +10,7 @@ #include "base/lru_cache.h" #include "context_delegate.h" -#include "openh264/wels/codec_api.h" +#include "wels/codec_api.h" namespace libvafake {
diff --git a/scoped_bo_mapping_factory.h b/scoped_bo_mapping_factory.h index f2c8669..63a28e0 100644 --- a/scoped_bo_mapping_factory.h +++ b/scoped_bo_mapping_factory.h
@@ -10,6 +10,7 @@ #include <memory> #include <mutex> +#include <vector> #include "base/logging.h" #include "base/scoped_fd.h"