• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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,std::vector<VideoFramePlane> && planes,VideoPixelFormat pixelFormat,uint64_t index,int64_t timestamp)9 VideoEncoder::InputFrame::InputFrame(std::vector<int>&& fds, std::vector<VideoFramePlane>&& planes,
10                                      VideoPixelFormat pixelFormat, uint64_t index,
11                                      int64_t timestamp)
12       : mFds(std::move(fds)),
13         mPlanes(std::move(planes)),
14         mPixelFormat(pixelFormat),
15         mIndex(index),
16         mTimestamp(timestamp) {}
17 
18 }  // namespace android
19