1391 Commits

Author SHA1 Message Date
Marco Nelissen
fe3b8e9fe5 Support the disc number and custom genre tags for mp4. 2010-02-09 14:15:38 -08:00
Andreas Huber
e33813dfab Merge "A little less verbosity in stagefright and special treatment for the error state while shutting down." 2010-02-09 12:10:31 -08:00
Andreas Huber
4a9375ef2a A little less verbosity in stagefright and special treatment for the error state while shutting down. 2010-02-09 11:54:33 -08:00
Andreas Huber
fdcba38ccf Merge "During shutdown, don't loop forever on a state transition to OMX_StateInvalid." 2010-02-09 10:04:57 -08:00
Marco Nelissen
e56b7e6c35 Use bswap_16 instead of swap16, because swap16 is not available in glibc 2010-02-09 07:40:51 -08:00
Andreas Huber
9be54d400d ID3v1 tag's strings are ISO8859, not UTF-8, so do the proper conversion when extracting metadata.
related-to-bug: 2399408
2010-02-08 16:46:27 -08:00
Andreas Huber
ba53068245 Merge "Properly implement asynchronous preparation of media playback." 2010-02-08 16:39:24 -08:00
Marco Nelissen
7499ef3e68 Merge "Skip the endianness marker when converting UCS-2 to UTF-8, since it ends up in the UTF-8 string otherwise." 2010-02-08 16:30:14 -08:00
Andreas Huber
6be780ebd4 Properly implement asynchronous preparation of media playback.
related-to-bug: 2413002
2010-02-08 16:23:47 -08:00
Marco Nelissen
3887ac7eb4 Skip the endianness marker when converting UCS-2 to UTF-8, since it
ends up in the UTF-8 string otherwise.
2010-02-08 16:16:54 -08:00
Gloria Wang
7723c94d32 Merge "Use Tremor for sim-eng, and Tremolo for other targets." 2010-02-08 15:16:07 -08:00
Marco Nelissen
655306f8a8 Add support for the TPOS/TPA (disc number) id3 tag. 2010-02-08 14:50:19 -08:00
Gloria Wang
2c51014050 Use Tremor for sim-eng, and Tremolo for other targets. 2010-02-08 14:37:41 -08:00
Andreas Huber
9f4557ed0b During shutdown, don't loop forever on a state transition to OMX_StateInvalid.
related-to-bug: 2420917
2010-02-08 12:54:40 -08:00
Gloria Wang
5a84386ae3 Merge "Fix for 2224736. Sometimes mSeeking is reset without calling setSeekTo first." 2010-02-08 10:46:36 -08:00
Gloria Wang
96827283df Revert "Replace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing Ogg Vorbis decompression)"
This reverts commit 2f46c062b05254671aec96a98b431f91ae7b270c.
2010-02-05 18:50:17 -08:00
Gloria Wang
75ed81427d Merge "Replace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing Ogg Vorbis decompression)" 2010-02-05 15:18:37 -08:00
James Dong
9446c50468 Merge "When the extractor is not able to be created successfully, don't crash" 2010-02-05 12:05:42 -08:00
James Dong
e4cfcb82a8 When the extractor is not able to be created successfully, don't crash 2010-02-04 18:11:32 -08:00
James Dong
760dcecd9d Merge "Camcorder profile Java API support - Use Enum for Quality instead of int - Use static values() method from Enum, rather than if-else" 2010-02-04 17:50:05 -08:00
Gloria Wang
2b7bb21a5c Fix for 2224736. Sometimes mSeeking is reset without calling setSeekTo first. 2010-02-04 17:43:09 -08:00
Gloria Wang
2f46c062b0 Replace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing Ogg Vorbis decompression) 2010-02-04 17:32:56 -08:00
James Dong
e7038ace44 Camcorder profile Java API support
- Use Enum for Quality instead of int
- Use static values() method from Enum, rather than if-else

bug - 2417312
2010-02-04 13:47:36 -08:00
Andreas Huber
acfbc801a8 Stop using the PV software decoders and use ours (based on PV code) instead even in non-FULL_STAGEFRIGHT builds. 2010-02-04 10:48:37 -08:00
Wu-cheng Li
5d9661be8e Add getAttributeDouble() and focal length tag.
bug:2375989
2010-02-04 16:11:38 +08:00
Andreas Huber
5258919fab Merge "Defer creating the video renderer until we see the first video frame." 2010-02-03 16:45:57 -08:00
Andreas Huber
7085b684c6 Defer creating the video renderer until we see the first video frame.
This avoids having to instantiate the renderer twice in case the video decoder sends a format change before the first frame.

