OSDN Git Service

android-x86/frameworks-av.git
11 years agoMerge "audio effects: no audio preprocessing by default" into jb-mr1-dev
Eric Laurent [Mon, 10 Sep 2012 23:46:31 +0000 (16:46 -0700)]
Merge "audio effects: no audio preprocessing by default" into jb-mr1-dev

11 years agoaudio effects: no audio preprocessing by default
Eric Laurent [Sat, 8 Sep 2012 00:31:18 +0000 (17:31 -0700)]
audio effects: no audio preprocessing by default

The audio preprocessings are not included in the default
audio_effect.conf file anymore as the audio HAL has to provide
support for them.

Each product implementing one or more audio pre processing must
provide a specific audio_effects.conf file.

Change-Id: I3b2f636f7a8748829798d4b9057d269db9424d62

11 years agoMerge "Enable audio streaming to a wifi display. Remove startup delay hack." into...
Andreas Huber [Mon, 10 Sep 2012 18:36:44 +0000 (11:36 -0700)]
Merge "Enable audio streaming to a wifi display. Remove startup delay hack." into jb-mr1-dev

11 years agoam f755a506: am d81be6d6: Merge "aacenc: Mark some global arrays const"
Jean-Baptiste Queru [Mon, 10 Sep 2012 18:30:18 +0000 (11:30 -0700)]
am f755a506: am d81be6d6: Merge "aacenc: Mark some global arrays const"

* commit 'f755a506335df3bfb32c062096deceaf045044ed':
  aacenc: Mark some global arrays const

11 years agoEnable audio streaming to a wifi display. Remove startup delay hack.
Andreas Huber [Mon, 10 Sep 2012 18:27:23 +0000 (11:27 -0700)]
Enable audio streaming to a wifi display. Remove startup delay hack.

Change-Id: I2e163db1595bb504de3a2e99cace191aa90708ca

11 years agoam d81be6d6: Merge "aacenc: Mark some global arrays const"
Jean-Baptiste Queru [Mon, 10 Sep 2012 18:26:55 +0000 (11:26 -0700)]
am d81be6d6: Merge "aacenc: Mark some global arrays const"

* commit 'd81be6d670f0d89aa6048a82fbbff82c584e9922':
  aacenc: Mark some global arrays const

11 years agoMerge "aacenc: Mark some global arrays const"
Jean-Baptiste Queru [Mon, 10 Sep 2012 18:08:23 +0000 (11:08 -0700)]
Merge "aacenc: Mark some global arrays const"

11 years agoCamera2: Use face priority scene mode when face detect is enabled.
Eino-Ville Talvala [Fri, 7 Sep 2012 21:26:29 +0000 (14:26 -0700)]
Camera2: Use face priority scene mode when face detect is enabled.

Per API specs, enabled face detection implies that metering, etc is
done based on faces.

Bug: 6243944
Change-Id: Ie35162226d70cc0f437e92e37be138e71e45e738

11 years agoCamera2: Sanity check inputs better.
Eino-Ville Talvala [Mon, 10 Sep 2012 16:53:09 +0000 (09:53 -0700)]
Camera2: Sanity check inputs better.

Bug: 7132141
Change-Id: I866a65dfe47464070a6ef4ac60be4801cb68327b

11 years agoam e7c992c6: am 5abc91d6: Merge "Fix libmedia and libstagefright to get expat header...
Elliott Hughes [Sun, 9 Sep 2012 23:11:37 +0000 (16:11 -0700)]
am e7c992c6: am 5abc91d6: Merge "Fix libmedia and libstagefright to get expat header files from the approved location."

* commit 'e7c992c675e0075cd60b0b11c06d5956e3ddd7a3':
  Fix libmedia and libstagefright to get expat header files from the approved location.

11 years agoam 5abc91d6: Merge "Fix libmedia and libstagefright to get expat header files from...
Elliott Hughes [Sun, 9 Sep 2012 23:07:48 +0000 (16:07 -0700)]
am 5abc91d6: Merge "Fix libmedia and libstagefright to get expat header files from the approved location."

* commit '5abc91d61718e334e05c6d4858bd868bd5a5769c':
  Fix libmedia and libstagefright to get expat header files from the approved location.

11 years agoMerge "Fix libmedia and libstagefright to get expat header files from the approved...
Elliott Hughes [Sun, 9 Sep 2012 22:11:49 +0000 (15:11 -0700)]
Merge "Fix libmedia and libstagefright to get expat header files from the approved location."

