640 Commits

Author SHA1 Message Date
Andreas Huber
5dc13b769f am 9550e289: am cfd55579: OMXCodec now notifies the reader of changes in the output format by returning a special result/error code.
Merge commit '9550e2892f88194c9abbb85616bb55db67231d6e'

* commit '9550e2892f88194c9abbb85616bb55db67231d6e':
  OMXCodec now notifies the reader of changes in the output format by returning a special result/error code.
2009-10-13 17:06:41 -07:00
Andreas Huber
9f6ff40c57 am 96c1dfcc: am 63f20ec1: Proper chunk size computation for Layer II/III V2 and V2.5, skip optional ID3 tag.
Merge commit '96c1dfccb275b2a2cb7f7b0005cd481e8cb59f8e'

* commit '96c1dfccb275b2a2cb7f7b0005cd481e8cb59f8e':
  Proper chunk size computation for Layer II/III V2 and V2.5, skip optional ID3 tag.
2009-10-13 17:04:28 -07:00
Andreas Huber
0b4acfcc60 am c55bb59e: am ef703f60: Merge change I98276091 into eclair-mr2
Merge commit 'c55bb59e542368500937d6737ce2ea2d3524d6d7'

* commit 'c55bb59e542368500937d6737ce2ea2d3524d6d7':
  Change to a int64_t usecs representation for timestamps and duration throughout stagefright.
2009-10-13 17:04:19 -07:00
Ray Chen
0236486486 am 7c86fc06: am 23a2d92f: Merge change Ib01005ea into eclair-mr2
Merge commit '7c86fc066a010ed50877ee3066d542f873d762c2'

* commit '7c86fc066a010ed50877ee3066d542f873d762c2':
  Avoid extracting EXIF data for non-JPEG images.
2009-10-13 14:28:59 -07:00
Andreas Huber
e25adeaf41 am e1ba4226: am 936fff36: Merge change Ib64cab41 into eclair-mr2
Merge commit 'e1ba422636937ee1ca84938d018282344d319543'

* commit 'e1ba422636937ee1ca84938d018282344d319543':
  Split the ColorConverter off SoftwareRenderer, metadata support in stagefright.
2009-10-13 14:28:35 -07:00
Andreas Huber
74ae80b623 am 1c83540e: am 2d295a96: Merge change Iedebfe8d into eclair-mr2
Merge commit '1c83540e3829dc9664728f1f017686f16f61a4ea'

* commit '1c83540e3829dc9664728f1f017686f16f61a4ea':
  Some decoders will return an error on OMX_EmptyThisBuffer to indicate that they don't support the media format, deal with this.
2009-10-13 11:59:00 -07:00
Andreas Huber
fccdd7aee8 am 39c923a9: am 23bccd6c: Merge change I729c3938 into eclair-mr2
Merge commit '39c923a94c377a75e34153f6dddb83fc9883d2a7'

* commit '39c923a94c377a75e34153f6dddb83fc9883d2a7':
  Insert a small delay after submitting to surface flinger and before returning the buffer to the decoder.
2009-10-13 11:58:40 -07:00
Andreas Huber
c2370c424b am a6b76c35: am cd74c0d5: The vendor is about to check in a fix for this issue, the workaround is no longer needed
Merge commit 'a6b76c35a482bd7f2cbab186aca9ea6e74a375d0'

* commit 'a6b76c35a482bd7f2cbab186aca9ea6e74a375d0':
  The vendor is about to check in a fix for this issue, the workaround is no longer needed
2009-10-13 11:54:43 -07:00
Andreas Huber
9550e2892f am cfd55579: OMXCodec now notifies the reader of changes in the output format by returning a special result/error code.
Merge commit 'cfd55579c2e20514b181809dfaf30bd6f7e04c7e' into eclair-mr2-plus-aosp

* commit 'cfd55579c2e20514b181809dfaf30bd6f7e04c7e':
  OMXCodec now notifies the reader of changes in the output format by returning a special result/error code.
2009-10-13 09:56:09 -07:00
Andreas Huber
cfd55579c2 OMXCodec now notifies the reader of changes in the output format by returning a special result/error code. 2009-10-13 09:46:46 -07:00
Andreas Huber
96c1dfccb2 am 63f20ec1: Proper chunk size computation for Layer II/III V2 and V2.5, skip optional ID3 tag.
Merge commit '63f20ec1a8d31c85261056c6c171140b93bcde0a' into eclair-mr2-plus-aosp

* commit '63f20ec1a8d31c85261056c6c171140b93bcde0a':
  Proper chunk size computation for Layer II/III V2 and V2.5, skip optional ID3 tag.
