From e0f265c120ac90c5f6845e30022df7c28eb95025 Mon Sep 17 00:00:00 2001 From: David Staessens Date: Fri, 19 Mar 2021 15:45:12 +0900 Subject: v4l2_codec2: Remove video_encode/decode_accelerator files. This CL cleans up the video_encode_accelerator.h/cc and video_decode_accelerator.h/cc files. These files were copied from Chrome to help with the development of the V4L2 encoder and decoder, but most off their functionality has already been removed in a previous CL. The remaining functionality is integrated into the V4L2Device so these files can be removed now. Bug: 155138142 Test: arc.VideoEncodeAccel.h264_192p_i420_vm Change-Id: I4591e3d03f5ebc6d568cc718ccde5df05af37b36 --- accel/video_decode_accelerator.h | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 accel/video_decode_accelerator.h (limited to 'accel/video_decode_accelerator.h') diff --git a/accel/video_decode_accelerator.h b/accel/video_decode_accelerator.h deleted file mode 100644 index 6a6020f..0000000 --- a/accel/video_decode_accelerator.h +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// Note: ported from Chromium commit head: 85fdf90 - -#ifndef VIDEO_DECODE_ACCELERATOR_H_ -#define VIDEO_DECODE_ACCELERATOR_H_ - -#include - -#include "base/memory/ref_counted.h" -#include "base/memory/weak_ptr.h" - -#include "size.h" -#include "video_codecs.h" - -namespace media { - -// Video decoder interface. -// This interface is extended by the various components that ultimately -// implement the backend of PPB_VideoDecoder_Dev. -class VideoDecodeAccelerator { - public: - // Specification of a decoding profile supported by an decoder. - // |max_resolution| and |min_resolution| are inclusive. - struct SupportedProfile { - SupportedProfile(); - ~SupportedProfile(); - VideoCodecProfile profile; - Size max_resolution; - Size min_resolution; - bool encrypted_only; - }; - using SupportedProfiles = std::vector; -}; - -} // namespace media - -#endif // VIDEO_DECODE_ACCELERATOR_H_ -- cgit v1.2.3