11 years agoFix libmedia and libstagefright to get expat header files from the approved location.
Elliott Hughes [Sun, 9 Sep 2012 21:58:14 +0000 (14:58 -0700)]
Fix libmedia and libstagefright to get expat header files from the approved location.

Found during a libexpat upgrade.

Change-Id: I9e5abd502a884975d898486edde374fb2519164e

11 years agoMerge "Add outlier statistics for fast mixer cycle times" into jb-mr1-dev
Glenn Kasten [Sun, 9 Sep 2012 16:52:13 +0000 (09:52 -0700)]
Merge "Add outlier statistics for fast mixer cycle times" into jb-mr1-dev

11 years agoFix buffer size issue for multichannel HE-AAC
Jean-Michel Trivi [Sun, 9 Sep 2012 17:27:08 +0000 (10:27 -0700)]
Fix buffer size issue for multichannel HE-AAC

Decoding of HE-AAC fails due to output buffer size being too small.
Size output buffer size according to maximum number of channels.

Change-Id: I6b10842cf7ba3da1f4b4075b1f7f5404bf76be41

11 years agoaacenc: Mark some global arrays const
Martin Storsjo [Sun, 9 Sep 2012 13:33:52 +0000 (16:33 +0300)]
aacenc: Mark some global arrays const

This gets rid of initialized writeable data in the library.

Change-Id: I7c1cbeb3df10c302b645b7311591ead87a289ca1

11 years agoRevert max buffers change.
Jeff Brown [Sun, 9 Sep 2012 07:16:45 +0000 (00:16 -0700)]
Revert max buffers change.

Attempting to use 31 buffers crashes on Prime.

Bug: 7131413
Change-Id: Ib85aef9b1da01f7243bd781a0efa47de2970412d

11 years agoAdd a permission for controlling wifi display.
Jeff Brown [Sat, 8 Sep 2012 00:38:58 +0000 (17:38 -0700)]
Add a permission for controlling wifi display.

Change-Id: I321b6c1a0223e0c3d5df04fde7a13ab91c08c7bc

11 years agoMerge "Fix headroom management in equalizer" into jb-mr1-dev
Eric Laurent [Fri, 7 Sep 2012 23:46:39 +0000 (16:46 -0700)]
Merge "Fix headroom management in equalizer" into jb-mr1-dev

11 years agoFix build
James Painter [Fri, 7 Sep 2012 23:36:50 +0000 (16:36 -0700)]
Fix build

Change-Id: Ia4bebc4ecc850b42ebd4edd1ffed07e9bc2ec300

11 years agoCamera2: Add a burst mode skeleton.
James Painter [Thu, 6 Sep 2012 01:02:32 +0000 (18:02 -0700)]
Camera2: Add a burst mode skeleton.

Bug: 6243944
Change-Id: I7f496ca1051571c68fdd99a6f85bf6a908a4e29a

11 years agoMerge "Less verbose logging, lots of references." into jb-mr1-dev
Andreas Huber [Fri, 7 Sep 2012 23:02:47 +0000 (16:02 -0700)]
Merge "Less verbose logging, lots of references." into jb-mr1-dev

11 years agoLess verbose logging, lots of references.
Andreas Huber [Fri, 7 Sep 2012 22:46:41 +0000 (15:46 -0700)]
Less verbose logging, lots of references.

Change-Id: Idcb76848883b113e956d7e6266da882771a053b8

11 years agoFix headroom management in equalizer
Eric Laurent [Fri, 7 Sep 2012 22:09:57 +0000 (15:09 -0700)]
Fix headroom management in equalizer

Fix a bug resetting the headroom parameters when
calling the bundle process function for the first time.

Change-Id: Ie05f97606f415954340ff2a4e48cd7b0a97a063b

11 years agoMerge "Make wfd code work with both old and new dongles." into jb-mr1-dev
Andreas Huber [Fri, 7 Sep 2012 22:08:22 +0000 (15:08 -0700)]
Merge "Make wfd code work with both old and new dongles." into jb-mr1-dev

11 years agoMake wfd code work with both old and new dongles.
Andreas Huber [Fri, 7 Sep 2012 22:05:53 +0000 (15:05 -0700)]
Make wfd code work with both old and new dongles.

Change-Id: Idc750dc334c47a171791587dd7e7281d565ff566

11 years agoMerge "audioflinger: changes for new audio devices enums" into jb-mr1-dev
Eric Laurent [Fri, 7 Sep 2012 21:53:06 +0000 (14:53 -0700)]
Merge "audioflinger: changes for new audio devices enums" into jb-mr1-dev

