History log of /frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e41446b59f52d88eca57d4255ea7b07c528c3eee 16-Nov-2012 beanz <beanz@marvell.com> libvideoeditor: fix cannot show some thumbnails in storyboard or no frame display in PreviewRenderer surface after importing video

1. this is caused mFrameIntervalMs isn't assigned for use-software-codec case
2. without the assingment, some decoded frames will not be copied to the buffer queue of VideoEditorVideoDecoder

Change-Id: I578954e38958ebac8f258300e60b8ddf60e50521
Signed-off-by: beanz <beanz@marvell.com>
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
3e1e78ccd5936111f31a709592f11aa7c677c42d 05-Jun-2012 James Dong <jdong@google.com> Fix green or corrupted video frames in the exported movies

At least two use cases are affected: trimming and transition clip generation.

If the starting time of the transition or the trimming position is not the same as
that of any existing video frame, the video frame right before the transition
starting position or the trimming position must be encoded as the the first video
frame for the transtion or the trimmed video, and it is encoded as a key frame.
This frame was not saved without the patch.

In the transcoding phrase, since we could not find such a frame, the existing
code did not return an error, and incorrectly used some other frame to serve
as the reference key frame for the remaining video frames of the transition or
the trimmed video. As a result, we may see corrupted or green video frames in
the exported movies.

The fix is to always save the frame right before the trimming position or
the transition starting time, so that a key frame will always be encoded, and
the right reference frame is used for remaining video frames. In addition,
checks are added to prevent from future mistakes to use incorrect reference frames.

Patch was originally contributed by teng.hong@nxp.com

Change-Id: I182784d4c1786224445224634edab3338bf2278f
related-to-bug: 5713461
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
c4689fae1bdb8d1c94eb28af1b2a1f30d2b1a3da 08-Feb-2012 James Dong <jdong@google.com> Move away from MediaDebug and use ADebug instead

Change-Id: I307b3f565808ec8e3b9a4d944c6c0d1f603b04c9
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
f8bd29c66308c820d579b3efb0942a53a277e2c5 08-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: I5c54a0185527f6ca3e746d625a007aa06f6f25f9
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
ec9e663f697df4254dacc79f52cdb633179c92ab 04-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156801

Bug: 5449033
Change-Id: I261ad4d5348f4832488707edeb3cbdbb6dd12fca
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
51ecb2eb5ce2a2a6fcf05c1a372242686ce7c787 02-Dec-2011 Hong Teng <hongteng@google.com> am 38ca8aaf: Fix for issue 5490443 Native crash while exporting a video Handle the decoder error case, this modification is to fix the native crash.

* commit '38ca8aaf3ad045d8623bce0be9b351ae9004abb3':
Fix for issue 5490443 Native crash while exporting a video Handle the decoder error case, this modification is to fix the native crash.
00b82d39c6d1b4e0594857ef5113f46775c4a065 01-Dec-2011 Hong Teng <hongteng@google.com> Fix for issue 5490443 Native crash while exporting a video
Handle the decoder error case, this modification is to fix the native crash.

Change-Id: I3f2ef62b591ebfb9e01153b80b04eb330f575207
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
2703f23af496c13cfa39cc7e157fa12d1cb4c169 20-Oct-2011 Steve Block <steveblock@google.com> Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I366680b6e614b8983d1def28cc2fdbfa98f39531
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
93d4a21f1c73df290e26a21e7a628f28d50bd035 04-Oct-2011 James Dong <jdong@google.com> Video editor incorrectly rejects videos that could be supported by the HW decoder

Change-Id: I831b32c7ab02fa110865c88bbb02f339889d97a5
related-to-bug: 5407761
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
072be1ea494b0f4ca6d184e6c53d9ba01e539de2 26-Aug-2011 Chih-Chung Chang <chihchung@google.com> Fix 5200962: Handle 0-length buffers from OMXCodec and drop it.

Change-Id: I67c42c41f649f8e37055721efb67ab3ca4b02f0b
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
0a25bd5bacf5408ca205b15e53cfb6dc2fc1d171 13-Aug-2011 Rajneesh Chowdury <rajneeshc@google.com> Fix for 4142219 Don't hard code platform-specific limitations.

Also fixes 5118207 add other video codec support for video editor export.

For importing video clips, Video Editor engine will query StageFright codecs
for supported codecs, profiles and levels.
For Export, the profile and level are configured in media_profiles.xml

