summaryrefslogtreecommitdiffstats
path: root/sec_mm/sec_omx/sec_omx_component/video/enc
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Changed SEC-OMX for decoding and encoding speed improvements.SeungBeom Kim2011-09-295-84/+383
| | | | | | | | | | | | | | | | 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-312-3/+14
| | | | | | | 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-314-18/+93
| | | | | | | | | | | | 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>
* move metadata buffer specific code handling to SEC_OMXVenc.cSeungBeom Kim2011-08-192-0/+30
| | | | | Change-Id: I261277e5b1a3b8f80e13dd076c7570c6f97346a5 Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* SEC-OMX support YV12 for video editor.SeungBeom Kim2011-08-041-0/+1
| | | | | Change-Id: Ia67d3aceb8cffa75be3ea373f87d2f20165ac831 Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* Change SEC_OMX for Video EditorSeungBeom Kim2011-07-257-108/+330
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-251-1/+1
| | | | | | | | | | 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-211-1/+1
| | | | This reverts commit 7cf106ba5ff2dac2be536d8c84c715ca87d0a2d9.
* Add color space convertor in SEC_OMXSeungBeom Kim2011-07-211-1/+1
| | | | | | | | | | 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-196-27/+27
| | | | | Change-Id: Id9c22696102d8d9edc12e44b8d1555bc2024590b Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* Fix for encode timestamp issue.SeungBeom Kim2011-06-212-18/+18
| | | | | | | Change-Id: Id9ac27f9510ef6017ad2132a31382a66449d9b9e Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com> related-to-bug: 4724339
* device/samsung/crespo: remove LOCAL_PRELINK_MODULEIliyan Malchev2011-03-142-2/+2
| | | | | 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-233-4/+22
| | | | | | | | | | | | | | | | | | | | | 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-261-3/+17
| | | | | | | | | 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>
* Fix End of Stream Problemsbcrux.kim2010-10-042-0/+6
| | | | | Change-Id: I5c25b6fe0da4a91733a9334aeecdf022c2579a05 Signed-off-by: sbcrux.kim <sbcrux.kim@samsung.com>
* Patch video encode componentsbcrux.kim2010-10-042-3/+3
| | | | | | | | | | | - change default output buffer number - change Mpeg4 eProfile default : OMX_VIDEO_MPEG4ProfileSimple - change Mpeg4 eLevel default : OMX_VIDEO_MPEG4Level4 Change-Id: Ib9bb9f33fbceef9e8dae2b5107db178ca218d358 Signed-off-by: sbcrux.kim <sbcrux.kim@samsung.com>
* Upload additional feature for full frame search and error detectSeungBeom Kim2010-09-292-47/+51
| | | | | | | | | this feature is disabled by default. for using this feature add "#define FULL_FRAME_SEARCH" in SEC_OMX_H264dec.c, SEC_OMX_Mpeg4dec.c Change-Id: I6225f7ab5aff4c66f19893a3048bdae721b095d8 Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* S5PC11X: OMX: Change TimeStamp processing routine for Stagefright SeekingSeungBeom Kim2010-09-276-74/+87
| | | | | Change-Id: I6a75b7a70013794e8c77bf43dd0ca288e9566235 Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
* S5PC11X: OMX: Added SEC_OMX(OpenMAX IL)SeungBeom Kim2010-09-2112-0/+4122
Component name 1. OMX.SEC.AVC.Decoder 2. OMX.SEC.MPEG4.Decoder 3. OMX.SEC.H263.Decoder 4. OMX.SEC.AVC.Encoder 5. OMX.SEC.MPEG4.Encoder 6. OMX.SEC.H263.Encoder Change-Id: I4ae562c6d44fac8c376a8f60fd376c46bd1e721d Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>