11 years agoMerge "Fix iTunSMPB parsing for AAC tracks encoded with Nero" into jb-mr1-dev
John Grossman [Fri, 7 Sep 2012 20:41:15 +0000 (13:41 -0700)]
Merge "Fix iTunSMPB parsing for AAC tracks encoded with Nero" into jb-mr1-dev

11 years agoFix iTunSMPB parsing for AAC tracks encoded with Nero
John Grossman [Fri, 7 Sep 2012 18:41:07 +0000 (11:41 -0700)]
Fix iTunSMPB parsing for AAC tracks encoded with Nero

Make sure to clear out the mean/name/data state when parsing
apple-style metadata from tracks every time we have a full set, not
just when we find an iTunSMPB set.

AAC tracks encoded from WAV by Nero tend to put in an additional apple
style metadata tag (cdec) before the iTunSMPB tag.  The sequence in
the file goes something like

mean : "com.apple.iTunes"
name : "cdec"
data : "ndaudio 1.5.4.0 / -2pass -br 320000"
mean : "com.apple.iTunes"
name : "iTunSMPB"
data : " 00000000 00000A40 000000B8 <etc...>"

If the internal state was not cleared after the first set, then when
the second instance of "name" is encountered, an attempt is made to
parse the previous data entry as an iTunSMPB tag when it is actually a
cdec tag.  Afterwards, mean, name and data are all cleared, and when
the second data is encountered there is no current mean or name
present, so the gapless metadata gets skipped.  By clearing the
metadata state every time we have a full set of mean/name/data, we
make sure that we are always interpreting the data field as the proper
type.

Change-Id: I196e2e3f83e434f15d5ee55ae40a74a92d5a1845

11 years agoAdd outlier statistics for fast mixer cycle times
Glenn Kasten [Fri, 7 Sep 2012 19:58:38 +0000 (12:58 -0700)]
Add outlier statistics for fast mixer cycle times

Change-Id: I31c964caeb8b5d9ae0a426224f030cdcb01114a0

11 years agoMerge "Camera2: Increase zoom steps." into jb-mr1-dev
Alexander Ray [Fri, 7 Sep 2012 19:35:09 +0000 (12:35 -0700)]
Merge "Camera2: Increase zoom steps." into jb-mr1-dev

11 years agoCamera2: Use the recordingHint parameter.
Eino-Ville Talvala [Thu, 30 Aug 2012 01:06:32 +0000 (18:06 -0700)]
Camera2: Use the recordingHint parameter.

Use recordingHint to create recording and still capture streams up
front, and to use the recording template when doing preview.

Bug: 6243944

Change-Id: Ifeb624794849f734784b53a1a10ff2bfe8f1a357

11 years agoCamera2: Delete all streams and stop all threads during shutdown.
Eino-Ville Talvala [Thu, 6 Sep 2012 02:02:43 +0000 (19:02 -0700)]
Camera2: Delete all streams and stop all threads during shutdown.

Bug: 6243944
Change-Id: If13a1f91e8a07c1ec4f91183d1a4b261ec4f6d52

11 years agoMerge "Camera2: Play shutter and recording sounds." into jb-mr1-dev
Eino-Ville Talvala [Fri, 7 Sep 2012 17:55:30 +0000 (10:55 -0700)]
Merge "Camera2: Play shutter and recording sounds." into jb-mr1-dev

11 years agoaudioflinger: changes for new audio devices enums
Eric Laurent [Tue, 28 Aug 2012 21:26:53 +0000 (14:26 -0700)]
audioflinger: changes for new audio devices enums

The ThreadBase class now has a separate member for input
and output devices (mInDevice, mOutDevice).

Only query get_supported_devices() from audio HAL if the function
is exposed and if the audio policy manager did not specify the
audio module to open.

Also fixed bug in AEC preprocessing that would reset
to default output device when an input device was given.

Change-Id: I19d4d06aeb920b068e3ef31e6e6be6345ce5d67a

11 years agoMerge "AudioRecord: Fix minimum frame count calculation." into jb-mr1-dev
Eric Laurent [Fri, 7 Sep 2012 16:18:43 +0000 (09:18 -0700)]
Merge "AudioRecord: Fix minimum frame count calculation." into jb-mr1-dev

11 years agoCamera2: Play shutter and recording sounds.
Eino-Ville Talvala [Fri, 7 Sep 2012 01:26:58 +0000 (18:26 -0700)]
Camera2: Play shutter and recording sounds.

Bug: 6987540