Change-Id: I85c8bb8b87cfcf0f1351ecb8c4f369a8902e7a09
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
b3626dda1df18de2398d6c91647c9d544dd5f6dc 09-Aug-2011 Chih-Chung Chang <chihchung@google.com> Speed up thumbnail generation.

We accept a tolerance parameter while decoding. We also tell the
stagefright decoder to jump so we can move to the new frame faster.

Change-Id: Iede3c1f909f1c42b2d5a53c782083367b00f62fb
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
2aa01fd002bba1dde45791c1138c1f71a8d0aa53 05-Aug-2011 Chih-Chung Chang <chihchung@google.com> Rename YV12 to I420.

Change-Id: I453b7044bf46950ef67091f3417ed3e6a65086a0
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
7efb8efc88ba529c1c57366a305855c2051ebb8b 22-Jul-2011 Chih-Chung Chang <chihchung@google.com> 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
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
e946f0bfe7f5c63d4b10497ccc87ddb5b002b51d 29-Jun-2011 James Dong <jdong@google.com> add private copy constructor and assignment operator to four media source classes

o this patch addresses the encoder and decoder sources for audio and video

Change-Id: I918784ca22138267c270836c91312540eedebc7f
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
b5c7784c96a606890eb8a8b560153ef4a5d1a0d9 23-Jun-2011 Thomas Le Guevel <thomaslg@google.com> Fix for: 4676350 Do not use dual copyright declaration for video editor code

Change-Id: I2856be051fa3b3ddfe67e096e45fb0b34beb92be
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
3b25fdc4a33b53cfcf67315c2d42ad699b8cefe2 22-Apr-2011 hongteng <hongteng@google.com> Fix for issue 3385135 "source code cleanup" engine part
- remove commented code
- remove code under #if 0
- remove macro FILE_LOWER_CASE as it is not used
- remove macro #if 1
- remove TIMESCALE_BUG macro, and all code under this macro as it is not used
- remove following unused functions:
* M4MCS_getExifInfo
* M4MCS_registerAudioEncoderExtended
* M4MCS_registerVideoDecoderExtended
* M4MCS_registerAudioDecoderExtended
* M4MCS_registerVideoEncoderExtended

Change-Id: I8e2916d956af6d381ae1962fedc61a8b48f60ce2
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
694816d7291f17364502ac5d3319684a0b180860 21-Apr-2011 Shyam Pallapothu <shyamp@google.com> Fix for issue 4133431 "Remove OSAL layer" in engine part

Change-Id: I98f98691048a5afc6f691b0cc3cec92e458e8f44
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
32ed3f4dad00f8a65f7e6b38402c70d5341c57eb 21-Apr-2011 Shyam Pallapothu <shyamp@google.com> Fix for issue 4133431 "Remove OSAL layer" in engine part

Change-Id: I9e2e142bcdf3153c529b790e368caea4fdb65ac8
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
2fffed1d281c5d9df2d5b830dca92034271362a2 14-Feb-2011 Danny Fernandes <dannyfernandes@google.com> Fix for 3431967 Memory leak in SF shells

Change-Id: Iaecf24e7cc095c5295a1568b4185e977f19f15aa
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
5eae88ab5c94efee602a5b68ceacd74f5285c6c4 04-Feb-2011 Danny Fernandes <dannyfernandes@google.com> Fixed 3423072 Imported 1080x720 video clips present distorted view

Change-Id: I4e6fb6e803dcb29afeb7cd82967c63479c40b329
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
b828db5197c34be4ae00a7d37f5c21caa51b8cbe 04-Feb-2011 Dheeraj Sharma <dheerajs@google.com> Modification for using Software decoder for thumbnail generation

Change-Id: I6f910292796917ad5aca5054a3522fb197df7826
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
35cb2de64cb6482a08f446e80733e7d344a0dcac 20-Jan-2011 Dharmaray Kundargi <dharmaray@google.com> Change preview player code also.

Adapt to 32 bit aligned decoder buffers

Change-Id: I631f7e60b8e424af496f45d0e5e292bf9e8a9dde
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp
7c9d8018755adf1857571125ba1b3598c96ea506 17-Jan-2011 Dharmaray Kundargi <dharmaray@google.com> Removed unwanted line in M4READER_Amr.h

vss core files upload on honeycomb

Change-Id: I61206ae2398ce8ac544c6fb01a76fe8917bce75b
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/VideoEditorVideoDecoder.cpp