OSDN Git Service

android-x86/frameworks-av.git
11 years agoICameraServiceListener.h: Add STATUS_ENUMERATING enum
Igor Murashkin [Mon, 18 Mar 2013 20:36:48 +0000 (13:36 -0700)]
ICameraServiceListener.h: Add STATUS_ENUMERATING enum

Change-Id: I41a9f358f63a19e7b746a9ccf24722001e5e7475

11 years agoMerge "Change ANetworkSession implementation to optionally attach timestamps" into...
Andreas Huber [Tue, 19 Mar 2013 21:29:51 +0000 (21:29 +0000)]
Merge "Change ANetworkSession implementation to optionally attach timestamps" into jb-mr2-dev

11 years agoMerge "Allow for streaming of media files (without recompression)" into jb-mr2-dev
Andreas Huber [Tue, 19 Mar 2013 21:29:39 +0000 (21:29 +0000)]
Merge "Allow for streaming of media files (without recompression)" into jb-mr2-dev

11 years agoMerge "Fix valgrind error" into jb-mr2-dev
Marco Nelissen [Tue, 19 Mar 2013 17:24:04 +0000 (17:24 +0000)]
Merge "Fix valgrind error" into jb-mr2-dev

11 years agoFix valgrind error
Marco Nelissen [Tue, 19 Mar 2013 16:57:29 +0000 (09:57 -0700)]
Fix valgrind error

The volume member of the BundledEffectContext class was not being
initialized, resulting in uninitialized data being used for calculations
and control flow.

Change-Id: I84bf9fd478e5d0479e781323b21c7c03dea958c5

11 years agoChange ANetworkSession implementation to optionally attach timestamps
Andreas Huber [Mon, 18 Mar 2013 22:11:40 +0000 (15:11 -0700)]
Change ANetworkSession implementation to optionally attach timestamps

to fragments of data to be transferred and to log statistics when data
is finally submitted to the POSIX layer.

Change-Id: Icbfcac203cdc5c9eac1634e84d34bb380b316a01

11 years agoMerge "Camera: fix waitUntilDrained log message" into jb-mr2-dev
Alex Ray [Mon, 18 Mar 2013 19:52:43 +0000 (19:52 +0000)]
Merge "Camera: fix waitUntilDrained log message" into jb-mr2-dev

11 years agoMerge "ProCameraTests: Minor add grey/frame count debug-only print outs" into jb...
Igor Murashkin [Mon, 18 Mar 2013 18:38:10 +0000 (18:38 +0000)]
Merge "ProCameraTests: Minor add grey/frame count debug-only print outs" into jb-mr2-dev

11 years agoProCameraTests: Minor add grey/frame count debug-only print outs
Igor Murashkin [Mon, 18 Mar 2013 18:10:48 +0000 (11:10 -0700)]
ProCameraTests: Minor add grey/frame count debug-only print outs

Change-Id: I0f7b7f3c083a644e9bb0c2302244a5ad434e96a8

11 years agoAllow for streaming of media files (without recompression)
Andreas Huber [Mon, 18 Mar 2013 18:09:22 +0000 (11:09 -0700)]
Allow for streaming of media files (without recompression)

Change-Id: I1de356cc37506ba986822d12a1a59e7b64069e02

11 years agoCamera: fix waitUntilDrained log message
Alex Ray [Sun, 17 Mar 2013 10:23:18 +0000 (03:23 -0700)]
Camera: fix waitUntilDrained log message

Change-Id: Iab6197e0674752de7933dd812bff430a5c487c4b

11 years agoam 59ac7b30: am 66abe3ae: Merge "Fix for crash if no content in DESCRIBE response"
Andreas Huber [Fri, 15 Mar 2013 15:59:39 +0000 (08:59 -0700)]
am 59ac7b30: am 66abe3ae: Merge "Fix for crash if no content in DESCRIBE response"

* commit '59ac7b3056db57e5a8e851b7946a181c5fc34852':
  Fix for crash if no content in DESCRIBE response

11 years agoam c44a3ae2: am f0cea9f8: Merge "Prevent invalid frame durations"
Glenn Kasten [Fri, 15 Mar 2013 15:59:38 +0000 (08:59 -0700)]
am c44a3ae2: am f0cea9f8: Merge "Prevent invalid frame durations"

* commit 'c44a3ae2704af52c0f4ea006b5b02a53b6df6c46':
  Prevent invalid frame durations

11 years agoam 66abe3ae: Merge "Fix for crash if no content in DESCRIBE response"
Andreas Huber [Fri, 15 Mar 2013 15:57:10 +0000 (08:57 -0700)]
am 66abe3ae: Merge "Fix for crash if no content in DESCRIBE response"

* commit '66abe3ae38665256c8fe97770f046bf9c68625aa':
  Fix for crash if no content in DESCRIBE response

11 years agoam f0cea9f8: Merge "Prevent invalid frame durations"
Glenn Kasten [Fri, 15 Mar 2013 15:57:10 +0000 (08:57 -0700)]
am f0cea9f8: Merge "Prevent invalid frame durations"

* commit 'f0cea9f83cf0c8e5ecdd2b401ec2d56d0c717708':
  Prevent invalid frame durations

11 years agoMerge "Fix for crash if no content in DESCRIBE response"
Andreas Huber [Fri, 15 Mar 2013 15:33:00 +0000 (15:33 +0000)]
Merge "Fix for crash if no content in DESCRIBE response"