Change-Id: Icd441a757c4b68fc4988b3bfbef428adb8d1ba28

11 years agoCamera2: Increase zoom steps.
Eino-Ville Talvala [Fri, 7 Sep 2012 01:08:16 +0000 (18:08 -0700)]
Camera2: Increase zoom steps.

10 is too low for smooth zoom; increase number to improve smoothness.

Bug: 7120794
Change-Id: I178cd3890ef37beeff97cadb9e92ceab6d2cad06

11 years agoMerge "AudioFlinger: send audio source to audio effects" into jb-mr1-dev
Eric Laurent [Fri, 7 Sep 2012 01:04:59 +0000 (18:04 -0700)]
Merge "AudioFlinger: send audio source to audio effects" into jb-mr1-dev

11 years agoAdd a small hook to support gapless in AAH.
John Grossman [Fri, 24 Aug 2012 21:47:25 +0000 (14:47 -0700)]
Add a small hook to support gapless in AAH.

Change-Id: Ie07eca6b45142bdd83412ee0e38d732a4c355630

11 years agoMerge "Fix calculations for an obscure combo of MPEG audio options." into jb-mr1-dev
John Grossman [Thu, 6 Sep 2012 19:32:37 +0000 (12:32 -0700)]
Merge "Fix calculations for an obscure combo of MPEG audio options." into jb-mr1-dev

11 years agoAudioRecord: Fix minimum frame count calculation.
Eric Laurent [Thu, 6 Sep 2012 18:52:36 +0000 (11:52 -0700)]
AudioRecord: Fix minimum frame count calculation.

AudioRecord::set() was calling getMinFrameCount() with
a channel count instead of a channel mask.

Change-Id: Iabace7686426430fd53deac0c71b0c36aa64171c

11 years agoCamera2: Move locked states out of AE/AWB mode
Eino-Ville Talvala [Mon, 3 Sep 2012 17:03:26 +0000 (10:03 -0700)]
Camera2: Move locked states out of AE/AWB mode

Bug: 6243944

Change-Id: I7b609cc6c04c957d1f48c1a996263fa9c7b94000

11 years agoCamera2: Basic ZSL and precapture trigger support.
Eino-Ville Talvala [Thu, 30 Aug 2012 00:37:16 +0000 (17:37 -0700)]
Camera2: Basic ZSL and precapture trigger support.

- Add capture sequencer to control still image capture process
- Use precapture trigger for standard capture in sequencer
- Add infrastructure for reprocessing streams
- Add ZSL processor to maintain ZSL queue
- Add ZSL capture sequence to sequencer

This patch sets up ZSL mode and precapture triggers.

For now, to enable zsl mode, set the system property camera.zsl_mode
to 1.

Bug: 6243944

Change-Id: Icf8cb1a83a7c11a152a11007c8f3c54f8ea1c70c

11 years agoFix calculations for an obscure combo of MPEG audio options.
John Grossman [Wed, 29 Aug 2012 21:51:01 +0000 (14:51 -0700)]
Fix calculations for an obscure combo of MPEG audio options.

MPEGv2 and MPEGv2.5 Layer 2 audio payloads should 1152 samples per
access unit, not 576.  Adjust the frame size and samples out
calculations accordingly.

Also, adjust the max frame size in the MP3Extractor's MediaSource to
be closer to the theoretical worst case max frame size.  The
theoretical worst case for MPEG audio is 2881 bytes per frame, but the
max frame size being used was 32kB.  It has been changed to be 4kB in
order to remain a power of 2 allocation, but to be the power of 2
closest to the worst case.

Change-Id: If11f5a843b06e70151bbe8298cc54f954938d9d7

11 years agoMerge "Update remote display API." into jb-mr1-dev
Jeff Brown [Thu, 6 Sep 2012 17:15:30 +0000 (10:15 -0700)]
Merge "Update remote display API." into jb-mr1-dev

11 years agoMerge "Fix an issue where the "mFrameCount" field was accessed without its containing...
James Dong [Thu, 6 Sep 2012 02:49:52 +0000 (19:49 -0700)]
Merge "Fix an issue where the "mFrameCount" field was accessed without its containing object" into jb-mr1-dev

11 years agoMerge "To make mimetype for WAV file consistent over SF." into jb-mr1-dev
Marco Nelissen [Thu, 6 Sep 2012 02:19:52 +0000 (19:19 -0700)]
Merge "To make mimetype for WAV file consistent over SF." into jb-mr1-dev

