// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_GPU_VAAPI_VAAPI_JPEG_ENCODER_H_ #define MEDIA_GPU_VAAPI_VAAPI_JPEG_ENCODER_H_ #include <va/va.h> #include <memory> #include "base/memory/scoped_refptr.h" #include "media/gpu/media_gpu_export.h" #include "ui/gfx/geometry/size.h" namespace media { class VaapiWrapper; // A collection of methods that utilize VA-API hardware video encode // acceleration on Intel systems. Provides functionality to allow plugging VAAPI // HW acceleration into the JpegEncodeAccelerator framework. // // Clients are expected to manage VA surfaces and VA buffers created via // VaapiWrapper, and pass them to this class. class MEDIA_GPU_EXPORT VaapiJpegEncoder { … }; } // namespace media #endif // MEDIA_GPU_VAAPI_VAAPI_JPEG_ENCODER_H_