11 years agoMerge "Prevent invalid frame durations"
Glenn Kasten [Fri, 15 Mar 2013 15:11:27 +0000 (15:11 +0000)]
Merge "Prevent invalid frame durations"

11 years agoMerge "Make limitations of MPEG4Writer explicit" into jb-mr2-dev
Tenghui Zhu [Thu, 14 Mar 2013 22:42:44 +0000 (22:42 +0000)]
Merge "Make limitations of MPEG4Writer explicit" into jb-mr2-dev

11 years agoMerge "Parse SBR extension sample rate" into jb-mr2-dev
Marco Nelissen [Thu, 14 Mar 2013 22:02:37 +0000 (22:02 +0000)]
Merge "Parse SBR extension sample rate" into jb-mr2-dev

11 years agoParse SBR extension sample rate
Marco Nelissen [Thu, 14 Mar 2013 21:50:47 +0000 (14:50 -0700)]
Parse SBR extension sample rate

Change-Id: Ib6f6994228a279ee10b389515fba04516c7c42ba

11 years agoMake limitations of MPEG4Writer explicit
James Dong [Tue, 12 Mar 2013 17:40:20 +0000 (10:40 -0700)]
Make limitations of MPEG4Writer explicit

o No more than 2 tracks will be supported
o No more than one video and/or one audio tracks will be supported
o Only take video and/or audio track (for instance, no text tracks)
o If there is no track before start() is called, bail out.

At the same time, make sure the errors from addSource() report to
addTrack(), not to start().

Bug: 7991013

Change-Id: I1ca35aaeb75b5448d75ed2c6c10dd12ecea720ab

11 years agoProCamera: Fix rare deadlock when client destructs inside the connect call
Igor Murashkin [Thu, 14 Mar 2013 00:23:00 +0000 (17:23 -0700)]
ProCamera: Fix rare deadlock when client destructs inside the connect call

Bug: 8337737
Change-Id: Ia6fca4365fa20fdbfd6a1ec8d047639a002f2aba

11 years agoMerge "Adds audio support to DirectRenderer." into jb-mr2-dev
Andreas Huber [Wed, 13 Mar 2013 21:44:47 +0000 (21:44 +0000)]
Merge "Adds audio support to DirectRenderer." into jb-mr2-dev

11 years agoMerge "remove uses of Surface in favor or IGraphicBufferProducer" into jb-mr2-dev
Mathias Agopian [Wed, 13 Mar 2013 21:42:14 +0000 (21:42 +0000)]
Merge "remove uses of Surface in favor or IGraphicBufferProducer" into jb-mr2-dev

11 years agoMerge "remove CameraServiceTest which wasn't used" into jb-mr2-dev
Mathias Agopian [Wed, 13 Mar 2013 21:40:06 +0000 (21:40 +0000)]
Merge "remove CameraServiceTest which wasn't used" into jb-mr2-dev

11 years agoAdds audio support to DirectRenderer.
Andreas Huber [Wed, 13 Mar 2013 17:22:46 +0000 (10:22 -0700)]
Adds audio support to DirectRenderer.

Change-Id: Ibf4df90aca29d638215e2da9b39e78bf3a2c4d08

11 years agoAttempt to recover from network stalls by dropping frames on the source side.
Andreas Huber [Tue, 12 Mar 2013 22:55:43 +0000 (15:55 -0700)]
Attempt to recover from network stalls by dropping frames on the source side.

Change-Id: I5f9eb4f5acb624a9e5bc0087801fb5a4a9ade35c

11 years agoremove uses of Surface in favor or IGraphicBufferProducer
Mathias Agopian [Wed, 13 Mar 2013 01:42:23 +0000 (18:42 -0700)]
remove uses of Surface in favor or IGraphicBufferProducer

Change-Id: I13d7a9553aa335bca790a3a59d389d7533c83d57

11 years agoremove CameraServiceTest which wasn't used
Mathias Agopian [Wed, 13 Mar 2013 00:40:55 +0000 (17:40 -0700)]
remove CameraServiceTest which wasn't used

this test hasn't been compiled or run in a long long time
and isn't up to date or relevant.

Change-Id: I5a7f1190d4a783e088d44e3e6ef66231cf0cfb49

11 years agoMerge "Squashed commit of the following:" into jb-mr2-dev
Andreas Huber [Tue, 12 Mar 2013 20:57:57 +0000 (20:57 +0000)]
Merge "Squashed commit of the following:" into jb-mr2-dev

11 years agoSquashed commit of the following:
Andreas Huber [Tue, 12 Mar 2013 18:01:43 +0000 (11:01 -0700)]
Squashed commit of the following:

commit f4edf442741886cdbe071e2d15f6e6247269f7c5
Author: Andreas Huber <andih@google.com>
Date:   Tue Mar 12 09:09:18 2013 -0700

    Pass additional flags to the sink, use TCP by default in wolfiecast mode.

    Change-Id: I41e11a2375d4199656e45c4f149d8441d0016092

commit 6302602ed280a38287f507159abfb40a1da38c5a
Author: Andreas Huber <andih@google.com>
Date:   Tue Mar 12 08:51:58 2013 -0700

    tweaks

    Change-Id: Ie29e422d7258be522f4bb1f6c5afcf74c937e547