11 years agoMerge "To support .mxmf which is specified in Android CDD." into jb-mr1-dev
Marco Nelissen [Thu, 6 Sep 2012 02:19:23 +0000 (19:19 -0700)]
Merge "To support .mxmf which is specified in Android CDD." into jb-mr1-dev

11 years agoUpdate remote display API.
Jeff Brown [Thu, 6 Sep 2012 00:48:03 +0000 (17:48 -0700)]
Update remote display API.

Renamed disconnect() to dispose() to emphasize the fact that
this method is intended to clean up the IRemoteDisplay
completely, not just temporarily disconnect the current client
(which might be useful someday).

Other minor tweaks.

Change-Id: I1209639eb0cd8af09c724206642d7e52aab48257

11 years agoFix an issue where the "mFrameCount" field was accessed without its containing object
James Dong [Wed, 5 Sep 2012 23:46:36 +0000 (16:46 -0700)]
Fix an issue where the "mFrameCount" field was accessed without its containing object

Change-Id: I6077b61b3e718b9b44ff86ca669a59f96b0b256f

11 years agoMerge "Fragmented mp4 extractor" into jb-mr1-dev
Marco Nelissen [Wed, 5 Sep 2012 23:22:16 +0000 (16:22 -0700)]
Merge "Fragmented mp4 extractor" into jb-mr1-dev

11 years agoFragmented mp4 extractor
Marco Nelissen [Tue, 28 Aug 2012 22:09:49 +0000 (15:09 -0700)]
Fragmented mp4 extractor

Still experimental. Set property "media.stagefright.use-fragmp4" to true to
enable.

Change-Id: I210b9c5b5164b5c5eefc31309845ee881ac7db8e

11 years agoExpose an IRemoteDisplay to trigger wifi display connections setup and feedback.
Andreas Huber [Wed, 5 Sep 2012 17:26:52 +0000 (10:26 -0700)]
Expose an IRemoteDisplay to trigger wifi display connections setup and feedback.

Change-Id: I7602cda0e38073c9f0e63fa4de238ca0d4b4ce8e

11 years agoImplement remote display service stubs.
Jeff Brown [Wed, 5 Sep 2012 04:38:42 +0000 (21:38 -0700)]
Implement remote display service stubs.

Change-Id: I582ed000026bba6d116db8304e15a3c52f8a9a01

11 years agoMerge "Configure the SurfaceMediaSource to emit the same number of buffers" into...
Andreas Huber [Wed, 5 Sep 2012 15:36:11 +0000 (08:36 -0700)]
Merge "Configure the SurfaceMediaSource to emit the same number of buffers" into jb-mr1-dev

11 years agoTo make mimetype for WAV file consistent over SF.
Dongwon Kang [Wed, 5 Sep 2012 11:30:40 +0000 (20:30 +0900)]
To make mimetype for WAV file consistent over SF.

(audio/x-wav is chosen because it was also used in MediaFile.java.)
Tested: checked wav files plays well on Music app.

Change-Id: Ifc07bcbed681e509176b1c144626f6f1009e69be

11 years agoTo support .mxmf which is specified in Android CDD.
Dongwon Kang [Wed, 5 Sep 2012 10:37:13 +0000 (19:37 +0900)]
To support .mxmf which is specified in Android CDD.

Bug: 7082658
Change-Id: I21269d72d1d21627c6adb2e6fbcb078d0eda6020
Tested: checked MediaScanner scans .mxmf and Music app plays .mxmf file.

11 years agoAdd setVideoScalingMode support to NuPlayer
James Dong [Fri, 31 Aug 2012 19:18:27 +0000 (12:18 -0700)]
Add setVideoScalingMode support to NuPlayer

o related-to-bug: 7089195

Change-Id: Ic30d9312673f2d5837c779e023ac64468ecd4951

11 years agoConfigure the SurfaceMediaSource to emit the same number of buffers
Andreas Huber [Tue, 4 Sep 2012 23:30:49 +0000 (16:30 -0700)]
Configure the SurfaceMediaSource to emit the same number of buffers

as the video encoder allocates for its input. Do this before connecting
the bufferqueue through surface flinger.

Change-Id: Ibc81db1359afe2d88fdb75b23fadae65c8a6f7cc

11 years agoSupport for acting as a wifi display sink.
Andreas Huber [Fri, 31 Aug 2012 21:05:27 +0000 (14:05 -0700)]
Support for acting as a wifi display sink.

Change-Id: I0beac87025b93c60164daa865c89f16b72197a47

