Commit Graph

174 Commits

Author SHA1 Message Date
Matt Filetto
3186b006e7 msm8974-common: Move IR HAL to device repos
* Not all Samsung 8974s share the same kernel driver.

Change-Id: I9ece36e082d7b98972cd338d54dd409fcf3ab85c
2015-12-23 11:26:53 -08:00
Steve Kondik
06ebc93f50 msm8974-common: Drop all the janky proprietary stuff we don't even use
Change-Id: Ia55aecf587124c3e07d16b37612a8c612320c530
2015-12-23 11:23:37 -08:00
Matt Filetto
fefc908ba8 msm8974-common: Remove duplicate usb accessory package
Change-Id: Ibe81c2c20f23995538f984def4f6b72da5c5c233
Signed-off-by: Matt Filetto <matt.filetto@gmail.com>
2015-12-23 11:18:34 -08:00
Steve Kondik
d1f942107c msm8974: Kill mm-parser
* Qualcomm caused hell-on-earth with libavenhancements- an
   apparently well-intentioned effort to minimize the amount of
   change in f/av which has backfired. In order to use this
   library, an OEM must not change *anything* *anywhere* in f/av
   to maintain ABI exactness. And that ABI exactness is different
   per SoC branch and constantly in motion. Best of all, the
   base classes are monkey patched with a proprietary library which also
   is different per SoC branch and much exactly match the f/av
   code. And if you get the ABI right, then your customizations
   stop working because they've been hijacked by overloading. The whole
   message bus is hijacked, and you're wasting your time.

 * Now that FFMPEG can talk to all the hardware codecs, there is no
   reason to tolerate this. Our stack has more features, more codec
   support, and it's open source all the way.

 * I love Qualcomm's SoCs, but come on guys.. I expect every OEM
   will complain about this AV shit then proceed to gut it as I am doing.

Change-Id: I8ed0de62d64cc10054933cd70a9958ea10359c7a
2015-11-30 18:52:42 -08:00
repo Shareef Ali
8d42c49425 msm8974: Compile native libqcmediaplayer library
Change-Id: I81db0e3ff5dffdb5c9461e8210803ea7ea8f4be9
2015-11-14 14:51:08 -08:00
OzzysCmAcc
cdfcdb5a02 msm8974: Build libextmedia_jni
Change-Id: Ieee20f417daf2d3fdb5be7fea52de9653f5807c9
2015-11-14 14:48:54 -08:00
Matt Filetto
5e340af2e6 msm8974-common: update media codecs for M
* Kanged from bacon

Change-Id: I31047a4aff2dd08d52dd0ebacab855dd99403f0d
2015-11-14 14:35:48 -08:00
Ethan Chen
52e401a735 msm8974-common: Move extension library path to device
Change-Id: I5efd909f35b302c83b7a86455db42acb51287f1f
2015-11-13 17:32:28 -08:00
Nick Kralevich
334503413c msm8974-common: remove persist.sys.usb.config override
The variable persist.sys.usb.config is no longer honored by the framework,
and it's presence causes unnecessary toggling of the USB driver, which
disonnects ADB and makes the device's connection unstable.

Delete it.

Bug: 21404762
Bug: 18905620
Change-Id: Ibcc3b6a6f5523695d9daf01e53e8f5ed71ad19fe
2015-11-08 04:22:01 -08:00
khusika
577ab0c34a msm8974: Remove deprecated egl.cfg
Change-Id: I2c9808a071df694e30baeb490553d38e734a5d17
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
2015-08-12 09:14:58 -04:00
Christer
f6a45bf121 msm8974-common: new symlinks
* from N9005XXUGBOD3

Change-Id: Ib1ffd171719d1eadf98e46f0bc0fadfa34e62b09
2015-06-27 11:19:23 -07:00
Brandon McAnsh
3fdf841716 msm8974: Remove copying of ffmpeg media codecs
* Handled by default now

Change-Id: I410cd49d8c8ab098a4abbbf1f054956be3c7573c
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
2015-06-24 11:58:31 -04:00
Christopher R. Palmer
8987acf776 msm8974-common: Add property to indicate we support usb-otg
Change-Id: If032f13f87ac756e110bd77f6c84e71b5e9a3153
2015-02-14 21:37:07 -05:00
ktoonsez
b84f79c40f MODEM_IMAGES: Add extra firmware image symlinks required for SM-900FD
Change-Id: Ia90ceb60f3e1a1acb42835a943e87e748a2c6be1
2015-02-12 22:33:46 +00:00
Christer
9d098d1c57 msm8974-common: update OMX
Change-Id: Id506b52d138e9389e1638db5fe0230a8acd85142
2015-01-18 02:15:41 +01:00
christer12
6ad48bddc4 msm8974-common: Add missing links to /firmware/image
Change-Id: Ia55b24c983f159b3f9f68edac4278cda62f47256
2015-01-18 01:43:50 +01:00
christer12
5f382f8010 msm8974-common: add additional trustzone firmware
Change-Id: I3cad87b0d3dfc6bc35ad81f418b54982bd57dabc
2015-01-12 17:41:39 -05:00
repo Shareef Ali
323c2b1c1a msm8974: remove things that are handled elsewhere
Change-Id: Ifed3497534063c411d77d228a0dc3ab649c12e42
2015-01-05 01:46:16 -06:00
repo Shareef Ali
b7ff78d90a msm8974-common: kang bacon's media-config.xml
* We have updated component and  we should just kang bacon's media config
to be closer to caf versions omx compponents..
*  Basicially the mobvation was that  wmv3/vc1 support was missing.

