Commit Graph

5158 Commits

Author SHA1 Message Date
Jae Seo
eed721c3bb Merge "TIF: Set the surface secure" into nyc-dev am: 9675f16bba am: 711ae66a4b
am: 9aa6e93aba

* commit '9aa6e93abaebba22fa3f3592fa0c4eef84b780ea':
  TIF: Set the surface secure

Change-Id: I4ec13078760c33196c9db7ab82d3f38443b86516
2016-06-06 20:28:55 +00:00
Jae Seo
711ae66a4b Merge "TIF: Set the surface secure" into nyc-dev
am: 9675f16bba

* commit '9675f16bba6837840038aea92e9db5893cecd33e':
  TIF: Set the surface secure

Change-Id: Ic70459cd294453907ce573c55ca0f16868177789
2016-06-06 20:01:14 +00:00
Jae Seo
22168a7dfc TIF: Set the surface secure
Bug: 29104650
Change-Id: I481bf30c57a7c29faaf1cafe64607c22fe55f707
2016-06-02 15:07:17 -07:00
Lajos Molnar
a6ff95dff3 media: fix issues with video profile levels am: 2fc9c6925a am: 9e56ec51b0
am: 8ce6dee142

* commit '8ce6dee142d05f904b6948e8ae72bcbfadd14c51':
  media: fix issues with video profile levels

Change-Id: I375e0d59f7ce3a4bd26fd87a59f223aa8954cf9e
2016-06-02 04:10:07 +00:00
Lajos Molnar
8ce6dee142 media: fix issues with video profile levels am: 2fc9c6925a
am: 9e56ec51b0

* commit '9e56ec51b09803982f2c60075ab6523b69bd0933':
  media: fix issues with video profile levels

Change-Id: I15f18757181186524c63185e26536deddb774eb5
2016-06-02 04:03:58 +00:00
Lajos Molnar
49f982ec7b media: fix issues with video profile levels
am: 2fc9c6925a

* commit '2fc9c6925a51b18452e8080d5ac2d50babd0c866':
  media: fix issues with video profile levels

Change-Id: Id691f951f7b27aded9d2e9d996cd01ebc172d7cf
2016-06-02 03:57:49 +00:00
Lajos Molnar
2fc9c6925a media: fix issues with video profile levels
Support additional corner cases in level ordering:
- MPEG4Level1 only implies support for MPEG4Level0
- HEVC high tier levels are only supported by other high tier levels

H263 unusual level definitions:
- levels 45/50+ define minimum requirements that codecs can extend
- levels 10-45 define minimum size
- restrict to QCIF and CIF only if codecs only supports levels 10-40
  (or 45 in profiles 0 and 2)

MPEG4 max width/height/frame rate:
- Only specified for MPEG4Level0/0b
- Using arbitrary 2:1 aspect ratio and 60fps for other levels
  This is sure to include typical sizes for levels

Fix level limits:
- MPEG2LevelML max 25fps for D1 PAL
- H263Level20 max 30fps, but only 15fps for CIF
- H263Level45 max 15fps
- H263Level45+ min alignment is 4
- MPEG4Level0b max 15fps
- add support for VP9 HDR profiles
- fix HEVC overflow for Level62 calculations

Bug: 28671284
Change-Id: Ie75ae1d19f20d5c6eb40807d03c3b487854eb9a0
2016-06-01 19:08:34 -07:00
Jae Seo
5f81e70da9 Merge "Fix documentation for channel types" into nyc-dev am: cf7b33426e am: e96afc7bc2
am: 4c7db55141

* commit '4c7db55141a353fcc1894a6b19e04cdec3dbf9f7':
  Fix documentation for channel types

Change-Id: Ibb73cdfafc247157a62d3f509634886de09335b4
2016-06-02 01:04:51 +00:00
Lajos Molnar
eeba92a884 Merge "media: avoid NPE in CodecCapabilities.createFromProfileLevel" into nyc-dev am: 9061b26f1e am: 12273862c3
am: d1991f03de

* commit 'd1991f03de6e2fa25f7e3f6d8cc5a6b25ce6ff7e':
  media: avoid NPE in CodecCapabilities.createFromProfileLevel

Change-Id: Icbd327f57fbadacadf70c47f8c60dcfb6bdeeaef
2016-06-02 01:01:13 +00:00
Daichi Hirono
fc4aa530de Merge "Remove MTP API marked as @removed." 2016-06-02 00:23:40 +00:00
Jae Seo
e96afc7bc2 Merge "Fix documentation for channel types" into nyc-dev
am: cf7b33426e