11 years agoMerge "Improvements to our MPEG2 Transport Stream parser" into jb-mr1-dev
Andreas Huber [Tue, 4 Sep 2012 16:31:11 +0000 (09:31 -0700)]
Merge "Improvements to our MPEG2 Transport Stream parser" into jb-mr1-dev

11 years agoAudioFlinger: send audio source to audio effects
Eric Laurent [Sat, 1 Sep 2012 00:44:06 +0000 (17:44 -0700)]
AudioFlinger: send audio source to audio effects

Added support for EFFECT_CMD_SET_AUDIO_SOURCE audio effect
command to inform preprocessings of current audio source
selection for capture.

Change-Id: Ib2418a9aa8114e8457fe828ecd43b230ed86cdd6

11 years agoMerge "Move fragmented mp4 parser to libstagefright" into jb-mr1-dev
Marco Nelissen [Fri, 31 Aug 2012 21:41:47 +0000 (14:41 -0700)]
Merge "Move fragmented mp4 parser to libstagefright" into jb-mr1-dev

11 years agoMove fragmented mp4 parser to libstagefright
Marco Nelissen [Fri, 31 Aug 2012 18:07:37 +0000 (11:07 -0700)]
Move fragmented mp4 parser to libstagefright

and rename it from Parser to FragmentedMP4Parser
Change-Id: I986f50d0c5c93648aac675d6160e18623b031541

11 years agoMerge "Added an additional virtual method IStreamSource::flags()." into jb-mr1-dev
Andreas Huber [Fri, 31 Aug 2012 21:03:25 +0000 (14:03 -0700)]
Merge "Added an additional virtual method IStreamSource::flags()." into jb-mr1-dev

11 years agoMerge "Special mode for ESQueue that allows for earlier dequeuing of access units...
Andreas Huber [Fri, 31 Aug 2012 20:57:32 +0000 (13:57 -0700)]
Merge "Special mode for ESQueue that allows for earlier dequeuing of access units" into jb-mr1-dev

11 years agoImprovements to our MPEG2 Transport Stream parser
Andreas Huber [Fri, 31 Aug 2012 20:55:24 +0000 (13:55 -0700)]
Improvements to our MPEG2 Transport Stream parser

Verifies the continuity counter
Parses and associates PCR time with streams
Allows for a absolute time anchor to be signalled via discontinuity.

Change-Id: I4bc88c78382c9cc6380f28df584cc6c254e0a8f9

11 years agoSpecial mode for ESQueue that allows for earlier dequeuing of access units
Andreas Huber [Fri, 31 Aug 2012 17:36:25 +0000 (10:36 -0700)]
Special mode for ESQueue that allows for earlier dequeuing of access units

if it's know beforehand that each PES packet contains exactly one access unit.
Currently this optimization is only supported for H.264 video.

Change-Id: I0888027cc7e9850307484b11dba1191cf6bfac83

11 years agoAdded an additional virtual method IStreamSource::flags().
Andreas Huber [Fri, 31 Aug 2012 20:40:12 +0000 (13:40 -0700)]
Added an additional virtual method IStreamSource::flags().

Change-Id: I89e62d84328e12f08c8f73cbfd53cfb42569de97

11 years agoMerge "Add support for mpeg2 transport streams to the RTSP implementation." into...
Andreas Huber [Fri, 31 Aug 2012 20:07:31 +0000 (13:07 -0700)]
Merge "Add support for mpeg2 transport streams to the RTSP implementation." into jb-mr1-dev

11 years agoCamera: set vendor_ops on camera metadata.
Shuzhen Wang [Fri, 31 Aug 2012 17:24:22 +0000 (10:24 -0700)]
Camera: set vendor_ops on camera metadata.

This makes sure that vendor specific metadata can propogate through
the framework.

Change-Id: I3bd0ae4b889eb907caf7b305dbcb16abbbef0ea3

11 years agoam 371e1217: (-s ours) am 8b152566: Merge "OMXCodec: enhance error handling of OMX...
Jean-Baptiste Queru [Fri, 31 Aug 2012 18:26:10 +0000 (11:26 -0700)]
am 371e1217: (-s ours) am 8b152566: Merge "OMXCodec: enhance error handling of OMX IL client"

* commit '371e121745c2e43e3c26fd1a854eaf6d3324f057':
  OMXCodec: enhance error handling of OMX IL client

11 years agoam 8b152566: Merge "OMXCodec: enhance error handling of OMX IL client"
Jean-Baptiste Queru [Fri, 31 Aug 2012 18:19:38 +0000 (11:19 -0700)]
am 8b152566: Merge "OMXCodec: enhance error handling of OMX IL client"