commit a38a860e4979ba563cadbaafa21b084439449d26
Author: Andreas Huber <andih@google.com>
Date:   Mon Mar 11 16:57:43 2013 -0700

    Report average lateness all the way from NuPlayerRenderer...

    Change-Id: I2e7700703ae656515e44b9c25610d26c75778111

commit a7d49b11675ea88be4029dd8451d1649db94571d
Author: Andreas Huber <andih@google.com>
Date:   Mon Mar 11 14:54:19 2013 -0700

    Make TimeSyncer smarter, enable TunnelRenderer

    Change-Id: I27377a60cd8feb01589da456967fddd34532c20e

commit 0f214c8ef68179f7b61512c37040939554013151
Author: Andreas Huber <andih@google.com>
Date:   Thu Mar 7 15:57:56 2013 -0800

    convert source timestamps to sink timestamps, report lateness.

    Change-Id: I051a60fbbceca2f7b508ae3dac6e01e402bae39e

commit 04a4f8e16bad09157b5615a5fa45310438955832
Author: Andreas Huber <andih@google.com>
Date:   Thu Mar 7 09:00:28 2013 -0800

    Sync time between sink and source.

    Change-Id: Ie8b4d75c957aa48310e7c81d1279761b9f821efe

commit aebe20e6184e3636a99082f8ece08e708015cb8d
Author: Andreas Huber <andih@google.com>
Date:   Wed Mar 6 09:03:12 2013 -0800

    play with back pressure

    Change-Id: I51eb69257e6a79e76f5f9c75ff99d8adbd083947

Change-Id: Ifdf57228667fed7fc71c5090a2c3f7cea1037c5c

11 years agoMerge "GraphicBufferSource fixes" into jb-mr2-dev
Andy McFadden [Tue, 12 Mar 2013 19:29:23 +0000 (19:29 +0000)]
Merge "GraphicBufferSource fixes" into jb-mr2-dev

11 years agoGraphicBufferSource fixes
Andy McFadden [Mon, 11 Mar 2013 22:09:32 +0000 (15:09 -0700)]
GraphicBufferSource fixes

Various fixes:
- Set the maximum number of BQ buffers we're allowed to
  acquire equal to the actual number of codec buffers.  That
  way we keep the codec as full as possible, and never try to
  acquire more than we're allowed from the BufferQueue.
- Actually use "end of stream sent" flag.
- Name the BufferQueue (for debug messages).

Bug 8359403

Change-Id: I3b8c1f679bbebf6a89e623e13ca029eda7f657ba

11 years agoPrevent invalid frame durations
Ola Andersson [Wed, 5 Dec 2012 12:07:58 +0000 (13:07 +0100)]
Prevent invalid frame durations

Prevent frame duration from being negative when
exporting movie studio project

Change-Id: I459fb243650c777c2b59d1094acc88c3a944bd81

11 years agoFix for crash if no content in DESCRIBE response
Xuefei Chen [Mon, 7 Jan 2013 08:43:13 +0000 (16:43 +0800)]
Fix for crash if no content in DESCRIBE response

If DESCRIBE response is received with status 200 but no content,
MyHandler will still set content data for session description
parsing. This will cause NULL Pointer crash.
This fix checks whether DESCRIBE response has content before
parsing session description.

Change-Id: I114ae6fd54ce804e61718f62618ca9008425a433

11 years agoCamera: Make ProCamera connect take the same paths as Camera connect
Igor Murashkin [Tue, 5 Mar 2013 01:25:57 +0000 (17:25 -0800)]
Camera: Make ProCamera connect take the same paths as Camera connect

* ProCamera uses the app ops manager
* Refactored connect calls to be as common as possible
* Removed some useless not implemented function calls in ProClient

Change-Id: I5dab30d20f0c202a494a07b2cfe4c1fa04a2a076

11 years ago(Camera)ProCamera: Remove unused functions from binder interface
Igor Murashkin [Tue, 5 Mar 2013 00:14:23 +0000 (16:14 -0800)]
(Camera)ProCamera: Remove unused functions from binder interface

Change-Id: I0582268cef6e84b630bc87c8a03dcd69d54c440d

11 years ago(Camera)FrameProcessor: Refactor to share code with ProFrameProcessor
Igor Murashkin [Mon, 4 Mar 2013 22:53:08 +0000 (14:53 -0800)]
(Camera)FrameProcessor: Refactor to share code with ProFrameProcessor

Change-Id: Ie8cd0df7caf83f9d0134f560ae31ab72f2f7d1fc

11 years agoCameraService: Refactor Camera2Client to share a base with ProCameraClient
Igor Murashkin [Sat, 2 Mar 2013 00:22:28 +0000 (16:22 -0800)]
CameraService: Refactor Camera2Client to share a base with ProCameraClient

Change-Id: I249e2a0fc47ae84f29c9d9c4a223fba13da3ee66

11 years agoMerge "Increase size of statistics buffer" into jb-mr2-dev
Glenn Kasten [Mon, 11 Mar 2013 22:55:17 +0000 (22:55 +0000)]
Merge "Increase size of statistics buffer" into jb-mr2-dev

