History log of /external/v4l2_codec2/vda/v4l2_slice_video_decode_accelerator.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a21d5d577bdc284457867409e2a9c3b4a665d152 06-Feb-2018 Johny Lin <johnylin@google.com> codec2: update latest VDA codes ported from Chromium

Also, make the note of ported commit head in each file respectively.
Commit head is obtained by "git log <file>".

Bug: 72980120
Test: run native test
Change-Id: I8634e79f4854404b61c070b8a21399eba0a2b243
/external/v4l2_codec2/vda/v4l2_slice_video_decode_accelerator.h
5719bf1f8b8c5477e59dc7839cfc86d1630b8eda 31-Jul-2017 Johny Lin <johnylin@google.com> Port native_pixmap_handle for VDA usage from Chromium

Ported from src/ui/gfx/native_pixmap_handle.*

Use NativePixmapHandle to assign dmabuf for ImportBuffersForPicture instead,
which has more complete information (fds, planes) of picture buffers. In fact
v4l2svda needs fds only, while v4l2vda needs stride information in planes.

Bug: 62360273
Test: mmm external/v4l2_codec2
Change-Id: I9d0ae7d75e95373dacabe00d750519aa5952c373
/external/v4l2_codec2/vda/v4l2_slice_video_decode_accelerator.h
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/v4l2_slice_video_decode_accelerator.h