* commit 'cf7b33426e6db0abab94895c3c89c76869f0a8c6':
  Fix documentation for channel types

Change-Id: I4d70f850761d639d4f9ceeff1fe3d33483267415
2016-06-02 00:10:33 +00:00
Jae Seo
cf7b33426e Merge "Fix documentation for channel types" into nyc-dev 2016-06-02 00:03:53 +00:00
Lajos Molnar
12273862c3 Merge "media: avoid NPE in CodecCapabilities.createFromProfileLevel" into nyc-dev
am: 9061b26f1e

* commit '9061b26f1ecba936f6f912398a9238c21dfa789c':
  media: avoid NPE in CodecCapabilities.createFromProfileLevel

Change-Id: I3cd969d6e686714cd7d9fa49eec70e9d810df36b
2016-06-01 23:44:12 +00:00
Robert Shih
d748cf6ff3 resolve merge conflicts of d579be0 to nyc-dev-plus-aosp am: 4c3d43d2c2
am: e188177c21

* commit 'e188177c21e65545cb29c972a0fe06457669512a':
  Fix deadlock when showing subtitles MediaPlayer

Change-Id: Id7017b8cc3352cf2ee5f3f6c8590cda97c373a99
2016-06-01 23:39:39 +00:00
TreeHugger Robot
9061b26f1e Merge "media: avoid NPE in CodecCapabilities.createFromProfileLevel" into nyc-dev 2016-06-01 23:29:49 +00:00
Robert Shih
4c3d43d2c2 resolve merge conflicts of d579be0 to nyc-dev-plus-aosp
Change-Id: Ib64df6377d95578581fd7d311aaffc3ef64dd622
2016-06-01 14:53:09 -07:00
Robert Shih
d579be0cf2 Merge "Fix deadlock when showing subtitles MediaPlayer" into nyc-dev 2016-06-01 17:17:00 +00:00
Jae Seo
750e48738c Fix documentation for channel types
Bug: 28747244
Change-Id: I492bdb94400b298d7f2e0ccf9054761e60c5a548
2016-06-01 08:24:18 -07:00
Lajos Molnar
a0846251d2 Merge "media: avoid recursion when evaluating profile support" into nyc-dev am: a72a83a172 am: bf3d1fc245
am: d3560d6c05

* commit 'd3560d6c05b624ae739097fd5980787113440699':
  media: avoid recursion when evaluating profile support

Change-Id: I32a3f8c7d7f96ced191790ddfacb4405d9474a27
2016-06-01 01:21:47 +00:00
Lajos Molnar
bf3d1fc245 Merge "media: avoid recursion when evaluating profile support" into nyc-dev
am: a72a83a172

* commit 'a72a83a1724d1a2b047fdbb8ab343db6b9b4b7ae':
  media: avoid recursion when evaluating profile support

Change-Id: I41d6aac773ab5c31b700eea343d9a143934c2f6b
2016-06-01 01:05:30 +00:00
Lajos Molnar
87436bb67f media: avoid recursion when evaluating profile support
Bug: 28671284
Bug: 29041205
Change-Id: Ia9b3596a122bd5ba554a4b4ede875ebcadc67b67
2016-05-31 16:41:27 -07:00
Robert Shih
ed78114ffd Fix deadlock when showing subtitles MediaPlayer
Move all SubtitleTrack operations to TimeProvider's event handler thread.

Bug: 28784397
Change-Id: Iff848635390e99ffb19add03277a9d62feece4cc
2016-05-27 15:16:47 -07:00
Phil Burk
42facec856 Merge "Merge "AudioAttributes docs: warn about small buffer size with FLAG_LOW_LATENCY" into nyc-dev am: d34d06606d am: 29e8879307" into nyc-mr1-dev-plus-aosp
am: 380221f94f

* commit '380221f94f528a8acd684626c5130b5a51a92044':
  AudioAttributes docs: warn about small buffer size with FLAG_LOW_LATENCY

Change-Id: I03cb23c0c7820ec481e26a34b49940a738405d26
2016-05-27 17:14:11 +00:00
Phil Burk
f6f5ad9cd0 Merge "AudioAttributes docs: warn about small buffer size with FLAG_LOW_LATENCY" into nyc-dev am: d34d06606d
am: 29e8879307

* commit '29e8879307bc0a73f34b12074944c788821a4373':
  AudioAttributes docs: warn about small buffer size with FLAG_LOW_LATENCY