2009-10-12 16:24:53 -07:00
Andreas Huber
c55bb59e54 am ef703f60: Merge change I98276091 into eclair-mr2
Merge commit 'ef703f60d5c00527048fdaf1c24984762f6fd434' into eclair-mr2-plus-aosp

* commit 'ef703f60d5c00527048fdaf1c24984762f6fd434':
  Change to a int64_t usecs representation for timestamps and duration throughout stagefright.
2009-10-12 16:24:46 -07:00
Andreas Huber
63f20ec1a8 Proper chunk size computation for Layer II/III V2 and V2.5, skip optional ID3 tag.
related-to-bug: 1986192
2009-10-12 16:04:30 -07:00
Andreas Huber
fa8de75250 Change to a int64_t usecs representation for timestamps and duration throughout stagefright. 2009-10-12 16:00:07 -07:00
Andreas Huber
ea745866de am 1e988a04: am f894d111: Merge change I6c32aa75 into eclair-mr2
Merge commit '1e988a04b55fcaab6116b8d565b68b4f62d01633'

* commit '1e988a04b55fcaab6116b8d565b68b4f62d01633':
  Workaround for avc decoder misreporting output buffer size requirements if the content is not a multiple-16 width/height.
2009-10-12 12:34:08 -07:00
Eric Laurent
b0b3c14d89 am 82162049: am 4e362817: am 62443f5f: Fix issue 2139634: DTMF tones on Sholes popping, hissing (audio latency too high).
Merge commit '821620494f0f073a27124e96139d5320df79d7e4'

* commit '821620494f0f073a27124e96139d5320df79d7e4':
  Fix issue 2139634: DTMF tones on Sholes popping, hissing (audio latency too high).
2009-10-12 12:26:44 -07:00
Josh Guilfoyle
bf7ffe9782 am 35a82b6b: am 1b7ad876: Merge change I6b51a98a into eclair-mr2
Merge commit '35a82b6b5be55287589028e1f8874b65f50245f4'

* commit '35a82b6b5be55287589028e1f8874b65f50245f4':
  Fixed issue #4098: Ringtone#getTitle does not close its cursor.
2009-10-12 11:48:50 -07:00
gwang@google.com
80df8cd8df am ed2247dc: am 3e655688: am 521f4f3a: Merge change I3d6cf8aa into eclair
Merge commit 'ed2247dc685233b82c7769a5e17f103c1c603ab9'

* commit 'ed2247dc685233b82c7769a5e17f103c1c603ab9':
  Fix for bug 2158794. Hide MediaPlayer.invoke() and MediaPlayer.newRequest(), and Fix bad links in ToneGenerator documentation.