Change-Id: Ibc29445b2ea935459b0c6e9faf76b6e6a648a71b
2015-01-03 03:22:55 -06:00
Matt Filetto
0c33b5ca47 msm8974-common: remove qrngd and qrngp
Change-Id: I9a190fa85862ce7d5591977bc7bf788fc8f41943
2014-12-27 03:23:56 +00:00
Joe LaPenna
f3ef3f3272 msm8974-common: Give the ethernet feature.
BUG: 15143878

Change-Id: Ie29c6426e9cec7fbabc2ae40328f448181132f45
2014-12-22 18:04:26 -08:00
Matt Filetto
8c73d23c89 Revert "msm8974-common: Use AwesomePlayer by default"
* This isn't needed anymore

This reverts commit d96a6cd3d1.

Change-Id: I36acf65665635a74cc0d00cadcd9db79cccb0301
2014-12-21 01:28:21 +00:00
Shareef Ali
151e9313d5 kill af.resampler.quality
Change-Id: I0477cec03073525e71bd21bd90f0bb6cf5023c0f
2014-12-06 19:03:21 -05:00
Matt Filetto
8e95e5c2ea msm8974-common: Include FFMPEG codec configuration
Change-Id: I629fe6d5478f0c8ea571e9525c70b82fcdb30e84
2014-11-25 20:19:38 -08:00
Ethan Chen
6604038660 msm8974-common: Move camera package declaration to device repos
Change-Id: Ib8d7c645dcaea9d5de3947981ba92f29b748aa87
2014-11-23 02:51:14 -08:00
Ethan Chen
61df6b2d33 msm8974-common: Update media_codecs listing
Change-Id: I421b666d00b47ad2fbd09b05736c68c3f5f10b82
2014-11-23 00:58:03 -08:00
Matt Filetto
775c1a8379 msm8974-common: Use QCOM bionic optimization
Change-Id: Iac9174a2ac0d41319ca0c2e66f6ae7c94bc7b3f2
2014-11-22 21:22:53 -08:00
Christopher R. Palmer
ef32c33672 msm8974-common: Nuke our copy of SELinux policies
We now get the qcom-common SELinux policy.  Get rid of our old policy
and add back config as we need it, rather than trying to merge the two.

Change-Id: I5ca5098c653f09c7901343d0ae71793f6eb21ab8
2014-11-23 05:21:07 +00:00
Steve Kondik
d96a6cd3d1 msm8974-common: Use AwesomePlayer by default
Change-Id: I6a250b7bed399384457ad5c07016541e4f158b7e
2014-11-22 21:20:09 -08:00
Christopher R. Palmer
e343876b07 msm8974-common: Don't use QCOM HW AAC encoder
Change-Id: Ifc26e9f48b639aa30d658c686dda654a2ee72b8b
2014-11-22 21:17:41 -08:00
Matt Filetto
34d1afcabc msm8974-common: Enable multiple users
Change-Id: Ib3e8ea7d994315e78e660e7e65cd03e052f8d909
2014-11-22 21:15:55 -08:00
Matt Filetto
4df63f268f msm8974-common: Extended font support
Change-Id: Ia34fd24bdd6d572c178e006f7a5a31d014159143
2014-11-22 21:15:55 -08:00
Tony Layher
41f3ba1c6f msm8974-common: Remove HALS from cm.dependencies
* These are included by default

Change-Id: I380c834bed0c3ea67c9c4586814e3b114506bb8d
2014-11-22 21:15:40 -08:00
Matt Filetto
135ccde945 msm8974-common: Remove deprecated QCOM flags
Change-Id: I82502f28ed74d4a3582b4fe805464f9f66025ccc
2014-11-23 05:04:57 +00:00
Christopher R. Palmer
4375ed3da1 msm8974-common: Update media_codecs for L
Change-Id: I43e9f833033751fe65f01bd3bcc9f320cdf538be
2014-11-19 06:47:29 -05:00
Christopher R. Palmer
7c662df7a3 msm8974-common: Move camera wrapper up to device repos
Change-Id: Ie16e0ccc0630edfafec935ae6f311826bc1a42fc
2014-11-19 05:03:13 -05:00
Tony Layher
39da7d7fa2 msm8974-common: Fixup CameraWrapper for L
-Also clean up code and get rid of warnings.
   Clean up from Arne Coucheron works on other samsung wrappers.

  -Requires device tree to include a CameraParametersExtra.h
   for the specific device.