11 years agoam c5604b08: am 0fe40641: am 72c7cf9d: am a1b1e2de: (-s ours) am 56f387a4: (-s ours...
Jean-Baptiste Queru [Mon, 11 Mar 2013 20:44:22 +0000 (13:44 -0700)]
am c5604b08: am 0fe40641: am 72c7cf9d: am a1b1e2de: (-s ours) am 56f387a4: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit 'c5604b081b6cac558ed94dce88dedf1a467185b7':

11 years agoam 0fe40641: am 72c7cf9d: am a1b1e2de: (-s ours) am 56f387a4: (-s ours) Reconcile...
Jean-Baptiste Queru [Mon, 11 Mar 2013 20:13:28 +0000 (13:13 -0700)]
am 0fe40641: am 72c7cf9d: am a1b1e2de: (-s ours) am 56f387a4: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '0fe40641db3759088edc1bc7f0182556d77bede6':

11 years agoam 72c7cf9d: am a1b1e2de: (-s ours) am 56f387a4: (-s ours) Reconcile with jb-mr1...
Jean-Baptiste Queru [Mon, 11 Mar 2013 20:00:27 +0000 (13:00 -0700)]
am 72c7cf9d: am a1b1e2de: (-s ours) am 56f387a4: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '72c7cf9d13f5a51a71dccc6d94317727bd0feec3':

11 years agoam a1b1e2de: (-s ours) am 56f387a4: (-s ours) Reconcile with jb-mr1-release - do...
Jean-Baptiste Queru [Mon, 11 Mar 2013 19:41:47 +0000 (12:41 -0700)]
am a1b1e2de: (-s ours) am 56f387a4: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit 'a1b1e2de67ed5ed3dfa8c8e9554bb0f0ab18a71c':

11 years agoam 56f387a4: (-s ours) Reconcile with jb-mr1-release - do not merge
Jean-Baptiste Queru [Mon, 11 Mar 2013 19:23:04 +0000 (12:23 -0700)]
am 56f387a4: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '56f387a4a8f319f3e6080b5e5963a4b177053cbe':

11 years agoReconcile with jb-mr1-release - do not merge
Jean-Baptiste Queru [Mon, 11 Mar 2013 19:19:00 +0000 (12:19 -0700)]
Reconcile with jb-mr1-release - do not merge

11 years agoIncrease size of statistics buffer
Glenn Kasten [Mon, 11 Mar 2013 17:58:50 +0000 (10:58 -0700)]
Increase size of statistics buffer

Bug: 8354576
Change-Id: I327e9dc203e09df8abc21e589ce9056540618abd

11 years agoMerge "Clean up the native code to match Java update" into jb-mr2-dev
ztenghui [Fri, 8 Mar 2013 23:13:07 +0000 (23:13 +0000)]
Merge "Clean up the native code to match Java update" into jb-mr2-dev

11 years agoClean up the native code to match Java update
ztenghui [Fri, 22 Feb 2013 22:32:59 +0000 (14:32 -0800)]
Clean up the native code to match Java update

1. Add flags to match the java side change.
2. Update the interface.

bug:7991013

Change-Id: I8ffe84c466b2a68e2e1e48b35b78db9e44640265

11 years agoMerge "Disable our fancy logic to respect both sink and source's native formats"...
Andreas Huber [Thu, 7 Mar 2013 23:56:17 +0000 (23:56 +0000)]
Merge "Disable our fancy logic to respect both sink and source's native formats" into jb-mr2-dev

11 years agoMerge "Camera: Log warning on out-of-range face detect scores" into jb-mr2-dev
Alex Ray [Thu, 7 Mar 2013 22:02:51 +0000 (22:02 +0000)]
Merge "Camera: Log warning on out-of-range face detect scores" into jb-mr2-dev

11 years agoDisable our fancy logic to respect both sink and source's native formats
Andreas Huber [Thu, 7 Mar 2013 18:57:07 +0000 (10:57 -0800)]
Disable our fancy logic to respect both sink and source's native formats

since it isn't actually supported by anything in the field.

Change-Id: I9cd038d7631105de26303312ca87c472d67034d4

11 years agoThe transport stream HDCP descriptor belongs in the program_info section
Andreas Huber [Thu, 7 Mar 2013 18:33:20 +0000 (10:33 -0800)]
The transport stream HDCP descriptor belongs in the program_info section

instead of being included in the per-stream descriptors

Change-Id: If5251c0c02456646e2fdbb5e62acf66c356cf13e

11 years agoCamera: Log warning on out-of-range face detect scores
Alex Ray [Thu, 7 Mar 2013 07:28:51 +0000 (23:28 -0800)]
Camera: Log warning on out-of-range face detect scores

Bug: 7368364
Change-Id: I7b1e995dd15e87c816b89ccf9968a222fd66d140

11 years agoMerge "Correct MediaCodec + Surface behavior" into jb-mr2-dev
Andy McFadden [Wed, 6 Mar 2013 17:42:23 +0000 (17:42 +0000)]
Merge "Correct MediaCodec + Surface behavior" into jb-mr2-dev

11 years agoCorrect MediaCodec + Surface behavior
Andy McFadden [Tue, 5 Mar 2013 22:31:02 +0000 (14:31 -0800)]
Correct MediaCodec + Surface behavior

Assorted tweaks:
- Allow signalEndOfInputStream() before ACodec is in Executing
  state (added message to two more states).
- Return an error if signalEndOfInputStream() is called a second
  time on the same stream.
- Require AndroidOpaque color format in createInputSurface().
- Disallow dequeueInputBuffer() after an input surface has been
  created (boolean flag in MediaCodec tracks it).
- Discard input surface when encoder is re-configure()ed (drop
  OMXNodeInstance's ref when we go back to Loaded).

Bug 7991062

Change-Id: Iff30f3036e14eb5a2f6536910dcf11aba33031ee

11 years agoMerge "Add template class SingleStateQueue" into jb-mr2-dev
Glenn Kasten [Wed, 6 Mar 2013 00:18:04 +0000 (00:18 +0000)]
Merge "Add template class SingleStateQueue" into jb-mr2-dev

11 years agoMerge "Squashed commit of the following:" into jb-mr2-dev
Andreas Huber [Tue, 5 Mar 2013 21:36:28 +0000 (21:36 +0000)]
Merge "Squashed commit of the following:" into jb-mr2-dev

11 years agoSquashed commit of the following:
Andreas Huber [Tue, 5 Mar 2013 18:56:27 +0000 (10:56 -0800)]
Squashed commit of the following:

commit e5919b1f57ea61fa1d380dfdb4e3e832ce73d79d
Author: Andreas Huber <andih@google.com>
Date:   Wed Feb 27 16:38:48 2013 -0800

    Configure TCP datagram sockets to be TCP_NODELAY.

    Change-Id: Ia724a81e6e27dccd00ac84603e712d69ca77a0cd

commit 1b52b393183db8a6dc000a7c31baac544ccfc50c
Author: Andreas Huber <andih@google.com>
Date:   Wed Feb 27 14:26:01 2013 -0800

    Send IDR frame requests on packet loss.

    Change-Id: I53b7fb85cbd6923491113b93ec3e2175726d654a

commit 68d76b4b3a0181b30abc57cd2915273210530a6d
Author: Andreas Huber <andih@google.com>
Date:   Tue Feb 26 15:12:34 2013 -0800

    Revive TunnelRenderer

    Change-Id: I8c5a9d982793b1c5b841c828227b354f1dab618c

commit 3df28a8e9d8bcdc1430016bb088d097eca653b56
Author: Andreas Huber <andih@google.com>
Date:   Tue Feb 26 13:53:14 2013 -0800

    Disable suspension of video updates.

    Change-Id: I7e3a16b8d7dd7a55d9f962a2236388931f664106

commit 2ec7a79de019a26ec415016c1478afd762f069cd
Author: Andreas Huber <andih@google.com>
Date:   Tue Feb 26 08:54:40 2013 -0800

    Adds an SNTP client to wfd.

    Change-Id: Icd7d6104e951e1443e4c1b81ccf6b3731d79d3ec

commit c81c3bb5725bb4079a4d7fb02151ad0bb540632f
Author: Andreas Huber <andih@google.com>
Date:   Mon Feb 25 10:00:58 2013 -0800

    Squashed commit of the following:

    commit b83a4ec96659ef6f6b7c2090fdd866abe3ab78ba
    Author: Andreas Huber <andih@google.com>
    Date:   Mon Feb 25 09:28:11 2013 -0800

        Some reorganization of the rtp code, renamed StreamHub -> MediaSender

        Change-Id: I8cf67444960e60426bf74880af1acce41e8b2fef

    commit 7769cbd739f2a67c58e0c6a7b1a21a12210c7c4d
    Author: Andreas Huber <andih@google.com>
    Date:   Fri Feb 22 16:12:18 2013 -0800

        Choose a smaller MTU to avoid fragmented IPv4 packets, fix AVC assembler.

        Change-Id: I274b3cc1483c4e9f4d146dbf9f3d9f7557ef7ef9

    commit 1f687ee80a88b56d614c2cf408ff729114ff86a0
    Author: Andreas Huber <andih@google.com>
    Date:   Fri Feb 22 11:38:31 2013 -0800

        better reporting.

        Change-Id: I67f0bb51f106ea77f5cc75938b053c8e8e8f688e

    commit 7950c1cd59213eb5f281fcde44a772ecffae473d
    Author: Andreas Huber <andih@google.com>
    Date:   Fri Feb 22 09:07:41 2013 -0800

        stuff

        Change-Id: Ib99416366d3eec6e6ad69b4d791a8a9408410f3b

    commit 33c09045b0f86fcaa4619cbd679b47a074f71231
    Author: Andreas Huber <andih@google.com>
    Date:   Thu Feb 21 15:54:01 2013 -0800

        Render frames according to their timestamps.

        Change-Id: I8143a95cffe775799d6a4bb093558bd7abb1f063

    commit d8b6daae2160bf1c016d7c6251256b46bb89db42
    Author: Andreas Huber <andih@google.com>
    Date:   Thu Feb 21 15:01:27 2013 -0800

        Better packet-lost logic.

        Change-Id: I611eee5a42bd089638cf45b0e16f628ff2a955ab

    commit 782c6b15717e2d062d96665a089d06c0577733d0
    Author: Andreas Huber <andih@google.com>
    Date:   Wed Feb 20 15:06:47 2013 -0800

        Add a dedicated looper for the MediaReceiver

        Change-Id: I3b79cad367fb69c9a160a8d009af8c5f5142b98e

    commit 4c7b8b10861674b773270103bcabd1a99486a691
    Author: Andreas Huber <andih@google.com>
    Date:   Wed Feb 20 14:30:28 2013 -0800

        Tweaks to RTPSender and RTPReceiver

        Change-Id: Ib535552f289a26cfead6df8c63e4c63d3987d4e9

    commit 39226b28177a816cda5c67b321745d396b18277d
    Author: Andreas Huber <andih@google.com>
    Date:   Tue Feb 19 08:48:25 2013 -0800

        Playing around with non muxed delivery

        Change-Id: I845375f6938d04bc30502840c2ceb7688dc9b237

    commit c16d21de75d8ecdbcd9abce14934afe484970061
    Author: Andreas Huber <andih@google.com>
    Date:   Wed Feb 13 14:43:35 2013 -0800

        A more solid base for RTP communication.

        Change-Id: I52033eeb0feba0ff029d61553a821c82f2fa1c3f

    Change-Id: I57e3bcfc1c59a012b15aaaa42ed81f09c34c26bb

Change-Id: I4b09db4a44d0eeded7a1658f6dc6c97d4b8be720

11 years agoMerge "Implement Surface input to MediaCodec." into jb-mr2-dev
Andy McFadden [Tue, 5 Mar 2013 17:41:25 +0000 (17:41 +0000)]
Merge "Implement Surface input to MediaCodec." into jb-mr2-dev

11 years agoAdd template class SingleStateQueue
Glenn Kasten [Mon, 26 Nov 2012 18:40:24 +0000 (10:40 -0800)]
Add template class SingleStateQueue

Change-Id: If7e2bc9b2a216524ee9cbb68682e2634933b4973

11 years agoImplement Surface input to MediaCodec.
Andy McFadden [Tue, 19 Feb 2013 15:28:30 +0000 (07:28 -0800)]
Implement Surface input to MediaCodec.

Also, renamed a CHECK_INTERFACE macro that was clashing with the
Binder version.

Bug 7991062

Change-Id: If5e6ed0a06d9f67975497676e4b05abe3aa3d6c0

11 years agoMerge "Miscellaneous cleanup" into jb-mr2-dev
Glenn Kasten [Mon, 4 Mar 2013 22:38:34 +0000 (22:38 +0000)]
Merge "Miscellaneous cleanup" into jb-mr2-dev

11 years agoModified udptest to sync time across devices.
Andreas Huber [Mon, 4 Mar 2013 21:05:22 +0000 (13:05 -0800)]
Modified udptest to sync time across devices.

Change-Id: Ib055cd8ab5931395907d017331e27f5d781d7019

11 years agoMiscellaneous cleanup
Glenn Kasten [Tue, 26 Feb 2013 19:32:32 +0000 (11:32 -0800)]
Miscellaneous cleanup

Abbreviation framesReady to fRdy for new systrace.
Put inline const on one line.
Use local copy of mState in state.
Improve logging.
Line length 100.

Change-Id: I8201c3ce0e53fd464fd33d02544e52c342d40b68

11 years agoMerge "media.log cleanup" into jb-mr2-dev
Glenn Kasten [Sat, 2 Mar 2013 00:04:34 +0000 (00:04 +0000)]
Merge "media.log cleanup" into jb-mr2-dev

11 years agomedia.log cleanup
Glenn Kasten [Wed, 27 Feb 2013 17:05:28 +0000 (09:05 -0800)]
media.log cleanup

Remove almost all of the specific logs, but leave the media.log
logging infrastructure in place for the next time we need it.

Re-apply a few good changes that were reverted earlier:
 - check logf format vs. argument list compatibility
 - distinguish potentially modified and actually modified tracks in FastMixer
 - fix benign bug where sq->end() was called more than once
 - fix a build warning

Bug: 6490974
Change-Id: I02d3e83646c738acaebb415bd0d6b548638b4ef5

11 years agoam c0048178: Merge "Avoid invalid memory access when using extractMetadata()"
Marco Nelissen [Fri, 1 Mar 2013 19:37:58 +0000 (19:37 +0000)]
am c0048178: Merge "Avoid invalid memory access when using extractMetadata()"

* commit 'c0048178a1d312e7e05557ba99becd6a89b9e97a':
  Avoid invalid memory access when using extractMetadata()

11 years agoMerge "Avoid invalid memory access when using extractMetadata()"
Marco Nelissen [Fri, 1 Mar 2013 19:06:22 +0000 (19:06 +0000)]
Merge "Avoid invalid memory access when using extractMetadata()"

11 years agoMerge "Remove tee sink debugging at compile time" into jb-mr2-dev
Glenn Kasten [Fri, 1 Mar 2013 17:05:28 +0000 (17:05 +0000)]
Merge "Remove tee sink debugging at compile time" into jb-mr2-dev

11 years agoMerge changes I25423a2b,I24680f1a into jb-mr2-dev
Igor Murashkin [Fri, 1 Mar 2013 02:20:48 +0000 (02:20 +0000)]
Merge changes I25423a2b,I24680f1a into jb-mr2-dev

* changes:
  ProCamera: Add CpuConsumer asynchronous mode support
  Camera: Drop ProCamera connections when a Camera connection happens

11 years agoMerge "ProCameraTest: Drop frames test move processing delay between lock/unlock...
Igor Murashkin [Fri, 1 Mar 2013 02:20:44 +0000 (02:20 +0000)]
Merge "ProCameraTest: Drop frames test move processing delay between lock/unlock" into jb-mr2-dev

11 years agoProCamera: Add CpuConsumer asynchronous mode support
Igor Murashkin [Thu, 28 Feb 2013 19:21:00 +0000 (11:21 -0800)]
ProCamera: Add CpuConsumer asynchronous mode support

Bug: 8290146
Bug: 8291751
Change-Id: I25423a2b8a70ac7169911b1c7b482aa17190fe0f

11 years agoCamera: Drop ProCamera connections when a Camera connection happens
Igor Murashkin [Wed, 27 Feb 2013 20:55:20 +0000 (12:55 -0800)]
Camera: Drop ProCamera connections when a Camera connection happens

* Also adds an ICameraServiceListener with available/not available statuses

Bug: 8291653
Change-Id: I24680f1a2dc109510caf451cf7c7bd180b670d84

11 years agoProCameraTest: Drop frames test move processing delay between lock/unlock
Igor Murashkin [Thu, 28 Feb 2013 18:41:51 +0000 (10:41 -0800)]
ProCameraTest: Drop frames test move processing delay between lock/unlock

* This makes it more likely to find races with the buffer being unlocked
  by itself

Change-Id: I1fa7dbfb73f60664a02a35678b58bcc9b06893a2

11 years agoAvoid invalid memory access when using extractMetadata()
Sangkyu Lee [Fri, 8 Feb 2013 07:26:39 +0000 (16:26 +0900)]
Avoid invalid memory access when using extractMetadata()

BpMediaMetadataRetriever::extractMetadata() returns a string
which is returned by readCString() function of the reply parcel object.
However, the parcel object is destroyed at the end of the
extractMetadata() function, and so the returned pointer is invalid.
This patch fixes this problem by storing the metadata string value.

Change-Id: I2a2ccba78246175b2845a237679d6cebe881e83b
Signed-off-by: Sangkyu Lee <sk82.lee@lge.com>
11 years agoam ceb83b8d: Merge "SoftAMR: Signal the right frame format"
Andreas Huber [Wed, 27 Feb 2013 21:14:45 +0000 (21:14 +0000)]
am ceb83b8d: Merge "SoftAMR: Signal the right frame format"

* commit 'ceb83b8d8919dc778402bf610c073987d4f9f89b':
  SoftAMR: Signal the right frame format

11 years agoam ccf51ec4: Merge "SoftVorbis: Set the right encoding in the port definition"
Andreas Huber [Wed, 27 Feb 2013 21:14:45 +0000 (21:14 +0000)]
am ccf51ec4: Merge "SoftVorbis: Set the right encoding in the port definition"

* commit 'ccf51ec41652a7e2db8cbee37bca91a95908d5ff':
  SoftVorbis: Set the right encoding in the port definition

11 years agoCamera: Start of support for version 3.0 of camera device HAL
Eino-Ville Talvala [Thu, 7 Feb 2013 01:20:07 +0000 (17:20 -0800)]
Camera: Start of support for version 3.0 of camera device HAL

- Refactor common CameraDevice interface out of Camera2Device
- Initial skeleton only for Camera3Device

Change-Id: I097cc76e2ad102a51712ac114235163245f5482c

11 years agoMerge "camera_client: refactor Camera/ProCamera commonalities into BasicCamera" into...
Igor Murashkin [Wed, 27 Feb 2013 20:43:26 +0000 (20:43 +0000)]
Merge "camera_client: refactor Camera/ProCamera commonalities into BasicCamera" into jb-mr2-dev

11 years agoMerge "SoftAMR: Signal the right frame format"
Andreas Huber [Wed, 27 Feb 2013 20:13:24 +0000 (20:13 +0000)]
Merge "SoftAMR: Signal the right frame format"

11 years agoMerge "SoftVorbis: Set the right encoding in the port definition"
Andreas Huber [Wed, 27 Feb 2013 20:12:07 +0000 (20:12 +0000)]
Merge "SoftVorbis: Set the right encoding in the port definition"

11 years agoMerge "Revert "Logging to investigate a crash"" into jb-mr2-dev
Glenn Kasten [Wed, 27 Feb 2013 18:11:04 +0000 (18:11 +0000)]
Merge "Revert "Logging to investigate a crash"" into jb-mr2-dev

11 years agoam 801726ef: Merge "MPEG4Writer: Write a zero-length compressor string"
Andreas Huber [Wed, 27 Feb 2013 17:59:00 +0000 (17:59 +0000)]
am 801726ef: Merge "MPEG4Writer: Write a zero-length compressor string"

* commit '801726efb2dcc6ea19e9f55c7c43fe41f0c6643e':
  MPEG4Writer: Write a zero-length compressor string

11 years agoRevert "Logging to investigate a crash"
Glenn Kasten [Wed, 27 Feb 2013 17:39:39 +0000 (09:39 -0800)]
Revert "Logging to investigate a crash"

This reverts commit f0ff908da019a44115109f1b4d1b6864b35a8a29.

11 years agoMerge "MPEG4Writer: Write a zero-length compressor string"
Andreas Huber [Wed, 27 Feb 2013 16:53:21 +0000 (16:53 +0000)]
Merge "MPEG4Writer: Write a zero-length compressor string"

11 years agocamera_client: refactor Camera/ProCamera commonalities into BasicCamera
Igor Murashkin [Tue, 26 Feb 2013 22:32:34 +0000 (14:32 -0800)]
camera_client: refactor Camera/ProCamera commonalities into BasicCamera

Change-Id: Ie10a4094522d49683657665fe94ab0b7ccd280e9

11 years agoRemove tee sink debugging at compile time
Glenn Kasten [Tue, 26 Feb 2013 17:20:22 +0000 (09:20 -0800)]
Remove tee sink debugging at compile time

Bug: 8223560
Change-Id: Iddbfb06c45d43d9f20bb428215dd4094931e19a7

11 years agoam ceb388d6: CameraService and Stagefright: Support AppOps
Eino-Ville Talvala [Tue, 26 Feb 2013 01:40:39 +0000 (01:40 +0000)]
am ceb388d6: CameraService and Stagefright: Support AppOps

* commit 'ceb388d6c03c38b96dc41c0ea4804b749aa077c4':
  CameraService and Stagefright: Support AppOps

11 years agoCameraService and Stagefright: Support AppOps
Eino-Ville Talvala [Tue, 19 Feb 2013 18:40:14 +0000 (10:40 -0800)]
CameraService and Stagefright: Support AppOps

Camera:
- Signal to AppOpsService when camera usage starts and stops
- Listen to permissions revocations and act on them
- Currently just kill camera connection when permissions lost

Stagefright:
- Pass on client name, UID to camera as needed

Bug: 8181262
Change-Id: I9e33c9d05e9daa77dbb2d795045d08eb887ec8f0

11 years agoMerge "Handles duplicated NAL start code to fix crash on HLS streams."
Andreas Huber [Mon, 25 Feb 2013 17:02:22 +0000 (17:02 +0000)]
Merge "Handles duplicated NAL start code to fix crash on HLS streams."

11 years agoHandles duplicated NAL start code to fix crash on HLS streams.
Insun Kang [Fri, 23 Nov 2012 10:00:07 +0000 (19:00 +0900)]
Handles duplicated NAL start code to fix crash on HLS streams.

Some youtube live streams are encoded having duplicated NAL start code,
for instance, 00 00 01 00 00 00 01 ....

In previous code, zero NAL size causes crash by CHECK_GT(nalsize, 0)
macro. With this patch, duplicated NAL start code will be just ignored.

TESTED=Played problematic Youtube Live streams.

Change-Id: I1d76f111a34bd29cb09b037eb1b0626fe5f5b140

11 years agoMerge "Update tee sink"
Glenn Kasten [Sat, 23 Feb 2013 01:19:43 +0000 (01:19 +0000)]
Merge "Update tee sink"

11 years agoUpdate tee sink
Glenn Kasten [Thu, 10 Jan 2013 20:31:01 +0000 (12:31 -0800)]
Update tee sink

Implement rotation to reduce long-term storage use.
Implement optional per-track tee.
Dynamically enable at runtime based on property, instead of at compile-time.
Dynamic frame count not yet implemented.

Bug: 8223560
Change-Id: I3706443c6ec0cb0c6656dc288715a02ad5fea63a

11 years agoProCamera: Fix waitForFrameBuffer not handling multiple outstanding frames
Igor Murashkin [Wed, 20 Feb 2013 21:36:17 +0000 (13:36 -0800)]
ProCamera: Fix waitForFrameBuffer not handling multiple outstanding frames

If the CpuConsumer triggered multiple onFrameAvailable callbacks in between
a single waitForFrameBuffer call, the old code would only handle 1 callback.

This meant on two subsequent waitForFrameBuffer calls the second would always
timeout when two buffers were already available to be unlocked.

Bug: 8238112
Change-Id: Ibefca35005ac5c408e5ada97ec4a4344a9e3e497

11 years agoProCamera: add waitForFrameBuffer/waitForFrameResult blocking calls
Igor Murashkin [Thu, 21 Feb 2013 22:45:03 +0000 (14:45 -0800)]
ProCamera: add waitForFrameBuffer/waitForFrameResult blocking calls

Change-Id: I851d41aeecaa15245d5b9d622132e8706d6e292c

11 years agoCamera: ProCameraTests: clean up a bit, still needs more cleanup
Igor Murashkin [Thu, 21 Feb 2013 22:18:10 +0000 (14:18 -0800)]
Camera: ProCameraTests: clean up a bit, still needs more cleanup

Change-Id: Ia7e18c81002c8d98176f21553cf13cbd13cfdf5d

11 years agoProCamera: Add getInfo for getting static metadata (and a test)
Igor Murashkin [Thu, 21 Feb 2013 21:49:26 +0000 (13:49 -0800)]
ProCamera: Add getInfo for getting static metadata (and a test)

Change-Id: I3b87dfbc621d98bf41f37a892a1012baf85b5166

11 years agoCamera: ProCamera - implement onResultReceived callback for metadata callbacks
Igor Murashkin [Thu, 21 Feb 2013 20:02:29 +0000 (12:02 -0800)]
Camera: ProCamera - implement onResultReceived callback for metadata callbacks

Change-Id: I46775402b007244bc383d6343a620eebbd492aad

11 years agoCamera: ProCameraTests - add CpuConsumer tests for dual streams
Igor Murashkin [Thu, 21 Feb 2013 19:43:14 +0000 (11:43 -0800)]
Camera: ProCameraTests - add CpuConsumer tests for dual streams

Change-Id: Ia010450dc79ac2841645b8c2e1553c9ec74ee5e3