blob: 2dbf2b4c46652664b9bd17c29afc5ba8ae392c44 [file] [log] [blame]
# Copyright 2017 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.
static_library("video_accelerator") {
sources = [
"gpu_arc_video_decode_accelerator.cc",
"gpu_arc_video_decode_accelerator.h",
"gpu_arc_video_encode_accelerator.cc",
"gpu_arc_video_encode_accelerator.h",
"gpu_arc_video_protected_buffer_allocator.cc",
"gpu_arc_video_protected_buffer_allocator.h",
"protected_buffer_manager.cc",
"protected_buffer_manager.h",
"protected_buffer_manager_proxy.cc",
"protected_buffer_manager_proxy.h",
]
deps = [
":common",
"//components/arc/mojom:media",
"//gpu/ipc/common:common",
"//media",
"//ui/ozone",
]
}
source_set("common") {
sources = [
"arc_video_accelerator_util.cc",
"arc_video_accelerator_util.h",
"decoder_buffer.cc",
"decoder_buffer.h",
"video_frame_plane.h",
]
deps = [
"//media",
"//media/gpu:common",
"//mojo/public/cpp/system:system",
"//ui/gfx:memory_buffer",
]
}