Use NEON instructions for color conversion from ARGB8888 to YUV420SP. This
greatly improves performance and can help achieve 30fps+ framerates when
dealing with OMX_COLOR_FormatAndroidOpaque during Screen Recording and
Screen Casting.
Change-Id: Ifdaaf03e1ce6909822df3f046ef35dd977b84d17
Ignore OMX_BUFFERFLAG_CODECCONFIG to fix issues while resubmitting CSD.
This fixes issues with seeking during playback when using NuPlayer.
Change-Id: Id307100cb48608e6e3f09948838486da4948578c
Trying to open a video in Movie Studio gives a FC if video was taken in resolution 1280x720 or 1900x1080.
I've tested it on my i9300. But don't know the impact on other devices.
Change-Id: Ic2c49b17341846127817391a30d3d78c0c49138e
Calling the decoder immediately after encoding a video often
trips on the ongoing mfc buffer flushes from the encoder that has
just shut down, and fails due to the unavailability of any buffer of
sufficient size. If MFC_DEC_INIT fails, give it 100msec and try
again. This resolves the blank thumbs when switching to the
gallery in the same session that a recording was made.
Change-Id: I13b1be8757b314e1c903a0570f9b053550164616