2009-10-12 11:47:25 -07:00
Marco Nelissen
82387365e1 am 2c3dc14a: am a97402e1: am c39d2e3c: Music visualizer support hack. This currently assumes 44k stereo (won\'t crash on other formats, but won\'t give the correct results either), and links statically with libspeex to get FFT data, increasing the size of libmedia by
Merge commit '2c3dc14acb7308570b9d695ba9ac904a9502b043'

* commit '2c3dc14acb7308570b9d695ba9ac904a9502b043':
  Music visualizer support hack.
2009-10-12 11:40:01 -07:00
Ray Chen
7c86fc066a am 23a2d92f: Merge change Ib01005ea into eclair-mr2
Merge commit '23a2d92f2dd122a6f7ba39580b1d7be088ce6de0' into eclair-mr2-plus-aosp

* commit '23a2d92f2dd122a6f7ba39580b1d7be088ce6de0':
  Avoid extracting EXIF data for non-JPEG images.
2009-10-09 09:28:44 -07:00
Android (Google) Code Review
23a2d92f2d Merge change Ib01005ea into eclair-mr2
* changes:
  Avoid extracting EXIF data for non-JPEG images.
2009-10-09 12:21:37 -04:00
Andreas Huber
e1ba422636 am 936fff36: Merge change Ib64cab41 into eclair-mr2
Merge commit '936fff36882764ec031ae4fb8338273cc2abccd5' into eclair-mr2-plus-aosp

* commit '936fff36882764ec031ae4fb8338273cc2abccd5':
  Split the ColorConverter off SoftwareRenderer, metadata support in stagefright.
2009-10-09 08:50:07 -07:00
Andreas Huber
53a76bd0c9 Split the ColorConverter off SoftwareRenderer, metadata support in stagefright. 2009-10-08 15:06:09 -07:00
Ray Chen
b01005ea21 Avoid extracting EXIF data for non-JPEG images. 2009-10-08 14:53:13 -07:00
Andreas Huber
1c83540e38 am 2d295a96: Merge change Iedebfe8d into eclair-mr2
Merge commit '2d295a9601315a2610a2cb759ed9a4f787e7d4b5' into eclair-mr2-plus-aosp

* commit '2d295a9601315a2610a2cb759ed9a4f787e7d4b5':
  Some decoders will return an error on OMX_EmptyThisBuffer to indicate that they don't support the media format, deal with this.
2009-10-08 14:39:12 -07:00
Andreas Huber
39c923a94c am 23bccd6c: Merge change I729c3938 into eclair-mr2
Merge commit '23bccd6c25f581860487835bf7b5442589897352' into eclair-mr2-plus-aosp

* commit '23bccd6c25f581860487835bf7b5442589897352':
  Insert a small delay after submitting to surface flinger and before returning the buffer to the decoder.
2009-10-08 14:38:48 -07:00
Andreas Huber
3f42707c62 Some decoders will return an error on OMX_EmptyThisBuffer to indicate that they don't support the media format, deal with this. 2009-10-08 14:21:58 -07:00
Android (Google) Code Review
23bccd6c25 Merge change I729c3938 into eclair-mr2
* changes:
  Insert a small delay after submitting to surface flinger and before returning the buffer to the decoder.
2009-10-08 17:19:10 -04:00
Andreas Huber
a6b76c35a4 am cd74c0d5: The vendor is about to check in a fix for this issue, the workaround is no longer needed
Merge commit 'cd74c0d56c0756ceb5cfa5f06d76e17aa2ed6fb9' into eclair-mr2-plus-aosp

* commit 'cd74c0d56c0756ceb5cfa5f06d76e17aa2ed6fb9':
  The vendor is about to check in a fix for this issue, the workaround is no longer needed
2009-10-08 09:22:29 -07:00
Andreas Huber
cd74c0d56c The vendor is about to check in a fix for this issue, the workaround is no longer needed 2009-10-08 09:12:11 -07:00
Andreas Huber
729c39381d Insert a small delay after submitting to surface flinger and before returning the buffer to the decoder.
Since we cannot tell how long it'll take until surface flinger
has displayed the data onscreen, we'll just have to guess...
We must not return the buffer to the decoder before it's been displayed.
2009-10-08 08:41:11 -07:00
Andreas Huber
1e988a04b5 am f894d111: Merge change I6c32aa75 into eclair-mr2
Merge commit 'f894d111c8c1ad9038c2d434e1cd78616a6bda0a' into eclair-mr2-plus-aosp

* commit 'f894d111c8c1ad9038c2d434e1cd78616a6bda0a':
  Workaround for avc decoder misreporting output buffer size requirements if the content is not a multiple-16 width/height.
2009-10-07 13:59:49 -07:00
Andreas Huber
8b432b1d85 Workaround for avc decoder misreporting output buffer size requirements if the content is not a multiple-16 width/height. 2009-10-07 13:53:24 -07:00
Eric Laurent
821620494f am 4e362817: am 62443f5f: Fix issue 2139634: DTMF tones on Sholes popping, hissing (audio latency too high).
Merge commit '4e362817ab49da3325531e1213e70ec6bbe32084' into eclair-mr2-plus-aosp

* commit '4e362817ab49da3325531e1213e70ec6bbe32084':
  Fix issue 2139634: DTMF tones on Sholes popping, hissing (audio latency too high).
2009-10-06 19:28:06 -07:00
Eric Laurent
4e362817ab am 62443f5f: Fix issue 2139634: DTMF tones on Sholes popping, hissing (audio latency too high).
Merge commit '62443f5f4517ba17d911975e695f1ab75bfdbf77' into eclair-mr2

* commit '62443f5f4517ba17d911975e695f1ab75bfdbf77':
  Fix issue 2139634: DTMF tones on Sholes popping, hissing (audio latency too high).
2009-10-06 19:18:00 -07:00
Eric Laurent
62443f5f45 Fix issue 2139634: DTMF tones on Sholes popping, hissing (audio latency too high).
This change is a complement to the main fix in kernel driver for the same issue (partner change #1250).
It removes clicks sometimes heard after the end of the tones while audio flinger is sending 0s to the audio output stream.
The problem was that the sleep time between two writes was more than the duration of one audio output stream buffer which could cause some underrun.

Also fixed a recent regression in ToneGenerator that made that the end of previous tone was repeated at the beginning of current one under certain timing circumstances when the maximum tone duration was specified.
2009-10-06 18:59:35 -07:00
Josh Guilfoyle
35a82b6b5b am 1b7ad876: Merge change I6b51a98a into eclair-mr2
Merge commit '1b7ad876f1274787d7609a31e4a2a852adb94c3c' into eclair-mr2-plus-aosp

* commit '1b7ad876f1274787d7609a31e4a2a852adb94c3c':
  Fixed issue #4098: Ringtone#getTitle does not close its cursor.
2009-10-06 16:40:07 -07:00
Android (Google) Code Review
1b7ad876f1 Merge change I6b51a98a into eclair-mr2
* changes:
  Fixed issue #4098: Ringtone#getTitle does not close its cursor.
2009-10-06 19:32:25 -04:00
gwang@google.com
ed2247dc68 am 3e655688: am 521f4f3a: Merge change I3d6cf8aa into eclair
Merge commit '3e655688728e352e51dc9718490589f1bfb8622d' into eclair-mr2-plus-aosp

* commit '3e655688728e352e51dc9718490589f1bfb8622d':
  Fix for bug 2158794. Hide MediaPlayer.invoke() and MediaPlayer.newRequest(), and Fix bad links in ToneGenerator documentation.
2009-10-06 15:53:10 -07:00
gwang@google.com
3b49e9b525 Fix for bug 2158794. Hide MediaPlayer.invoke() and MediaPlayer.newRequest(), and Fix bad links in ToneGenerator documentation. 2009-10-06 14:48:09 -07:00
Josh Guilfoyle
6b51a98acb Fixed issue #4098: Ringtone#getTitle does not close its cursor.
http://code.google.com/p/android/issues/detail?id=4098
2009-10-06 14:32:56 -07:00
Marco Nelissen
2c3dc14acb am a97402e1: am c39d2e3c: Music visualizer support hack. This currently assumes 44k stereo (won\'t crash on other formats, but won\'t give the correct results either), and links statically with libspeex to get FFT data, increasing the size of libmedia by about 45kb.
Merge commit 'a97402e1cbadbdc874afa9ffdbd23f1c62fb8177' into eclair-mr2-plus-aosp

* commit 'a97402e1cbadbdc874afa9ffdbd23f1c62fb8177':
  Music visualizer support hack.
2009-10-06 10:03:12 -07:00
Marco Nelissen
c39d2e3c01 Music visualizer support hack.
This currently assumes 44k stereo (won't crash on other formats, but won't give the correct results either), and links statically with libspeex to get FFT data, increasing the size of libmedia by about 45kb.
2009-10-06 08:51:16 -07:00
Doug Kwan
b1bb6cfe91 Add back missing shared libraries used in executables in link commands. These
executables have calls to some shared libraries without explicitly linking
them.  Currently it works as linker links these libraries via dependencies of
other libraries.  This is fragile and not the right thing to do.
2009-10-04 19:27:57 -07:00
Dianne Hackborn
df197471cc am 943c8e7d: am 29e4a3c5: Update from API review.
Merge commit '943c8e7de682eb0d55167fe4c434e9f1c532a5ae'

* commit '943c8e7de682eb0d55167fe4c434e9f1c532a5ae':
  Update from API review.
2009-10-01 13:53:46 -07:00
Ray Chen
6a1262e210 am a6715ca6: am f09edd60: Merge change Id60fa26a into eclair
Merge commit 'a6715ca6f9e2125f2ea5db5cf71714e75618e9fa'

* commit 'a6715ca6f9e2125f2ea5db5cf71714e75618e9fa':
  Fix issue 2152541	thumbnail images stretched.
2009-10-01 13:51:07 -07:00
Eric Laurent
554d35ccbd am 46c5fdf6: am 3f56d21b: Merge change I89e74ba1 into eclair
Merge commit '46c5fdf60be5ba31ed7f31da42afdee639cddf15'

* commit '46c5fdf60be5ba31ed7f31da42afdee639cddf15':
  Fix Issue 2158631: AudioService: volume control sometimes not restored after media server process crash.
2009-10-01 13:43:31 -07:00
Jianhong Jiang
0cdb0e7637 am 722eba00: am 37b0f279: Merge change I999f1aeb into eclair
Merge commit '722eba008c20d545ff8f17584cda282ab2800e29'

* commit '722eba008c20d545ff8f17584cda282ab2800e29':
  Remove audio latency fudge factor 96 msec.
2009-10-01 11:51:54 -07:00
Yu Shan Emily Lau
f2496dc8b9 am f1fa1eac: am edd942c2: Merge change I55a6ac8c into eclair
Merge commit 'f1fa1eacaa36c80c2094ba679b8384d9f4541e11'

* commit 'f1fa1eacaa36c80c2094ba679b8384d9f4541e11':
  Fixed the long recorder time and reduce the number of loops.
2009-10-01 11:49:46 -07:00
Chih-Chung Chang
1c628eba63 am 41293323: am 8bbba0e3: Merge change If5722b3f into eclair
Merge commit '412933234ad114c0fbb237f068b07821afb6e484'

* commit '412933234ad114c0fbb237f068b07821afb6e484':
  Dont NPE if the thumbnail file cannot be opened.
2009-10-01 11:42:27 -07:00