summaryrefslogtreecommitdiffstats
path: root/sec_mm
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'github/ics' into 23072012KalimochoAz2012-07-231-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Android.mk BoardConfigCommon.mk board-info.txt device_base.mk egl.cfg factory-images/generate-factory-images-package.sh kernel overlay/frameworks/base/core/res/res/values/config.xml Change-Id: If153de549a1a3b5145f856de6c55c825d3124a11
| * omx: mfc mmap buffer changesShareef Ali2012-03-101-1/+1
| | | | | | | | Change-Id: I86a9eb1353847fdb0098c591988dedfd9c0faca7
* | Remove obsolete dependency on libmediaGlenn Kasten2012-03-191-2/+1
| | | | | | | | | | | | and unnecessary media includes Change-Id: Ic889aac0e12979d5c5fef6a58ee9917a4864039e
* | Switched to use header files from /frameworks/nativeJames Dong2012-03-122-3/+4
| | | | | | | | | | | | o related-to-bug: 6044887 Change-Id: If4a56cd53bf910d2db7a30e836bdafb7837bdba4
* | remove uneeded dependency on libsurfaceflinger_client and libbinderMathias Agopian2012-02-251-3/+2
| | | | | | | | Change-Id: I9241d6ee1b8b7feaf465880f518592d2f679e577
* | remove dependency on android_native_buffer.hMathias Agopian2012-02-241-1/+0
| | | | | | | | Change-Id: Iefa0206e8f22108c8f0577918826addf2c0b3c17
* | Fixed some race condition in OMX_Init and OMX_Deinit callsJames Dong2012-02-061-15/+24
| | | | | | | | | | | | | | | | This patch fixed the native crash in bug 5713461. o related-to-bug: 5713461 Change-Id: I37d4d001db79e809ad0d8eddddc92fae28bbda74
* | Fix SEC-OMX, for resolve two bugs.SeungBeom Kim2012-01-122-4/+10
| | | | | | | | | | | | | | | | related-to-bug: 5619226: ANR in com.google.android.videoeditor. related-to-bug: 5771270 [Crespo] Cannot play video when captured with time elapsed settings. Change-Id: I40f85f220b6a821d7b06cae73013ee334bb951b0 Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* | Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-082-62/+62
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: I03a60758c6dad0d9ecbce42f092a0fe757bd7184
* | Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGESteve Block2012-01-041-1/+1
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: I61ce15c87baa38e1f88857e30b549d513a54b724
* | am 8a55aeaf: am 786e339b: Revert "Fix ANR in com.google.android.videoeditor"Jamie Gennis2011-12-152-4/+2
|\ \ | |/ | | | | | | * commit '8a55aeaf5155cf0b0aad288c164b99c253f1c47d': Revert "Fix ANR in com.google.android.videoeditor"
| * Revert "Fix ANR in com.google.android.videoeditor"Jamie Gennis2011-12-152-4/+2
| | | | | | | | | | | | | | This reverts commit 75b8e0dfe910f3de86e0b219eeeabcb04fd8a2f1. Bug: 5771270 Change-Id: I895db4c1677de8c1d41493449e59f1c8975fa419
* | am b9e18606: Fix SEC-OMX Video Encode for get out encode last frame.SeungBeom Kim2011-12-073-2/+56
|\ \ | |/ | | | | | | * commit 'b9e186067caad92c3f50c4abe87b55965a88ea6f': Fix SEC-OMX Video Encode for get out encode last frame.
| * Fix SEC-OMX Video Encode for get out encode last frame.SeungBeom Kim2011-12-073-2/+56
| | | | | | | | | | | | | | Change-Id: Ic03bc07a2299f63156e3a8fb56c4fe2d894a9164 Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com> related-to-bug: 5720764, 5679361
* | am 6b75dbce: Merge "Fix ANR in com.google.android.videoeditor" into ics-mr1James Dong2011-11-212-2/+4
|\ \ | |/ | | | | | | * commit '6b75dbce0fa7f3c5bdd1f14aef3f4f17fa487e84': Fix ANR in com.google.android.videoeditor
| * Merge "Fix ANR in com.google.android.videoeditor" into ics-mr1James Dong2011-11-212-2/+4
| |\
| | * Fix ANR in com.google.android.videoeditorSeungBeom Kim2011-11-212-2/+4
| | | | | | | | | | | | | | | | | | | | | Change-Id: I31318543c781a9d6b866620c7d3f4dcd7af24a57 Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com> related-to-bug: 5619226
* | | am 41e03a94: Patch for SEC-OMX error handling.SeungBeom Kim2011-11-211-0/+4
|\ \ \ | |/ / | | | | | | | | | * commit '41e03a94962b6aec7938762b0820928f90ff3502': Patch for SEC-OMX error handling.
| * | Patch for SEC-OMX error handling.SeungBeom Kim2011-11-211-0/+4
| |/ | | | | | | | | | | | | | | | | | | | | This patch makes the SEC-OMX terminate normally. There will be no error messages(related to OMX) after applying this patch. This patch solves the OMX abnormal termination (and mediaserver crash) issue. Change-Id: I5010ffcfff6ff112c08f0a157ea290d691190134 Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com> related-to-bug: 5364248
* | am cfdf0258: Merge "Fix Empty thumbnails generated while in timelapse ↵James Dong2011-11-112-4/+24
|\ \ | |/ | | | | | | | | | | recording sometimes" into ics-mr1 * commit 'cfdf025803c01a937810e53d861e1746486c4b9a': Fix Empty thumbnails generated while in timelapse recording sometimes
| * Fix Empty thumbnails generated while in timelapse recording sometimesSeungBeom Kim2011-11-102-4/+24
| | | | | | | | | | | | | | Change-Id: Ia17ed033634c5e8709a04c974553fe426e7d9dcd Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com> related-to-bug: 5566262
* | Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGESteve Block2011-10-262-9/+9
|/ | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I73e1ab4f4eadb55e747b3b2be4b6c1824dce7b2c
* Changed SEC-OMX for decoding and encoding speed improvements.SeungBeom Kim2011-09-2914-328/+951
| | | | | | | | | | | | | | | | 1. I separate thread for decode and other(CSC) in OMX component. OMX is processing color converting when one frame decoding. (parallel processing.) (n-1)frame CSC with (n)frame decode are process At the same time. Encoding scheme is the same as decoding scheme. 2. MFC use cacheable input and ouput buffer. Because, ICS framework can not use '0'copy. use real data. Therefore, should be used Cacheable buffer at CSC for performance. Dependencies - Change Ia0191181: S5PC11X: MFC: MFC use cacheable buffer for improve performance. Change-Id: Ib07a00f2569dd80b9def015d4b1fdcfbb9d36c67 Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* Fix for surface texture encoder.SeungBeom Kim2011-08-314-9/+25
| | | | | | | Add OMX_COLOR_FormatAndroidOpaque = 0x7F000789 Change-Id: I65c3b765ddabd18182d520992293a1ad917715fb Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* Change SEC-OMX for surface texture encoding.SeungBeom Kim2011-08-3113-42/+174
| | | | | | | | | | | | Adding support for NV12 encoding. Adding use IMG Blit API. Dependencies - Change I753540bb: S5PC11X: MFC: Adding support for NV12 encoding. also fixed bug: 5226617 Change-Id: Id3d4dfa9c3f7c4aebe05482db71902d3af4e994d Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* Do not over-advertise the level support of H264/AVC decoderJames Dong2011-08-221-7/+1
| | | | | | | | o AVC decoder supports up to 720P on CRESPO; thus the supported AVC level <= level 31. Change-Id: Iefc8d9a09bec7df91e0d1b51856265ff86f47163 related-to-bug: 5154124
* move metadata buffer specific code handling to SEC_OMXVenc.cSeungBeom Kim2011-08-194-12/+30
| | | | | Change-Id: I261277e5b1a3b8f80e13dd076c7570c6f97346a5 Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* Advertise smaller input buffer size when metadata buffer mode is used for ↵James Dong2011-08-152-0/+13
| | | | | | | | video encoding related-to-bug: 5161131 Change-Id: I891ea6d79fdaeab1b4e3e95e73326ebe6faacc3e
* Fix for decode output align.SeungBeom Kim2011-08-114-39/+64
| | | | | Change-Id: Ibe50472061f344aaf54876ec445936eb6fe15886 Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* Fix mmap size for video editor stress test.SeungBeom Kim2011-08-111-7/+1
| | | | | | | bug-AFTER_EACH_TESTRUN.1312600173242.txt Change-Id: I7c0aede86557a7727b0ca1bba03e4c7c3cb0079e Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* Merge "Fix a used-before-initialized compile warning"Jamie Gennis2011-08-081-4/+1
|\
| * Fix a used-before-initialized compile warningJamie Gennis2011-08-041-4/+1
| | | | | | | | Change-Id: I8e11a98c17b325f88fab1b77e2d8c08baae64d77
* | Merge "Reduce buffer count in Android native buffer mode"Jamie Gennis2011-08-082-0/+14
|\ \ | |/
| * Reduce buffer count in Android native buffer modeJamie Gennis2011-08-042-0/+14
| | | | | | | | | | | | | | | | | | | | This change makes nBufferCountMin and nBufferCountActual be 1 for the output port of video decoders that are in Android native buffer mode. Because the decode is done to internally allocated buffers, which are then copied to the Gralloc buffer only one buffer is needed. Change-Id: I157d0d6c6f66ee39f204c6c8871ef08e6d13f9d6 Bug: 5091988
* | Fix missing crop rect because of the incorrect state of OMX video decoderJames Dong2011-08-051-1/+1
|/ | | | | | | | The crop event was sent from video decoder, but when SF uses getConfig to retrieve the crop info, the decoder reports an error because the state in the decoder was not properly set. Change-Id: I81b6ec53f221a4fd8b2c6a9f7324a776358cc3a5 related-to-bug: 5128788
* SEC-OMX support YV12 for video editor.SeungBeom Kim2011-08-042-2/+3
| | | | | Change-Id: Ia67d3aceb8cffa75be3ea373f87d2f20165ac831 Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* Video decode component support gralloc color format.SeungBeom Kim2011-08-046-481/+515
| | | | | | | | | | | | | | | | | | | That returns the current color format is a 0x100. But, It is not the normal way In terms of omx. (It is spec out) OMX spec is OMX_COLOR_FormatVendorStartUnused = 0x7F000000, /**< Reserved region for introducing Vendor Extensions */ I think.... I hope the color format is the value 0x7F000100. stagefright use the value(0x7F000100) after masking. ex) err = native_window_set_buffers_geometry( mNativeWindow.get(), def.format.video.nFrameWidth, def.format.video.nFrameHeight, (def.format.video.eColorFormat & 0x1FF)); Change-Id: If0578eb35338ff9bd8d0cf8cd8f1435af92aba04 Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* Fix usage bits reported by OMX IL.Jamie Gennis2011-07-281-2/+1
| | | | | | | | | | This change fixes the Gralloc usage bits that are reported to Stagefright. It removes the PROTECTED bit, which was not needed, and sets the SW_WRITE_OFTEN bit so that the decoder can lock and write to the buffers using the CPU. Change-Id: Id648cbef3451cea704b63a0bde9e5d2ba09f0ef0 Bug: 5091835
* Change SEC_OMX for Video EditorSeungBeom Kim2011-07-2521-378/+1354
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Support Google ExtensionIndex. 2. Decode Component - Decode component return real YUV output data. - Video decode component support two output port color format. They are OMX_COLOR_FormatYUV420SemiPlanar(NV12) and OMX_COLOR_FormatYUV420Planar. Choose one of them under negotiation. - output port default color format is OMX_COLOR_FormatYUV420SemiPlanar(NV12). - Turn off the gralloc/graphic buffer since gralloc/graphic buffer allocator is unavailable 3. Encode Component - Encode component support real YUV input data. - Video encode component support two input port color format. They are OMX_COLOR_FormatYUV420SemiPlanar(NV12) and OMX_COLOR_FormatYUV420Planar. Choose one of them under negotiation. - input port default color format is OMX_COLOR_FormatYUV420SemiPlanar(NV12). - gralloc buffer is not support yet. (store meta data mode use physical address.) 4. Camera hal - Support metadata buffer mode TODO: 1. enable grallco/graphic buffer once the allocator is available 2. add support for gralloc-based metadata buffer support in video encoder component Change-Id: Ic8ba4f0230d6de77ffde7ddf1e2c9a3a5aeb806f Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* Add color space convertor in SEC_OMXSeungBeom Kim2011-07-2518-197/+4069
| | | | | | | | | | NV12T to YUV420P NV12T to YUV420SP YUV420P to NV12T YUV420SP to NV12T Change-Id: I769bea28953786a9191824c488a633e8c997520f Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* Revert "Add color space convertor in SEC_OMX"James Dong2011-07-2117-2972/+197
| | | | This reverts commit 7cf106ba5ff2dac2be536d8c84c715ca87d0a2d9.
* Add color space convertor in SEC_OMXSeungBeom Kim2011-07-2117-197/+2972
| | | | | | | | | | NV12T to YUV420P NV12T to YUV420SP YUV420P to NV12T YUV420SP to NV12T Change-Id: I991777f56a9988c8aa0a1b94bf917ffeb148345f Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* SEC_OMX code clean upSeungBeom Kim2011-07-1916-61/+61
| | | | | Change-Id: Id9c22696102d8d9edc12e44b8d1555bc2024590b Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* Fix for encode timestamp issue.SeungBeom Kim2011-06-213-19/+19
| | | | | | | Change-Id: Id9ac27f9510ef6017ad2132a31382a66449d9b9e Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com> related-to-bug: 4724339
* The implementation of OMX_Get/SetConfig must not return OMX_ErrorNoneAndreas Huber2011-04-261-2/+2
| | | | | | | if it doesn't actually implement the functionality. Change-Id: I7e46c25c4634e1fd0f65ebf38c4d32446ba2d341 related-to-bug: 4320322
* device/samsung/crespo: remove LOCAL_PRELINK_MODULEIliyan Malchev2011-03-149-9/+9
| | | | | Change-Id: I25ff348e6d19d5b57c389bd18e862f3dd674512d Signed-off-by: Iliyan Malchev <malchev@google.com>
* Change Encode output port Buffer sizeSeungBeom Kim2010-12-062-1/+23
| | | | | | | | | o incoporate reviewer's comment to set parameter first to avoid code duplication bug - 3115953 Change-Id: Iaadbc4b803e0b9baa929494f3f3882c1fae45dd2 Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* Switch to the default AVC video encoder level from 40 to 31 so that the ↵James Dong2010-12-061-1/+1
| | | | | | | | recorded videos are playables on other phones bug - 3259224 Change-Id: I9f26bea7456221b01d4cb358786ecad39e34dca4
* Fix build race condition.Ying Wang2010-11-237-9/+46
| | | | | | | | | | | | | | | | | | | | | Before this change, referencing source in parent dir, such as "../SEC_OMX_Vdec.c", results in obj files spilling into the top obj dir. What's worse, the same source is included in more than 1 module, so the obj file may be written concurrently by multiple build jobs. Because gmake use the path string to detect if 2 targets point to the same file, make could not even issue a warning for duplicate rules. I believe this is the root cause of the following transient build error: 1) out/target/product/stingray/obj/SHARED_LIBRARIES/libOMX.SEC.AVC.Encoder_intermediates/../SEC_OMX_Venc.P:54: *** missing separator. Stop. 2) prebuilt/darwin-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: error: out/target/product/stingray/obj/SHARED_LIBRARIES/libOMX.SEC.M4V.Encoder_intermediates/../SEC_OMX_Venc.o: unknown mandatory EABI object attribute 46 Change-Id: I07721771d3afa86bd96703960c3a13305c424d60
* SEC_OMX Encode Bug Fixsbcrux.kim2010-11-022-2/+17
| | | | | | | | | Fixed bug of buffer swap in encoder by changing buffer return position. bug #: 3158459 Change-Id: I98020349a1799316ebba52b5eb9b958a034b9995 Signed-off-by: sbcrux.kim <sbcrux.kim@samsung.com>