summaryrefslogtreecommitdiffstats
path: root/sec_mm
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* SEC_OMX Bug FixSeungBeom Kim2010-10-268-25/+91
| | | | | | | | | This patch is to fix the following bug: http://b/issue?id=3127000 - Make up for Flush Buffer Number Count - Bug fix is EOS Frame timestamp error and player hang Change-Id: I6ea46a0b8e91381216a7d2bc0e4bd20e3391f628 Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* SEC_OMX Thread Terminate Bug FixSeungBeom Kim2010-10-241-6/+16
| | | | | | | | Bug Number : 3090226 This bug is H.263 Test player hang. Change-Id: I6c9312a18fb808803822df8f781d06cc824bfdd0 Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* SEC_OMX SEC_OMX_ComponentStateSet API Bug FixSeungBeom Kim2010-10-181-2/+2
| | | | | | | | | call SEC_OSAL_SemaphoreTerminate Bug in (OMX_StateIdle to OMX_StateLoaded) and (OMX_StateLoaded to OMX_StateIdle) Change-Id: I4c79a861392bf07aa40273ba2cc69df5ef518037 Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* Bug Fix Video decode color converter for H/W ThumbnailSeungBeom Kim2010-10-184-26/+106
| | | | | | | | | | | | | | | | | | | | | | | related-to-bug: 3106534 Real OMX_COLOR_FormatYUV420Planar Data return. if Use Thumbnail Mode then set as follows before Decoding /************************************************/ OMX_ERRORTYPE ret = OMX_ErrorNone; OMX_BOOL param = OMX_TRUE; ret = OMX_GetExtensionIndex( mHandle, "OMX.SEC.index.ThumbnailMode", &eIndexParamFilename); if (ret == OMX_ErrorNone) OMX_SetConfig( mHandle, eIndexParamFilename, &param); /***********************************************/ Change-Id: Ia2cf2c4145687c45fb8f2987e66db59434266f34 Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* H.263 Decode Component Bug FixSeungBeom Kim2010-10-181-1/+4
| | | | | | | | omx_tests H.263 Seek test Error return "SsbSipMfcDecExe: IOCTL_MFC_DEC_EXE failed(ret : -2007)" Change-Id: I815a3cee467169f9dae1b0e60abbfdf3fd26ca1e Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* Switch to use the correct xml fileJames Dong2010-10-051-166/+0
| | | | Change-Id: I214df6cbf8f8e39f3f6fa645eb7a99d36a70993e
* Fix End of Stream Problemsbcrux.kim2010-10-042-0/+6
| | | | | Change-Id: I5c25b6fe0da4a91733a9334aeecdf022c2579a05 Signed-off-by: sbcrux.kim <sbcrux.kim@samsung.com>