History log of /external/v4l2_codec2/vda/shared_memory_region.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8854874f45ec5e8687abc0fe4bc28bdff7d71474 28-Jun-2017 Johny Lin <johnylin@google.com> Port v4l2_slice_video_decode_accelerator from Chromium

commit head: df32089dae6e21484be5afb43aedc33caab54f83

file: src/media/gpu/v4l2_slice_video_decode_accelerator.*
1) remove GL-related components
2) ImportBuffersForPicture: replace gfx::GpuMemoryBufferHandle by
std::vector<base::FileDescriptor>
3) Add IsSupportedOutputFmtFourcc() to replace device_->CanCreateEGLImageFrom()
4) declare PictureRecord in header file. Original code uses forward declaration
which causes following compile error:

external/libcxx/include/deque:912:49: error: invalid application of 'sizeof' to
an incomplete type 'value_type' (aka
'media::V4L2SliceVideoDecodeAccelerator::PictureRecord')
static const difference_type __block_size = sizeof(value_type) < 256 ? 4096
/ sizeof(value_type) : 16;

file: src/media/gpu/shared_memory_region.*

file: v4l2-controls.h
This header file is obtained from ChromeOS which is not upstreamed in Linux
mainline. This file should be removed once it is upstreamed.

Bug: 62360273
Test: mmm external/v4l2_codec2

Change-Id: I87ff15b858d7e86c662c527147d01580c02bb785
/external/v4l2_codec2/vda/shared_memory_region.cc