Change-Id: Id74f4c4831fd070cfdfb1228c9813635bd18ccbc
2016-05-27 03:02:09 +00:00
Lajos Molnar
0d8337c314 media: avoid NPE in CodecCapabilities.createFromProfileLevel
Bug: 28980577
Change-Id: Id020ed350e2a16b7772e05bd6a10235481903b40
2016-05-26 11:45:16 -07:00
Phil Burk
4eccbbf926 Merge "AudioAttributes docs: warn about small buffer size with FLAG_LOW_LATENCY" into nyc-dev
am: d34d06606d

* commit 'd34d06606dd5be9fc18029e87cb4b56ecef21864':
  AudioAttributes docs: warn about small buffer size with FLAG_LOW_LATENCY

Change-Id: I9a656fe5e1ab598994f7a03984510cb1e9387f01
2016-05-26 17:53:19 +00:00
Phil Burk
d34d06606d Merge "AudioAttributes docs: warn about small buffer size with FLAG_LOW_LATENCY" into nyc-dev 2016-05-26 17:46:08 +00:00
Phil Burk
2050f6cb43 AudioAttributes docs: warn about small buffer size with FLAG_LOW_LATENCY
Explain buffer size optimization.

This CL has no code changes, just documentation changes.

Bug: 28802853
Change-Id: I91942f00a3e9691e4fc05b24656b8bf4cb538bc2
Signed-off-by: Phil Burk <philburk@google.com>
2016-05-26 10:34:50 -07:00
Daichi Hirono
86c1a9bf60 Remove MTP API marked as @removed.
BUG=28146379

Change-Id: I4f0a380941663eac423f8a5633447f1eceb516cb
2016-05-26 16:39:21 +09:00
Lajos Molnar
1dc65e4d68 Merge "media: check profile, level and bitrate for isFormatSupported" into nyc-dev am: 40585321d7 am: e3d6b69562
am: c2d9a234c1

* commit 'c2d9a234c19922fa06b584db20c40b3a114ad9d0':
  media: check profile, level and bitrate for isFormatSupported

Change-Id: Ic8636c55b21b57f8569f63aaf5e6b64b1b148037
2016-05-26 06:50:43 +00:00
Lajos Molnar
e3d6b69562 Merge "media: check profile, level and bitrate for isFormatSupported" into nyc-dev
am: 40585321d7

* commit '40585321d7b036ce7f609fbf10e8730deb1ad456':
  media: check profile, level and bitrate for isFormatSupported

Change-Id: I86e99d56a5048554fe02f9472f8e81dfe0fbc15a
2016-05-26 06:27:34 +00:00
Lajos Molnar
0581ee4971 media: check profile, level and bitrate for isFormatSupported
Bug: 28671284
Change-Id: I90639816a7410cf65bcd1c5549c3830ca43b8140
2016-05-25 07:44:15 -07:00
Jean-Michel Trivi
3109da2e8b Merge "Remove deprecated AudioManager.AudioRecordingCallback method" into nyc-dev am: 3a91a8417a am: 30979c2c76
am: 1e34fb313b

* commit '1e34fb313b3aec0961f598265a13d444ba149766':
  Remove deprecated AudioManager.AudioRecordingCallback method

Change-Id: I09972d0abc1488ff324e9bca9750923cfa8f9e51
2016-05-24 21:35:17 +00:00
Jean-Michel Trivi
1e34fb313b Merge "Remove deprecated AudioManager.AudioRecordingCallback method" into nyc-dev am: 3a91a8417a
am: 30979c2c76

* commit '30979c2c765a647b85e98691e517bb3d4d395668':
  Remove deprecated AudioManager.AudioRecordingCallback method

Change-Id: I250ba004e8389be3b98151f7173cf729a6c386d0
2016-05-24 21:31:14 +00:00
Jean-Michel Trivi
2c5efb4827 Merge "Remove deprecated AudioManager.AudioRecordingCallback method" into nyc-dev
am: 3a91a8417a

* commit '3a91a8417a9de03a2f8f276fcd2d67dc43315464':
  Remove deprecated AudioManager.AudioRecordingCallback method

Change-Id: I1211c2411d052762d95896c0e22661bd718c3039
2016-05-24 21:24:03 +00:00
Jean-Michel Trivi
3a91a8417a Merge "Remove deprecated AudioManager.AudioRecordingCallback method" into nyc-dev 2016-05-24 21:17:49 +00:00
Lajos Molnar
762db297f7 Merge "media: unhide codec levels" into nyc-dev am: aba6e2c78f am: 674262b7e1
am: cb86750595

* commit 'cb86750595879dcf633f2bcd630831116904c5db':
  media: unhide codec levels

Change-Id: Ie55028a97f05d5d8957dcf39828a45c3747a71a9
2016-05-24 19:21:49 +00:00
Lajos Molnar
cb86750595 Merge "media: unhide codec levels" into nyc-dev am: aba6e2c78f
am: 674262b7e1

