diff options
author | David Staessens <dstaessens@google.com> | 2021-03-19 15:45:12 +0900 |
---|---|---|
committer | Chih-Yu Huang <akahuang@google.com> | 2021-05-12 11:37:10 +0900 |
commit | e0f265c120ac90c5f6845e30022df7c28eb95025 (patch) | |
tree | bdab47900bdc491229bf6b50918af11c9fef1db6 /accel/video_decode_accelerator.h | |
parent | 2a741c3132bc7e2be2fb924a27b42f77edd0f762 (diff) | |
download | v4l2_codec2-e0f265c120ac90c5f6845e30022df7c28eb95025.tar.gz |
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
Diffstat (limited to 'accel/video_decode_accelerator.h')
-rw-r--r-- | accel/video_decode_accelerator.h | 39 |
1 files changed, 0 insertions, 39 deletions
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 <vector> - -#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<SupportedProfile>; -}; - -} // namespace media - -#endif // VIDEO_DECODE_ACCELERATOR_H_ |