X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=exynos4%2Flibcodec%2Fvideo%2Fv4l2%2Fdec%2FExynosVideoDecoder.c;h=24be4487c5841715033e20b53d5c2ceedf690bc4;hb=9c52feff76e50675ca475124c2df37d19c5177f8;hp=31217dfd37710d592eb8d51f5dff53f5b47cfc91;hpb=917e7d0b5a3c75db81f1b38ce031013f4eee2efb;p=platform%2Fadaptation%2Fap_samsung%2Flibomxil-e3250-v4l2.git diff --git a/exynos4/libcodec/video/v4l2/dec/ExynosVideoDecoder.c b/exynos4/libcodec/video/v4l2/dec/ExynosVideoDecoder.c index 31217df..24be448 100755 --- a/exynos4/libcodec/video/v4l2/dec/ExynosVideoDecoder.c +++ b/exynos4/libcodec/video/v4l2/dec/ExynosVideoDecoder.c @@ -107,10 +107,10 @@ static unsigned int __ColorFormatType_To_V4L2PixelFormat(ExynosVideoColorFormatT pixelformat = V4L2_PIX_FMT_NV21M; break; case VIDEO_COLORFORMAT_NV12: +#endif default: pixelformat = V4L2_PIX_FMT_NV12M; break; -#endif } return pixelformat; @@ -492,7 +492,7 @@ static ExynosVideoErrorType MFC_Decoder_Get_FramePackingInfo( struct v4l2_ext_control ext_ctrl[FRAME_PACK_SEI_INFO_NUM]; struct v4l2_ext_controls ext_ctrls; - int seiAvailable, seiInfo, seiGridPos, i; + int seiAvailable, seiInfo, seiGridPos; unsigned int seiArgmtId; @@ -571,8 +571,6 @@ EXIT: } /* - -/* * [Decoder Buffer OPS] Enable Cacheable (Input) */ static ExynosVideoErrorType MFC_Decoder_Enable_Cacheable_Inbuf(void *pHandle) @@ -1225,6 +1223,7 @@ EXIT: return ret; } +#if 0 /* * [Decoder Buffer OPS] Wait (Input) */ @@ -1266,6 +1265,7 @@ static ExynosVideoErrorType MFC_Decoder_Wait_Inbuf(void *pHandle) EXIT: return ret; } +#endif static ExynosVideoErrorType MFC_Decoder_Register_Inbuf( void *pHandle, @@ -1742,7 +1742,7 @@ static ExynosVideoBuffer *MFC_Decoder_Dequeue_Outbuf(void *pHandle) } #endif switch (buf.flags & (0x7 << 3)) { - ALOGV("%s: frameType: %d", __func__, buf.flags & (0x7 << 3)); + case V4L2_BUF_FLAG_KEYFRAME: pOutbuf->frameType = VIDEO_FRAME_I; break;