summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
* In the absence of width/height information in the sdp, extract the ↵Andreas Huber2010-08-198-96/+133
| | | | | | dimensions from the avc codec specific data. Change-Id: I98c4194593c7e6e24f6fc339c862245111800293
* Merge "Better support for rtsp streamed through VLC. Temporarily make the ↵Andreas Huber2010-08-195-11/+58
|\ | | | | | | socket blocking to read all of the session description." into gingerbread
| * Better support for rtsp streamed through VLC. Temporarily make the socket ↵Andreas Huber2010-08-185-11/+58
| | | | | | | | | | | | blocking to read all of the session description. Change-Id: Ibe71f5941485660510e24d714da3865b9c6f89a2
* | Merge "Make the OggExtractor less verbose." into gingerbreadAndreas Huber2010-08-181-4/+4
|\ \
| * | Make the OggExtractor less verbose.Andreas Huber2010-08-161-4/+4
| |/ | | | | | | Change-Id: Ieea5f3fa98d93ca6ad8fa7dcd23054e1cd0b6338
* | Be more lenient when validating ESDS information in mp4 audio tracks. Allow ↵Andreas Huber2010-08-181-0/+8
|/ | | | | | the absence of any codec specific data and assume that the mpeg4 headers are not lying to us. Change-Id: Ia29b967cbee9eabb21c6c26508b27b379ff9ba17
* Change the default time scale for audio/video track during recordingJames Dong2010-08-162-14/+63
| | | | | | | | | | | and reduce rounding errors in calculating the sample duration - Default time scale for tracks other than audio is set to 90000. - Audio track by default uses the audio sampling rate as the time scale. - Default movie time scale remains to be 1000. - The default time scale values will be overwritten by a user-supplied value if exits. Change-Id: I81b40ed0626ea45e9fd24a89e21a2c5a4a2c3415
* Use audio clock as the reference media clockJames Dong2010-08-131-0/+65
| | | | | | | | | | | | o Only do this for realtime applications o Adjust other track clock based on audio clock o Assume other track uses wall clock as the media clock o Use some heuristics to reduce the size of stts box by 2/3. - also o Remove one unused key from MetaData.h Change-Id: Ib9432842627b61795b533508158c25258a527332
* Mainly fix two mistakes that I made:James Dong2010-08-122-2/+2
| | | | | | | | | 1. When the ERROR_END_OF_STREAM is returned from read, the input buffer is not initialized release it would lead to crash 2. The mPrevTimestampUs is not initialized and thus fail in the CHECK(mPrevTimestampUs, timeUs) Change-Id: Id1e51575fb8b3ca48e80547efd3a3a82dfac773b
* Merge "Support getting codec, width, and height in URL for gtalk playback." ↵Mike Dodd2010-08-121-21/+29
|\ | | | | | | into gingerbread
| * Support getting codec, width, and height in URL for gtalk playback.Mike Dodd2010-08-121-21/+29
| | | | | | | | | | | | | | | | | | Format is rtsp://gtalk/codec/width/height For example: rtsp://gtalk/H263-1998/320/200 Change-Id: If7c73fea1e1d0de89b22a8f0d12acba1c862d6fe
* | Fix software avc encoder crash at EOS.Andreas Huber2010-08-121-2/+0
|/ | | | Change-Id: I738dc24556e41ce518b67babeff16cd934c2d1b1
* Merge "Fix the h.263 assembler to properly subset a buffer's range if it ↵Andreas Huber2010-08-122-2/+2
|\ | | | | | | already has a range applied." into gingerbread
| * Fix the h.263 assembler to properly subset a buffer's range if it already ↵Andreas Huber2010-08-122-2/+2
| | | | | | | | | | | | has a range applied. Change-Id: I7cc468a3095537347d86803579001458b62fcadb
* | Merge "APacketSource is too verbose." into gingerbreadAndreas Huber2010-08-121-1/+1
|\ \ | |/
| * APacketSource is too verbose.Andreas Huber2010-08-121-1/+1
| | | | | | | | Change-Id: I48ca7b070d89e43405d05e5f41e650db587e12b4
* | Don't send late frames to software encoders for encodingJames Dong2010-08-124-2/+29
| | | | | | | | | | | | o Document on what frames will be rejected and what frames will be accepted Change-Id: I5a5d489ad3d2b50dbb40a0f6e01529312ce81c54
* | Merge "Handle large audio lost" into gingerbreadJames Dong2010-08-121-9/+17
|\ \
| * | Handle large audio lostJames Dong2010-08-101-9/+17
| | | | | | | | | | | | Change-Id: I2687ad855aac758946954d0b3fe7aff9f7b5ae7c
* | | Merge "Fix a crash due to unnecessary check on the codec config data for ↵James Dong2010-08-121-2/+2
|\ \ \ | | | | | | | | | | | | H263 video track" into gingerbread
| * | | Fix a crash due to unnecessary check on the codec config data for H263 video ↵James Dong2010-08-111-2/+2
| |/ / | | | | | | | | | | | | | | | track Change-Id: I00e8b65d25731153e4d9be6a443eeed91c8fb605
* | | Merge "Fix all fd leaks in authoring engine" into gingerbreadJames Dong2010-08-122-5/+7
|\ \ \ | |_|/ |/| |
| * | Fix all fd leaks in authoring engineJames Dong2010-08-112-5/+7
| |/ | | | | | | Change-Id: I17798543f9dd41cc8bef6f6086e66932f9f97be8
* | Merge "This code in CameraSource really should hold the lock." into gingerbreadAndreas Huber2010-08-111-0/+2
|\ \ | |/ |/|
| * This code in CameraSource really should hold the lock.Andreas Huber2010-08-111-0/+2
| | | | | | | | Change-Id: I349520a14776bb83b7edb23fc62052b487246d9a
* | Remove some obsolete code.Andreas Huber2010-08-101-12/+0
|/ | | | Change-Id: Ic4d21afe3721173d48db44b8ee4f836deee017ad
* Merge "Add input buffer size check for software video encoders" into gingerbreadJames Dong2010-08-102-0/+20
|\
| * Add input buffer size check for software video encodersJames Dong2010-08-102-0/+20
| | | | | | | | Change-Id: I03953a1245060ed6656a965e1a8a61386126c441
* | Merge "We're now going to ignore timestamps completely in gtalk video ↵Andreas Huber2010-08-107-39/+61
|\ \ | | | | | | | | | conferencing, playing video as soon as it comes in. We also make up fake timestamps in the rtp code, ignoring rtcp SR information to enable early startup." into gingerbread
| * | We're now going to ignore timestamps completely in gtalk video conferencing, ↵Andreas Huber2010-08-107-39/+61
| | | | | | | | | | | | | | | | | | playing video as soon as it comes in. We also make up fake timestamps in the rtp code, ignoring rtcp SR information to enable early startup. Change-Id: Idc3df74b42000f7a6aa3eae090718dc9d9c4186f
* | | Merge "Many, many developers misread or don't read the http specs and ↵Andreas Huber2010-08-101-2/+2
|\ \ \ | |_|/ |/| | | | | terminate lines with '\n' instead of CRLF '\r\n' as required. Enable the workaround for this by default. Also increase the socket read timeout to 30 secs." into gingerbread
| * | Many, many developers misread or don't read the http specs and terminate ↵Andreas Huber2010-08-101-2/+2
| |/ | | | | | | | | | | lines with '\n' instead of CRLF '\r\n' as required. Enable the workaround for this by default. Also increase the socket read timeout to 30 secs. Change-Id: I51df3b8139b3009565b2271611050700a23cf1d7
* | Only check the codec specific data when the output buffer contains ↵James Dong2010-08-102-92/+28
|/ | | | | | | | | | | | | | kKeyIsCodecConfig in MP4 writer o Assume there is only a single output buffer containing such information. This simplifies the logic in MP4 file writer o Output SPS and PPS in the very first buffer for software AVC encoder This is to make AVC encoder work with the MP4 file writer o Add timestamp value for codec config data Change-Id: Iad27a04579e6028332429cd0bebd30976041e997
* Merge "Support multiple PPS and SPS in avcC box" into gingerbreadJames Dong2010-08-091-27/+236
|\
| * Support multiple PPS and SPS in avcC boxJames Dong2010-08-091-27/+236
| | | | | | | | | | | | | | | | | | | | - Also o do not use the hard-coded profile and levels. Instead, we are using the profile and level found in the codec config data o we are not supporting FRExt profile and levels for now, which requires additional seq parameter set extension for instance. Change-Id: If695b4c996d073d8e48aa45fdd7001e9f016f375
* | Merge "Support for extracting G.711 a-law and mu-law audio from WAV files ↵Andreas Huber2010-08-099-40/+371
|\ \ | | | | | | | | | and a corresponding software decoder." into gingerbread
| * | Support for extracting G.711 a-law and mu-law audio from WAV files and a ↵Andreas Huber2010-08-099-40/+371
| | | | | | | | | | | | | | | | | | | | | corresponding software decoder. Change-Id: I92685d09456c220b8c09842defb721bd55b0b9f6 related-to-bug: 2900021
* | | Fixed several audio effects problems.Eric Laurent2010-08-091-3/+22
|/ / | | | | | | | | | | | | | | | | | | - Fixed constant inversions in AudioEffect.java - Do not return error when enabling an already enabled effect - Update cached effect state in native AudioEffect class when effect is enabled/disabled by command() method - Remove click when restarting effect during disable sequence - Fixed problem in master mute management when volume control is delegated to effect. Change-Id: I6df4ce9fcc54fdc7345df858f639d20d802d6712
* | Support for communicating if a buffer read from the _extractor_ is a sync ↵Andreas Huber2010-08-068-33/+65
| | | | | | | | | | | | | | sample or not. Change-Id: Ie71506224d937cfff1fa1273bfac31c47db8845f related-to-bug: 2900534
* | Properly skip the 'skip' chunk in mpeg4 files.Andreas Huber2010-08-061-1/+0
| | | | | | | | | | Change-Id: I6795347f91f24d5379e8dc80a24ae016a9629c9c related-to-bug: 2901311
* | Merge "Use the target color format from the camera source if possible" into ↵James Dong2010-08-051-4/+61
|\ \ | |/ |/| | | gingerbread
| * Use the target color format from the camera source if possibleJames Dong2010-08-051-4/+61
| | | | | | | | | | | | | | | | | | | | - If the target color format is unavailable, the default platform-dependent color format will be used. - Also add some logic to prevent looping forever if the omx component is buggy supporting color format enumeration. Change-Id: I119a78f0d6201b4c3621235cca2f523ec14e24e3
* | Fix an issue where the track duration does not include the last sample durationJames Dong2010-08-051-11/+12
|/ | | | Change-Id: Ib6e01c1c84ad9b7404536f9c40bf90a13340ae53
* Merge "Better support for fake timestamps in RTP, H.263 video now also ↵Andreas Huber2010-08-054-7/+17
|\ | | | | | | requests FIR." into gingerbread
| * Better support for fake timestamps in RTP, H.263 video now also requests FIR.Andreas Huber2010-08-054-7/+17
| | | | | | | | Change-Id: I2385461887197fe4062d329086e0204f6d6620fc
* | A better fix for the OggExtractor referring to the sample rate while it ↵Andreas Huber2010-08-051-2/+8
|/ | | | | | | hasn't been initialized yet. Change-Id: I001fa36d3f5bf385b9f9d086c802673071c65db9 related-to-bug: 2896814
* Merge "Specification of codec specific data as part of the session ↵Andreas Huber2010-08-052-59/+14
|\ | | | | | | description is now optional." into gingerbread
| * Specification of codec specific data as part of the session description is ↵Andreas Huber2010-08-042-59/+14
| | | | | | | | | | | | now optional. Change-Id: Ie1953909e1d241381add3cc82a7a1f7d7d1540f2
* | Merge "Fix divide by zero." into gingerbreadMarco Nelissen2010-08-041-1/+1
|\ \
| * | Fix divide by zero.Marco Nelissen2010-08-041-1/+1
| | | | | | | | | | | | Change-Id: I3113234aa5936965424dde5b24e448df1be0b603