summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-12-10Fix a memory leak under error conditionJames Dong
2009-12-08WMV Video decoder byte alignment fixBenny Wong
- rebased ... Originally from: https://partner.source.android.com/g/#change,1497
2009-12-08WMV/WMA seek fixBenny Wong
Originally from: https://partner.source.android.com/g/#change,1498
2009-12-08Improve avc encoder qualityDan Vacura
-Re-enable inloop deblocking -Add 4x4 intra-prediction for keyframes Originally from https://partner.source.android.com/g/#change,1504
2009-12-04Fix a small mistake where the initializer for an array actually contains ↵James Dong
more elements than it claims. Remove the fixed value MACRO
2009-12-04Merge change I29c93f80 into eclair-mr2Android (Google) Code Review
* changes: Don't enable instrumentation for production code by default This should have been done earlier...
2009-12-04Merge change If4081058 into eclair-mr2Android (Google) Code Review
* changes: Support for properly freeing an OMX node instance, now that the API for it exists.
2009-12-04Support for properly freeing an OMX node instance, now that the API for it ↵Andreas Huber
exists.
2009-12-04Merge change I17e995d3 into eclair-mr2Android (Google) Code Review
* changes: Make it possible to build the TI device without opencore, fix a few abuses of dlerror()
2009-12-04Don't enable instrumentation for production code by defaultJames Dong
This should have been done earlier...
2009-12-04Make it possible to build the TI device without opencore, fix a few abuses ↵Andreas Huber
of dlerror()
2009-12-04FreeBuffer() for OMX AAC encoder was over complicatedJames Dong
- Eliminate one of the two loops, one of which is duplicated and unnecessary - The number of iterations is reduced to nBufferCountActual from MAX_NUM_OF_BUFS - Always reset the buffer header to NULL after free for both input and output port - Reduce the number of pointer accesses
2009-12-04A certain GetParameter call on both the AMR and WBAMR codecs attempted to ↵Andreas Huber
illegally write to the parameter block.
2009-12-03Fix race conditions where modification of some shared counters between ↵James Dong
threads was not atomic. Also, Log error condition from LCML_Callback.
2009-12-01Clean up OMX_EmptyBufferDone() and OMX_FillBufferDone()James Dong
1. Remove duplicated code for handling buffer ownership 2. Send OMX_EventBufferFlag event for output port only according to OpenMAX-IL standard 3. Fix a bug where the nData2 field of the EventHandler for OMX_EventBufferFlag was using OMX_BUFFERFLAG_EOS. Instead, nFlags field containing the EOS flag should be used.
2009-11-30Address assignment was incorrect for finding the supported profile and level.James Dong
2009-11-17am 63d3d5ec: Increase the number of buffers for AAC encoder bug 2247143James Dong
Merge commit '63d3d5ec71326966a2b1ccb956721a4f79a4bca6' into eclair-mr2 * commit '63d3d5ec71326966a2b1ccb956721a4f79a4bca6': Increase the number of buffers for AAC encoder
2009-11-17Increase the number of buffers for AAC encoderandroid-sdk-2.1_r1android-sdk-2.0.1_r1android-sdk-2.0.1-docs_r1android-2.1_r1android-2.0.1_r1eclair-sholes-releaseJames Dong
bug 2247143
2009-11-13am 8f65e499: Fix for overlay shared_fd closeDan Vacura
Merge commit '8f65e499f5217aba6aa7b80e3eba264dcbe5f3a2' into eclair-mr2 * commit '8f65e499f5217aba6aa7b80e3eba264dcbe5f3a2': Fix for overlay shared_fd close
2009-11-12am 4d888dbb: Increase output buffers for TI encoder component from 4 to 8 ↵James Dong
bug 2247143 Merge commit '4d888dbb93bf28964a5335b0210f5ef3bc49b2cd' into eclair-mr2 * commit '4d888dbb93bf28964a5335b0210f5ef3bc49b2cd': Increase output buffers for TI encoder component from 4 to 8
2009-11-12Fix for overlay shared_fd closeDan Vacura
The shared_fd should only be closed by the control side. Previously, the shared_fd would be closed by the data side first then closed again by the control side. This caused problems when the fd was reused for a different purpose between the first and second close.
2009-11-12Increase output buffers for TI encoder component from 4 to 8James Dong
bug 2247143
2009-11-12am b9a334ef: Implementation of the stagefright hardware api interface.Andreas Huber
Merge commit 'b9a334efc95f22686e966a0c3794d00de241f9b6' into eclair-mr2 * commit 'b9a334efc95f22686e966a0c3794d00de241f9b6': Implementation of the stagefright hardware api interface.
2009-11-11Implementation of the stagefright hardware api interface.Andreas Huber
2009-11-10am 78773f8e: Merge change I739c2125 into eclairSanjay Guin
Merge commit '78773f8e96f40185b587246e5b6fb2ed9e879cce' into eclair-mr2 * commit '78773f8e96f40185b587246e5b6fb2ed9e879cce': Jpeg encoder: remove pplib support
2009-11-10Merge change I739c2125 into eclairAndroid (Google) Code Review
* changes: Jpeg encoder: remove pplib support
2009-11-10am d5cf09fb: Video decode memory leak fixes bug 2100370Masaki Sato
Merge commit 'd5cf09fb6e53cda5ce8796eb01230bfecdb917ff' into eclair-mr2 * commit 'd5cf09fb6e53cda5ce8796eb01230bfecdb917ff': Video decode memory leak fixes
2009-11-10Video decode memory leak fixesMasaki Sato
bug 2100370 Originally from: https://partner.source.android.com/g/#change,1410 rebased...
2009-11-10am a0a9d49a: Merge change Ic4d2af0e into eclairNikhil Mande
Merge commit 'a0a9d49a985501f2436bccd98853e69c51066321' into eclair-mr2 * commit 'a0a9d49a985501f2436bccd98853e69c51066321': Fix in h264 output buffer size calculation
2009-11-10Merge change Ic4d2af0e into eclairAndroid (Google) Code Review
* changes: Fix in h264 output buffer size calculation
2009-11-10Jpeg encoder: remove pplib supportSanjay Guin
This removes support for rgb input and a 20MB allocation. The result is less memory usage during encoding a jpeg image and overall improved system performance. GID1456. b2237074
2009-11-09am 226b3194: 1. Error handling for unsupported video resolution for m4v ↵Masaki Sato
video decoder 2. Modified the original patch to add error handling for DSP Initialization failure to prevent OMX client hang Merge commit '226b319400d0f1985e6d83c81c509dd379788018' into eclair-mr2 * commit '226b319400d0f1985e6d83c81c509dd379788018': 1. Error handling for unsupported video resolution for m4v video decoder
2009-11-09Fix in h264 output buffer size calculationNikhil Mande
Previous buffer calculation was incorrect, for D1 it was 2.1 MB now it is 600 KB. The calculations are now based on H.264 annex A spec. The smaller size results in reducing cache flush latencies in the bridge improving performance. With this change D1 can now get up to ~29 FPS. Credit to Jeff Vanhoof for noticing the large buffer size. Originally from: https://partner.source.android.com/g/#change,1400
2009-11-091. Error handling for unsupported video resolution for m4v video decoderMasaki Sato
2. Modified the original patch to add error handling for DSP Initialization failure to prevent OMX client hang Originally from: https://partner.source.android.com/g/#change,1411
2009-11-06am 3ef84bfa: Fix for multiple nal units per frameNikhil Mande
Merge commit '3ef84bfac77eb508edac31e9b7ce695d9502cf07' into eclair-mr2 * commit '3ef84bfac77eb508edac31e9b7ce695d9502cf07': Fix for multiple nal units per frame
2009-11-06Fix for multiple nal units per frameNikhil Mande
Dynamic framerate exposed a bug in OMX as the algorithm started producing frames with multiple NAL units. OMX was tagging correct time stamp only to last NAL unit in each frame. This has been fixed now to tag the same timestamp to all NAL units belonging to each frame. Looks like PV muxer and demuxer are compatible and apparently this is not an issue for them. But quicktime and VLC don't like NAL units with 0 timestamp in the middle of a bitstream. Originally from: https://partner.source.android.com/g/#change,1402
2009-11-06am 6e0a6fe0: Fix the random MMU fault issue in M4V encodervenkatesh
Merge commit '6e0a6fe086b8d841a0d06a7b3fbd2b26e784c19b' into eclair-mr2 * commit '6e0a6fe086b8d841a0d06a7b3fbd2b26e784c19b': Fix the random MMU fault issue in M4V encoder
2009-11-06Fix the random MMU fault issue in M4V encodervenkatesh
Couple of input params were missing on the OMX side. The SN accesses an unmapped region and faults Added ulQpMax,ulQpMin to MP4VE_GPP_SN_UALGInputParams reduced the size of ResyncData to 1620 to match SN header file Originally from: https://partner.source.android.com/g/#change,1401
2009-11-06am 300f5d1f: Send event for omx idle state transition failuresPriyesh Bisla
Merge commit '300f5d1faaea6cefa5f5cd3cec785cb82fbe4551' into eclair-mr2 * commit '300f5d1faaea6cefa5f5cd3cec785cb82fbe4551': Send event for omx idle state transition failures
2009-11-05Send event for omx idle state transition failuresPriyesh Bisla
Return an error event in the case when the encoder components are unable to transition to the idle state. Originally from: https://partner.source.android.com/g/#change,1403
2009-10-22am 417c5b3d: Fix for overlay creation crashDan Vacura
Merge commit '417c5b3dadc5686c70851d59183c829272257cc5' into eclair-mr2 * commit '417c5b3dadc5686c70851d59183c829272257cc5': Fix for overlay creation crash
2009-10-22Fix for overlay creation crashDan Vacura
When the overlay has not fully shutdown in one instance and a second instance is created the call to create the overlay will fail. Upon failure, a bug in the error handling was exposed. This patch fixes the error handling and retries the overlay creation.
2009-10-09am 75763076: Protects mapping and unmapping of data buffers as well as ↵Anu Sundararajan
structures using mutex bug 2174390 Merge commit '757630763c2efcdb23925cd6413f2e36d46123be' into eclair-mr2 * commit '757630763c2efcdb23925cd6413f2e36d46123be': Protects mapping and unmapping of data buffers as well as structures using mutex
2009-10-09Protects mapping and unmapping of data buffers as well as structures using mutexandroid-sdk-tools_r4android-sdk-tools_r3android-sdk-2.0_r1android-2.0_r1Anu Sundararajan
bug 2174390 1. This will protect buffers from getting unmapped from one thread while other thread is mapping them. 2. It will also protect strmctrl & algctrl related structures from getting unmapped while other thread is using them for sending message to DSP. This is a partial solution for testVideoCapture failures. Refer to CSR# OMAPS00207906. Incorporates fixes for review comments made by Dave Sparks. This patch replaces the original patch #1287. Signed-off-by: Sanjay Guin <sguin1@ti.com> Signed-off-by: Daniel Charles <dcharles@ti.com>
2009-10-05am 67919b79: Setting optimum DSP parameteres to imrpove performance of D1 ↵James Dong
encoding. bug 2168700 Merge commit '67919b7979326dd8a8553314a8d0e87ec2cefd61' into eclair-mr2 * commit '67919b7979326dd8a8553314a8d0e87ec2cefd61': Setting optimum DSP parameteres to imrpove performance of D1 encoding.
2009-10-05Setting optimum DSP parameteres to imrpove performance of D1 encoding.James Dong
bug 2168700 Changes include - 1. For higher resolution encoding preset set to 4 for optimized performance. It enables following optimizations on DSP side - - Modified HW Accelerator scheduling on sequencer, - Hierarchical P frame encoding, - Modified skip MB decision, - Modified Intra mode selection scheme - Instruction cache modifications. 2. Constant bit rate control set for high resolutions. 3. maxMBsPerSlice & maxBytesPerSlice set to 0 4. Deblocking disabled at Sn create time for nresolutions higher than VGA. Signed-off-by: Nikhil Mande <nikhil@ti.com> Signed-off-by: Jorge Solano <jsolano@ti.com> Originally from: https://partner.source.android.com/g/#change,1142 Did manual merge.
2009-10-05am 801678aa: Add support for 8 overlay buffersDan Vacura
Merge commit '801678aa351dacc7208a805d860099c16144ff7b' into eclair-mr2 * commit '801678aa351dacc7208a805d860099c16144ff7b': Add support for 8 overlay buffers
2009-10-05Add support for 8 overlay buffersDan Vacura
2009-10-02Add code to TI's M4v Config Parser to look for VOL header instead of ↵Sahil Sachdeva
erroring out, in case it finds a corruption in Config description.
2009-09-30To get GetState to block for pending state transitions to complete for wbamr ↵Benny Wong
encoder Originally from: https://partner.source.android.com/g/#change,1218