related-to-bug: 2375037
2010-02-03 16:02:02 -08:00
Andreas Huber
065f69ef53 Previous change broke A/V sync, this is a better change to eliminate negative media positions.
related-to-bug: 2414900
2010-02-03 15:35:59 -08:00
Andreas Huber
70d10c0156 Fix a deadlock caused by the AudioPlayer notifying the observer that the stream had ended at the same time the observer was shutting down the AudioPlayer.
related-to-bug: 2414536
2010-02-03 13:24:26 -08:00
Andreas Huber
c119f7ea23 AudioPlayer didn't properly account for the latency when calculating the current media time.
related-to-bug: 2414900
2010-02-03 10:23:26 -08:00
Ray Chen
3a8cab88e7 Add GpsDateTime support to ExifInterface and correct images table's date_taken value to UTC timestamp.
http://b/2376777
2010-02-02 18:59:03 -08:00
Andreas Huber
9763f64925 Workaround for misbehaving HTTP servers that terminate header lines with a single newline instead of the required CRLF sequence.
related-to-bug: 2414022
2010-02-02 14:43:08 -08:00
Andreas Huber
23a6b4425f Merge "Don't use a HEAD request to determine redirects, instead do a regular GET (since that's always supported), also limit the number of redirects to avoid infinite redirects. Finally, properly handle the end of stream." 2010-02-02 14:41:41 -08:00
Andreas Huber
b777bf3100 Don't use a HEAD request to determine redirects, instead do a regular GET (since that's always supported), also limit the number of redirects to avoid infinite redirects. Finally, properly handle the end of stream.
related-to-bug: 2403674
2010-02-02 13:54:57 -08:00
Andreas Huber
716582e9da Properly report the duration of a recording into .mp4 files.
related-to-bug: 2295468
2010-02-02 12:13:30 -08:00
Andreas Huber
2d65817f17 Merge "Properly advertise the content length of the HTTP stream if available." 2010-02-02 11:38:19 -08:00
San Mehat
b339ac3d3e sdutil: Refactor for new APIs
Signed-off-by: San Mehat <san@google.com>
2010-02-02 11:17:46 -08:00
Andreas Huber
8cc1b2a32c Properly advertise the content length of the HTTP stream if available.
related-to-bug: 2312941
2010-02-02 10:38:40 -08:00
James Dong
705300b842 Merge "Initial check-in for xml-based encoder capabilities retrieval - Changed the Java API as suggested - Treat /etc/media_profiles.xml as the default xml configurtion file" 2010-02-01 22:48:36 -08:00
James Dong
c371194e4e Initial check-in for xml-based encoder capabilities retrieval
- Changed the Java API as suggested
- Treat /etc/media_profiles.xml as the default xml configurtion file
2010-02-01 22:38:37 -08:00
Andreas Huber
5fdff9e6c5 Merge "Use physical memory for software rendering to take a fast path through surface flinger if possible." 2010-02-01 13:02:58 -08:00
Andreas Huber
8ef96af97e Merge "The TI MP3 decoder lies about the number of channels it outputs, add a quirk for that." 2010-02-01 13:02:39 -08:00
Andreas Huber
cfde87ba10 Use physical memory for software rendering to take a fast path through surface flinger if possible.
related-to-bug: 2386023
2010-02-01 10:58:52 -08:00
Andreas Huber
e331c7b2c4 The TI MP3 decoder lies about the number of channels it outputs, add a quirk for that. 2010-02-01 10:53:20 -08:00
Mathias Agopian
1875b7e2cf Don't use MemoryDealer in MetadataRetrieverClient as it's not necessary.
Use a MemoryHeapBase directly instead.
2010-01-29 17:16:30 -08:00
Mathias Agopian
239d5b3638 Merge "Simplify the MemoryDealer implementation" 2010-01-29 15:07:05 -08:00
Andreas Huber
0c9698ea97 Merge "Apparently the generic mpeg4 file header does not describe the actual samplerate and channel count of the content in the case of mpeg4 audio, instead the 'ESDS' atom must be consulted." 2010-01-29 15:05:09 -08:00
Andreas Huber
e6c73c2018 Merge "Support 24-bit LE PCM wave files in stagefright." 2010-01-29 14:54:15 -08:00
Mathias Agopian
6faf7893b6 Simplify the MemoryDealer implementation
At some point the implementation became complicated because of
SurfaceFlinger's special needs, since we are now relying on gralloc
we can go back to much simpler MemoryDealer.

Removed HeapInterface and AllocatorInterface, since those don't need
to be paramterized anymore. Merged SimpleMemory and Allocation.
Made SimplisticAllocator non virtual.

Removed MemoryDealer flags (READ_ONLY, PAGE_ALIGNED)

Removed a lot of unneeded code.
2010-01-29 14:51:06 -08:00
Andreas Huber
d2315967b4 Apparently the generic mpeg4 file header does not describe the actual samplerate and channel count of the content in the case of mpeg4 audio, instead the 'ESDS' atom must be consulted.
related-to-bug: 2407094
2010-01-29 14:46:59 -08:00