Change-Id: Icab1b9ec17710861f735a05dcdd87dac932c63c2
2014-11-19 05:03:13 -05:00
elelinux
0232f8c3ca remove classpath
Change-Id: I517ccaddd76450e3d68f1979ddf95452ed260da1
2014-11-15 17:49:14 +01:00
Christopher R. Palmer
709b314a74 msm8974-common: Fix hardware_qcom_media in cm.dependencies
Change-Id: If6561a839df4df4c1b1a6339401c2d720fad3fdf
2014-11-11 13:20:52 -05:00
Christopher R. Palmer
b269472e93 msm8974-common: Add missing ","s in cm.dependencies
Change-Id: I04f156cfbb18acf376997d92dc9bb1c3a843fab0
2014-11-11 13:01:29 -05:00
Tony Layher
4bf9d92722 msm8974: Move toward new cm-12.0 branching system
Change-Id: I4f58e03efe3b42a5cf3fcea28aa7e0e9fa7dbe93
2014-11-11 09:48:27 -05:00
Christopher R. Palmer
5df5bd5278 consumerir: Dynamically grow an appropriately sized buffer
The IR pulse sequences are written to a local buffer to be
passed to the kernel.

Previously, we doubled the fixed size buffer (from 1K to 2K)
to work around a crash that was occurring for long sequences.

Another crash has been found when using Smart IR Remote and the
POWER function of the TX P42X10E remote by Panasonic (TV category).

Rather than double the size again and wait for another counter-
example, dynamically allocate the buffer and grow it as needed
to handle any IR sequence.

Change-Id: Id4fb799d8a5ad4242e04a68e6cc6436a14f4d2d0
2014-11-05 20:41:48 -05:00
Tony Layher
68741c6556 msm8974: move firmware symlinks to vendor as binaries expect.
Change-Id: I24f97a3483e4304a67d16849a3d85bef1dc699cb
2014-11-05 20:34:06 +00:00
Steve Kondik
4ae54dc068 msm8974: Disable HEVC codec
* Requires a proprietary component and does not work well on 8974
   anyway. Remove it to pass MediaCodecList CTS test.

Change-Id: I0b98f07fadef3e63842597109ea7da1a37ccea8e
2014-11-02 17:39:24 -08:00
Ethan Chen
edb8408dc1 msm8974-common: Fix boot jars classpath
Change-Id: Ia0409853277f7ea0409c7bbaf546f25d363fc441
2014-10-22 18:46:42 -07:00
Christopher R. Palmer
7ac41d3543 msm8974-common: Add missing audio lib (qcompostproc)
Change-Id: Ie22377b5021b7c5f312b27fd446c2ab4f846db7e
2014-10-05 06:44:37 -04:00
Tony Layher
aac6c49894 IR: Increase Buffer size
Fixes JIRA CYAN-5239

Change-Id: I6d6a2cd48f9b7b485099c84517cab9e7b08d1e3a
2014-09-19 19:29:58 -04:00
Ethan Chen
20ee783494 msm8974-common: Move NUM_FB_BUFFERS to msm8974-common
Change-Id: I1d5007477277445b5abf8bafb7fcfd2d7c2c0f39
2014-08-29 00:16:07 -07:00
Ethan Chen
b8cf03de48 msm8974-common: Remove unnecessary flags
Change-Id: Ibdec447992d72a26a5fd6b5356fb58cbeac3b19b
2014-08-26 23:37:36 -07:00
Christopher R. Palmer
a22ea508a6 msm8974: consumerir: Convert transmit input from ms to pulses
According to:

 https://developer.android.com/reference/android/hardware/ConsumerIrManager.html#transmit%28int,%20int[]%29

the pattern is supposed to be in ms.  Apparently Samsung and HTC
in versions 4.4.2 and earlier of Android were treating this as
the number of pulses instead of ms.  This is what our HAL is
supporting because it mimic'ed what the vendors were doing.

However, we should switch to the correct spec of the pattern (ms)
and eventually this will cause apps to converge on the right
patterns.

Currently, this change will break half the existing apps and cause
the other half of the apps to stop being broken and to start
working.

Change-Id: I87cedcc8e0b85d7b96ed63c7d4f82cc53ecb4ecb
2014-08-25 16:47:50 -04:00