hardware/samsung/exynos4/hal/libcamera/SecCameraHWInterface.cpp left intentionally as is, since I think it has the proper meaning
#ifdef USE_EGL
#ifdef BOARD_USE_V4L2_ION
if (w->set_usage(w, GRALLOC_USAGE_SW_WRITE_OFTEN | GRALLOC_USAGE_HW_ION)) {
#else
if (w->set_usage(w, GRALLOC_USAGE_SW_WRITE_OFTEN)) {
#endif
ALOGE("%s: could not set usage on gralloc buffer", __func__);
return INVALID_OPERATION;
}
#else
#ifdef BOARD_USE_V4L2_ION
if (w->set_usage(w, GRALLOC_USAGE_SW_WRITE_OFTEN
| GRALLOC_USAGE_HWC_HWOVERLAY | GRALLOC_USAGE_HW_ION)) {
#else
if (w->set_usage(w, GRALLOC_USAGE_SW_WRITE_OFTEN
| GRALLOC_USAGE_HW_FIMC1 | GRALLOC_USAGE_HWC_HWOVERLAY)) {
#endif
ALOGE("%s: could not set usage on gralloc buffer", __func__);
return INVALID_OPERATION;
}
#endif
Change-Id: Ieca2c717314bda5ca94a013df3cf8e23d68f74f8
filiprrs: This fixes miracast, and possibly resolves issues with features
like chromecast, screen recording, wifi display etc.
Change-Id: I35f789a9ae29df0198b21c98dc866d8886799893
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