diff options
author | sbcrux.kim <sbcrux.kim@samsung.com> | 2010-10-03 18:25:21 -0700 |
---|---|---|
committer | James Dong <jdong@google.com> | 2010-10-04 16:50:17 -0700 |
commit | f65045e0c40cf9c89f280c1a8808bc38b8c5cbab (patch) | |
tree | 0c3dbad8dc9c15bf49d7d3fb783bf41c52c747be /sec_mm/sec_omx | |
parent | df1a5b0d586e0d684b22ca02c52da9d846ef374d (diff) | |
download | device_samsung_crespo-f65045e0c40cf9c89f280c1a8808bc38b8c5cbab.zip device_samsung_crespo-f65045e0c40cf9c89f280c1a8808bc38b8c5cbab.tar.gz device_samsung_crespo-f65045e0c40cf9c89f280c1a8808bc38b8c5cbab.tar.bz2 |
Patch video encode component
- 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>
Diffstat (limited to 'sec_mm/sec_omx')
-rw-r--r-- | sec_mm/sec_omx/sec_omx_component/video/enc/SEC_OMX_Venc.h | 2 | ||||
-rw-r--r-- | sec_mm/sec_omx/sec_omx_component/video/enc/mpeg4enc/SEC_OMX_Mpeg4enc.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sec_mm/sec_omx/sec_omx_component/video/enc/SEC_OMX_Venc.h b/sec_mm/sec_omx/sec_omx_component/video/enc/SEC_OMX_Venc.h index 139bb43..4654a24 100644 --- a/sec_mm/sec_omx/sec_omx_component/video/enc/SEC_OMX_Venc.h +++ b/sec_mm/sec_omx/sec_omx_component/video/enc/SEC_OMX_Venc.h @@ -34,7 +34,7 @@ #include "SEC_OMX_Baseport.h" #define MAX_VIDEO_INPUTBUFFER_NUM 5 -#define MAX_VIDEO_OUTPUTBUFFER_NUM 2 +#define MAX_VIDEO_OUTPUTBUFFER_NUM 4 #define DEFAULT_FRAME_WIDTH 176 #define DEFAULT_FRAME_HEIGHT 144 diff --git a/sec_mm/sec_omx/sec_omx_component/video/enc/mpeg4enc/SEC_OMX_Mpeg4enc.c b/sec_mm/sec_omx/sec_omx_component/video/enc/mpeg4enc/SEC_OMX_Mpeg4enc.c index 624e7fb..4b59ffa 100644 --- a/sec_mm/sec_omx/sec_omx_component/video/enc/mpeg4enc/SEC_OMX_Mpeg4enc.c +++ b/sec_mm/sec_omx/sec_omx_component/video/enc/mpeg4enc/SEC_OMX_Mpeg4enc.c @@ -1115,8 +1115,8 @@ OSCL_EXPORT_REF OMX_ERRORTYPE SEC_OMX_ComponentInit(OMX_HANDLETYPE hComponent, O for(i = 0; i < ALL_PORT_NUM; i++) { INIT_SET_SIZE_VERSION(&pMpeg4Enc->mpeg4Component[i], OMX_VIDEO_PARAM_MPEG4TYPE); pMpeg4Enc->mpeg4Component[i].nPortIndex = i; - pMpeg4Enc->mpeg4Component[i].eProfile = OMX_VIDEO_MPEG4ProfileCore; - pMpeg4Enc->mpeg4Component[i].eLevel = OMX_VIDEO_MPEG4Level2; + pMpeg4Enc->mpeg4Component[i].eProfile = OMX_VIDEO_MPEG4ProfileSimple; + pMpeg4Enc->mpeg4Component[i].eLevel = OMX_VIDEO_MPEG4Level4; pMpeg4Enc->mpeg4Component[i].nPFrames = 10; pMpeg4Enc->mpeg4Component[i].nBFrames = 0; /* No support for B frames */ |