* commit '8b1525663322685ff34d9c09176feebd102e1c3d':
  OMXCodec: enhance error handling of OMX IL client

11 years agoMerge "OMXCodec: enhance error handling of OMX IL client"
Jean-Baptiste Queru [Fri, 31 Aug 2012 18:01:18 +0000 (11:01 -0700)]
Merge "OMXCodec: enhance error handling of OMX IL client"

11 years agoAdd support for mpeg2 transport streams to the RTSP implementation.
Andreas Huber [Fri, 31 Aug 2012 17:27:46 +0000 (10:27 -0700)]
Add support for mpeg2 transport streams to the RTSP implementation.

Change-Id: I409d7133a53a71e62523b1acc2b03302fcf824a5

11 years agoMerge "Documentation on pipes" into jb-mr1-dev
Glenn Kasten [Fri, 31 Aug 2012 16:19:13 +0000 (09:19 -0700)]
Merge "Documentation on pipes" into jb-mr1-dev

11 years agoMerge "Update audio comments" into jb-mr1-dev
Glenn Kasten [Fri, 31 Aug 2012 16:17:54 +0000 (09:17 -0700)]
Merge "Update audio comments" into jb-mr1-dev

11 years agoMerge "Implement the source->sink(!) keep alive the wfd specs mandate..." into jb...
Andreas Huber [Fri, 31 Aug 2012 15:34:32 +0000 (08:34 -0700)]
Merge "Implement the source->sink(!) keep alive the wfd specs mandate..." into jb-mr1-dev

11 years agoOMXCodec: enhance error handling of OMX IL client
Weian Chen [Fri, 27 Jul 2012 08:55:11 +0000 (04:55 -0400)]
OMXCodec: enhance error handling of OMX IL client

Original design doesn't handle event EMPTY_BUFFER_DONE and
FILL_BUFFER_DONE which leads to buffer status mess issue,
and in turn leads to mediaserver crash.
Here we will handle those 2 events anyway to fix this.

Change-Id: Ia90b46ea7ec6026d6fda5d33fef6773435788b04
Author: Tianmi Chen<tianmi.chen@intel.com>
Signed-off-by: Tianmi Chen<tianmi.chen@intel.com>
Signed-off-by: Weian Chen <weian.chen@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 49066, 27054

11 years agoMerge "Don't hard code the number of buffers for SurfaceMediaSource" into jb-mr1-dev
Jamie Gennis [Fri, 31 Aug 2012 01:25:35 +0000 (18:25 -0700)]
Merge "Don't hard code the number of buffers for SurfaceMediaSource" into jb-mr1-dev

11 years agoImplement the source->sink(!) keep alive the wfd specs mandate...
Andreas Huber [Thu, 30 Aug 2012 23:04:34 +0000 (16:04 -0700)]
Implement the source->sink(!) keep alive the wfd specs mandate...

Change-Id: I388d9911ebd243aa9c13a13ec3683e76898470a6

11 years agoUpdate audio comments
Glenn Kasten [Mon, 30 Jul 2012 17:59:30 +0000 (10:59 -0700)]
Update audio comments

Change-Id: Ie7504d0ddb252f7e4d4f99ed0b44cfc7b1049816

11 years agoDocumentation on pipes
Glenn Kasten [Wed, 29 Aug 2012 19:25:28 +0000 (12:25 -0700)]
Documentation on pipes

Change-Id: I3de496c7db026c50dcb6bc577741bb65d08e7c9d

11 years agoMerge "Remove dead code" into jb-mr1-dev
Glenn Kasten [Thu, 30 Aug 2012 22:20:56 +0000 (15:20 -0700)]
Merge "Remove dead code" into jb-mr1-dev

11 years agoRemove dead code
Glenn Kasten [Thu, 2 Aug 2012 23:37:07 +0000 (16:37 -0700)]
Remove dead code

RecordThread::isValidSyncEvent() returns false, so most of
RecordThread::setSyncEvent() is never executed.

Change-Id: I0cf848beb46a367a45126d2df3073c5afa2ca59c

11 years agoMerge "Only run the wifi display RTSP server on demand, and only on the wifi direct...
Andreas Huber [Thu, 30 Aug 2012 22:12:29 +0000 (15:12 -0700)]
Merge "Only run the wifi display RTSP server on demand, and only on the wifi direct" into jb-mr1-dev

11 years agoMerge "Move libnbaio out of AudioFlinger" into jb-mr1-dev
Glenn Kasten [Thu, 30 Aug 2012 22:05:00 +0000 (15:05 -0700)]
Merge "Move libnbaio out of AudioFlinger" into jb-mr1-dev