* commit '674262b7e14e0837464731f0150450a4d57ec58c':
  media: unhide codec levels

Change-Id: I226686f6b7215422878e35254eba26c81485f4e1
2016-05-24 19:12:45 +00:00
Jean-Michel Trivi
602dc777c5 Remove deprecated AudioManager.AudioRecordingCallback method
Remove AudioRecordingCallback.onRecordingConfigChanged(
         AudioRecordingConfiguration[] configs)

Bug 28819230

Change-Id: I3b85bb9313267499ac407099939b5889bdba996b
2016-05-24 12:11:59 -07:00
Lajos Molnar
4493049a88 Merge "media: unhide codec levels" into nyc-dev
am: aba6e2c78f

* commit 'aba6e2c78f3188d201365a99f52be3074fc94962':
  media: unhide codec levels

Change-Id: I5a0253e8f8fe65551dadf8b3b024224fedd1042d
2016-05-24 18:56:32 +00:00
Eric Laurent
a65262e9a9 Merge "Fix AudioTrack and AudioRecord documentation" into nyc-dev am: b143e3de34 am: 50103561d2
am: 45309a4a95

* commit '45309a4a950a0c46f8933481e22c16f1d618db4d':
  Fix AudioTrack and AudioRecord documentation

Change-Id: I9da5a69426b790bbf4a0c6a22ae894b7f1258220
2016-05-24 18:02:25 +00:00
Eric Laurent
50103561d2 Merge "Fix AudioTrack and AudioRecord documentation" into nyc-dev
am: b143e3de34

* commit 'b143e3de34ab98463a641fd6d67165fce878f1ff':
  Fix AudioTrack and AudioRecord documentation

Change-Id: I2fe322e51f6a7dc548d8f7964fae033b14219b02
2016-05-24 17:33:13 +00:00
Lajos Molnar
6c2e08083a media: unhide codec levels
Bug: 28930361
Change-Id: Ic9c55389c75ef0b789722aa0a7bddd5f56b15049
2016-05-24 10:24:47 -07:00
Eric Laurent
b143e3de34 Merge "Fix AudioTrack and AudioRecord documentation" into nyc-dev 2016-05-24 17:15:11 +00:00
Lajos Molnar
1aa007cda1 media: add missing levels in CodecProfileLevel and fix limits am: 2a4001ee62 am: 01df627536
am: 729a885a6b

* commit '729a885a6b631860389b95f1b6ef1ba20e8a872e':
  media: add missing levels in CodecProfileLevel and fix limits

Change-Id: Ic6ace2469b50d49584d8d33c9d15a14d4852ed95
2016-05-24 16:30:16 +00:00
Lajos Molnar
01df627536 media: add missing levels in CodecProfileLevel and fix limits
am: 2a4001ee62

* commit '2a4001ee62f3374d7fffed72d71f77c5a833c331':
  media: add missing levels in CodecProfileLevel and fix limits

Change-Id: Ibfcfb720cd1503e4318ebcd14dc29749a535038c
2016-05-24 16:07:24 +00:00
Lajos Molnar
2a4001ee62 media: add missing levels in CodecProfileLevel and fix limits
Bug: 28671284
Change-Id: Ie4a91f5639ce8f1c5ac825ec829ac82e695d18b5
2016-05-24 07:43:51 -07:00
Eric Laurent
219de73da2 Fix AudioTrack and AudioRecord documentation
Improve documentation for error codes returned by
AudioTrack.write() and AudioRecord.read() methods.
Fix native to JAVA error code conversion in JNI.

Bug: 28906466

Change-Id: I4d48b1d428834b7a39a14e2d81b6c164696817a8
2016-05-23 17:36:43 -07:00
Jean-Michel Trivi
2941387f5c Merge "Recording activity notification: return list of configuration" into nyc-dev am: c991879f29 am: f2c8fb8620
am: 740c0424f0

* commit '740c0424f0a817746c6071942a6563a603649697':
  Recording activity notification: return list of configuration

Change-Id: I3289964e2ceaeb999803abc1f5d485857a80894b
2016-05-23 21:59:29 +00:00
Jean-Michel Trivi
740c0424f0 Merge "Recording activity notification: return list of configuration" into nyc-dev am: c991879f29
am: f2c8fb8620

* commit 'f2c8fb8620224eecfbc344a203e32e6563afcfd6':
  Recording activity notification: return list of configuration

Change-Id: I795d0a76efd044630cd275060dd6c11d595f0e82
2016-05-23 21:06:05 +00:00