Commit graph

23 commits

Author SHA1 Message Date
Shilin Victor
f0a77e61e0 exynos4: Set native color format for the Native window
based on and avoids need of commit 19ab8af47c

Change-Id: I2048689459359c54f98223b762f3fea803c81a8b
2019-02-08 21:25:58 +03:00
Shilin Victor
47aba10dfc libOMX: fix videosize limits
Change-Id: Ia0aebad0fe52dc66e083dd1a891b0db152790c6a
2019-02-06 16:12:23 +03:00
Javi Ferrer
4f1fe71d4b Switch FIMC1 and ION
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
2019-02-06 16:12:22 +03:00
Dominggoes Isakh
b31f428d60 Resolve compiler errors
* remove all unused variables
* remove all unused functions
* build with -no-error

Change-Id: I8cdf30b9e650b4905c6c122122cd3630bf153275
2018-08-14 22:26:31 +02:00
Dominggoes Isakh
bc63c3d685 libOMX: Prevent mediaserver crash when decoding unsupported videosize
Change-Id: I752ae2595982ffd1f9e547788d96fee9e908bf8a
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
08c95948f7 exynos4: Fix GRALLOC_USAGE_YUV_ADDR for hardware decoders
Change-Id: I07206502e9dcdd731ce19eaf1e14ac519afab01e
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
763999dd87 exynos: Temporary remove getphys
Change-Id: Ia64dae7e838b32cfb1ed0c45b3c88d961e21e5d5
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
9b21248cd4 Use TARGET_NEEDS_EXYNOS4_ENHANCEMENTS
Change-Id: I3072e938eeff0d1ada0760f77c71782366da1e57
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
eacf8f127f Add references to liblog
Change-Id: I24180381639fde75c0f1966274638b33bac44315
2018-08-08 06:26:10 +02:00
Dheeraj CVR
601bcef48e exynos: multimedia: add support for OMX_IndexParamVideoIntraRefresh parameter
filiprrs: This fixes miracast, and possibly resolves issues with features
like chromecast, screen recording, wifi display etc.

Change-Id: I35f789a9ae29df0198b21c98dc866d8886799893
2017-06-22 06:18:25 +00:00
Simon Shields
3c2325f13b exynos: multimedia: N/clang fixes
Change-Id: I1891f793a44465c28219cb19455dbc29c09d4868
2016-10-28 18:55:19 -07:00
Dheeraj CVR
9dad4fe888 exynos: multimedia: implement proper EOS signalling for encoder
Change-Id: Ib1e33f9c9c6ee2bfe0280f1b73d731e3191aa56d
2016-05-31 15:05:16 -07:00
Dheeraj CVR
bc0da3a96d exynos: multimedia: speed up color conversion from ARGB8888 to YUV420SP
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
2015-12-08 13:44:48 -05:00
rogersb11
dbf394e847 samsung: Compilation fixes
* Add missing headers
* Cast values to correct types

Change-Id: Iaf621c562e884daeb22f6ec700d6989ba6ba1aef
2015-11-09 14:07:55 -08:00
Dheeraj CVR
50db0ed6de exynos: multimedia: fix resubmitting CSD for NuPlayer
Ignore OMX_BUFFERFLAG_CODECCONFIG to fix issues while resubmitting CSD.
This fixes issues with seeking during playback when using NuPlayer.

Change-Id: Id307100cb48608e6e3f09948838486da4948578c
2015-06-19 16:16:18 -03:00
Dheeraj CVR
50bbcbe20b omx_core: fix heap corruption when unregistering component
Change-Id: Ie5c20e48f376054b1fe468274128e4c19c2ef3d1
2014-09-24 00:03:55 +00:00
Javier Ferrer
f1b9dcdf72 WIP: exynos: SEC_OMX_H264dec.c solve dump when decoding hd and fullhd h264
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
2014-05-23 12:49:42 +00:00
Chirayu Desai
2c81822525 exynos5: remove sources
- upstream has them at hardware/samsung_slsi

Change-Id: I6721098016ea7d760b553d533613ffc450eefd86
2012-11-23 16:58:24 +05:30
Daniel Hillenbrand
0fdadcaf08 exynos hal: jellybean compat 2012-07-22 15:45:33 +02:00
codeworkx
9375b16344 omx: build shared instead of static libs for exynos4x12
Change-Id: Idac85baf743ea26a5953538f8f931908c15ad754
2012-06-10 17:17:48 +02:00
codeworkx
05804b1419 codecs: build shared mfcapi lib on exynos4x12
Change-Id: I8a09f8e6e86191197f0382e5c40e6acd16f33cda
2012-06-05 02:04:37 +02:00
athurh
759cb25d9c exynos: Improve H264 encode quality
Change-Id: I0c184daecffe644445c759deeeb8895f69c1755b
2012-05-21 21:55:40 +02:00
codeworkx
62f02ba4f4 exynos: reorganized and updated from insignal
Changes needed on exynos4210 devices:

libcsc -> libseccscapi
libswconverter -> remove

TARGET_HAL_PATH := hardware/samsung/exynos4/hal
TARGET_OMX_PATH := hardware/samsung/exynos/multimedia/openmax
$(call inherit-product, hardware/samsung/exynos4210.mk)

Change-Id: Ic59ef95b85ef37b3f38fb36cf6a364a5414685ee
2012-05-20 12:00:36 +02:00