11 years agoOnly run the wifi display RTSP server on demand, and only on the wifi direct
Andreas Huber [Thu, 30 Aug 2012 21:51:40 +0000 (14:51 -0700)]
Only run the wifi display RTSP server on demand, and only on the wifi direct

interface.

Change-Id: I7d3c44cb79cd40e73499f2d7ccf35c69b628e6d7

11 years agoDon't hard code the number of buffers for SurfaceMediaSource
James Dong [Thu, 23 Aug 2012 16:23:07 +0000 (09:23 -0700)]
Don't hard code the number of buffers for SurfaceMediaSource

Change-Id: I9ce17b3dc82a5d3e4a66569c76ad9745ceedacd6

11 years agoaudio effects: fix bug in sample rate control.
Eric Laurent [Thu, 30 Aug 2012 18:16:51 +0000 (11:16 -0700)]
audio effects: fix bug in sample rate control.

Fix a bug in LVM bundle wrapper preventing audio framework sample rate
from being sent to the effect bundle instance.

Change-Id: I912027f866d3beac91b977bba869ff96a92d2a62

11 years agoMerge "Camera2: Require 2 JPEG thumbnail resolutions." into jb-mr1-dev
Eino-Ville Talvala [Thu, 30 Aug 2012 18:37:19 +0000 (11:37 -0700)]
Merge "Camera2: Require 2 JPEG thumbnail resolutions." into jb-mr1-dev

11 years agoMerge changes I7bef5694,Id38e2a52 into jb-mr1-dev
Eino-Ville Talvala [Thu, 30 Aug 2012 18:37:01 +0000 (11:37 -0700)]
Merge changes I7bef5694,Id38e2a52 into jb-mr1-dev

* changes:
  Camera2: Move preview callback processing to its own thread.
  Camera2: Move still capture processing to separate thread.

11 years agoMerge "Prepare for transmitting audio through AudioSource." into jb-mr1-dev
Andreas Huber [Thu, 30 Aug 2012 18:01:13 +0000 (11:01 -0700)]
Merge "Prepare for transmitting audio through AudioSource." into jb-mr1-dev

11 years agoPrepare for transmitting audio through AudioSource.
Andreas Huber [Thu, 30 Aug 2012 17:56:14 +0000 (10:56 -0700)]
Prepare for transmitting audio through AudioSource.

AudioSource can now be configured to output buffers timestamped based
on looper time (absolute) instead of based on systemTime() relative to
start time.

Change-Id: I8eca42648eb50033ac4aafbe5daac64a98a40690

11 years agoMerge "Transmit frames at a higher frame rate for smoother updates, increase" into...
Andreas Huber [Thu, 30 Aug 2012 17:54:41 +0000 (10:54 -0700)]
Merge "Transmit frames at a higher frame rate for smoother updates, increase" into jb-mr1-dev

11 years agoMerge "Optionally log the transport stream transmitted to the sink." into jb-mr1-dev
Andreas Huber [Thu, 30 Aug 2012 17:54:27 +0000 (10:54 -0700)]
Merge "Optionally log the transport stream transmitted to the sink." into jb-mr1-dev

11 years agoMove libnbaio out of AudioFlinger
Glenn Kasten [Wed, 29 Aug 2012 18:10:32 +0000 (11:10 -0700)]
Move libnbaio out of AudioFlinger

libnbaio is now a separate shared library from AudioFlinger, rather
than a static library used only by AudioFlinger.

AudioBufferProvider interface is now also independent of AudioFlinger,
moved to include/media/

Change-Id: I9bb62ffbc38d42a38b0af76e66da5e9ab1e0e21b

11 years agoTransmit frames at a higher frame rate for smoother updates, increase
Andreas Huber [Thu, 30 Aug 2012 17:01:17 +0000 (10:01 -0700)]
Transmit frames at a higher frame rate for smoother updates, increase

video bandwidth to 5 Mbit/sec.

Change-Id: Ieb9051b0f29d5a20004d1b3befdb745bc67769c7

11 years agoCamera2: Require 2 JPEG thumbnail resolutions.
Eino-Ville Talvala [Tue, 28 Aug 2012 20:38:23 +0000 (13:38 -0700)]
Camera2: Require 2 JPEG thumbnail resolutions.

Include (0,0) as a required thumbnail resolution, to allow turning off
thumbnails.

Change-Id: I3c4efe2d6a4f576a11ce5b75a3d573812a100b80