OSDN Git Service

Add YV12 color converter interface for VideoEditor.
authorChih-Chung Chang <chihchung@google.com>
Fri, 22 Jul 2011 01:01:36 +0000 (09:01 +0800)
committerChih-Chung Chang <chihchung@google.com>
Wed, 27 Jul 2011 01:36:51 +0000 (09:36 +0800)
commit7efb8efc88ba529c1c57366a305855c2051ebb8b
tree4d13cead0028ee272f3c8267edbdd12b81ec1b23
parentabb85fd9090817686bbdaa5a5b29547728a8d385
Add YV12 color converter interface for VideoEditor.

The original assumption in VideoEditor is that the decoder output
and encoder input are in YV12 format. However on different
hardware platform the actual formats may be different. So now we
load a platform-specific YV12 color conversion module which
knows the actual format and can convert to/from YV12, which is
the format used in VideoEditor internally for processing.

Bug: 5061733
Change-Id: I852f85efd30c05cf6c42810059ee4d2ef37ee3da
14 files changed:
libvideoeditor/include/IYV12ColorConverter.h [new file with mode: 0644]
libvideoeditor/lvpp/Android.mk
libvideoeditor/lvpp/PreviewPlayer.cpp
libvideoeditor/lvpp/PreviewPlayer.h
libvideoeditor/lvpp/PreviewPlayerBase.cpp
libvideoeditor/lvpp/PreviewPlayerBase.h
libvideoeditor/lvpp/VideoEditorPlayer.cpp
libvideoeditor/lvpp/VideoEditorPlayer.h
libvideoeditor/lvpp/YV12ColorConverter.cpp [new file with mode: 0755]
libvideoeditor/lvpp/YV12ColorConverter.h [new file with mode: 0755]
libvideoeditor/vss/stagefrightshells/inc/VideoEditorVideoDecoder_internal.h
libvideoeditor/vss/stagefrightshells/src/Android.mk
libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoEncoder.cpp