1 // Copyright 2021 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include <v4l2_codec2/components/VideoEncoder.h>
6
7 namespace android {
8
InputFrame(std::vector<int> && fds,const std::vector<VideoFramePlane> & planes,VideoPixelFormat pixelFormat,uint64_t index,int64_t timestamp)9 VideoEncoder::InputFrame::InputFrame(std::vector<int>&& fds,
10 const std::vector<VideoFramePlane>& planes,
11 VideoPixelFormat pixelFormat, uint64_t index,
12 int64_t timestamp)
13 : mFds(std::move(fds)),
14 mPlanes(planes),
15 mPixelFormat(pixelFormat),
16 mIndex(index),
17 mTimestamp(timestamp) {}
18
19 } // namespace android
20