[Redmi Note 2 Android Development] obama88:
audio seems normal，but video laggy，logcat：

05-23 14:56:51.511 367 5301 D MtkOmxVdecEx: [0xe9960000] AVC DEC, NAL 1 (0), 91586900000, 0x10 10947 (0xE9919080), (3 ms, 3 ms, 123 ms), 0

05-23 14:56:51.511 367 5301 D MtkOmxVdecEx: [0xe9960000] mIsInterlacing 0

05-23 14:56:51.511 367 5301 E MtkOmxVdecEx: [0xe9960000] ### mDeInterlaceEnable = 1 mInterlaceChkComplete = 0 mThumbnailMode = 0

05-23 14:56:51.511 367 5301 D MtkOmxVdecEx: [0xe9960000] mIsInterlacing 0

05-23 14:56:51.511 367 5301 D MtkOmxVdecEx: [0xe9960000] FBD (0xE99197A0) (0xE9956520) 91586820000 (783360) GET_DISP i(12) frm_buf(0xE990BB00), flags(0x00000000) mFlushInProcess 0

05-23 14:56:51.511 367 5301 D MtkOmxVdecEx: [0xe9960000] @@ Video buffer status Y/Cb/Cr alignment = 16/8/8, Height alignment = 32, Deinterlace = 0

05-23 14:56:51.511 367 5301 D MtkOmxVdecEx: [0xe9960000] @@ Video buffer status 0x90220000

05-23 14:56:51.512 367 5301 E MtkOmxVdecEx: [0xe9960000] [TEST-REF] 0 DecRef 0xe43e7000 idx 7 array 2 to refCount 1

05-23 14:56:51.512 367 5301 D MtkOmxMVAMgr: [0xe9909218] [ION][FreeBuffer] entry=0xe9916fe0, va=0xe3d27000, pa=0x9800000,size=0xd74c0, srcFd=0x00000044, fd=0x00000075, bufHdr=0xE99192C0

05-23 14:56:51.512 367 5301 E MtkOmxVdecEx: [0xe9960000] [TEST-REF] 1 DecRef 0xe3d27000 idx 0 array 2 to refCount 0

05-23 14:56:51.512 367 5301 D MtkOmxVdecEx: [0xe9960000] EBD (0xE9919080) (0xE5E89000) (5) (5 4)

05-23 14:56:51.512 367 5301 D MtkOmxVdecEx: [0xe9960000] DecodeVideo() --

05-23 14:56:51.512 367 5301 D MtkOmxVdecEx: ## 0xe9960000 Wait to decode (4) (input: 4, output: 0)

05-23 14:56:51.512 367 5301 D MtkOmxVdecEx: ## 0xe9960000 out from sem (3)

05-23 14:56:51.512 367 5301 E VDO_LOG : log instance id 1

05-23 14:56:51.521 367 5300 D MtkOmxVdecEx: [0xe9960000] ETB (0xE9919080) (0xE5E89000) (13691) (4 3) AVSyncTime(-1)

05-23 14:56:51.521 367 5301 E VDO_LOG : H264 Output buffer 0xe9960000

05-23 14:56:51.522 367 5301 E VDO_LOG : DrvGetOutputBufferCB+

05-23 14:56:51.522 367 5301 D MtkOmxVdecEx: ## 0xe9960000 Wait for output buffer (0)

05-23 14:56:51.542 367 5300 D MtkOmxVdecEx: [0xe9960000] FTB (0xE9919680) (0xE99564F0) (12) AVSyncTime(-1)

05-23 14:56:51.542 367 5300 D MtkOmxMVAMgr: [0xe99132f0] [INFO] Don't find MVA from Handle: 0xe992ea00

05-23 14:56:51.542 367 5300 D MtkOmxVdecEx: [0xe9960000] SetupMetaIonHandle cannot find handle, create a new entry,LINE:879

05-23 14:56:51.542 367 5300 D MtkOmxVdecEx: [0xe9960000] SetupMetaIonHandle cannot find handle, create a new entry, LINE:900

05-23 14:56:51.543 367 5300 D MtkOmxMVAMgr: [0xe9909218] ION share_fd 108, size (881856), va (0xE3D27000)

05-23 14:56:51.549 367 5300 D MtkOmxMVAMgr: [0xe9909218] IonBuffer: entry(0xe9916fe0), va(0xe3d27000), mva:(0x09600000), ion_buf_handle (0x00000008)

05-23 14:56:51.549 367 5300 D MtkOmxVdecEx: [0xe9960000] pBuffer(0xe9919680),VA(0xE3D27000), PA(0x09600000), size(881856) mIonOutputBufferCount(2130)

05-23 14:56:51.549 367 5300 E MtkOmxVdecEx: [0xe9960000] SetupMetaIonHandle Warning: mIonOutputBufferCount 2130,u4BuffHdr(0xe9919680),graphicBufHandle(0xe992ea00)

05-23 14:56:51.549 367 5300 E MtkOmxVdecEx: [0xe9960000]

05-23 14:56:51.549 367 5300 E MtkOmxVdecEx: [0xe9960000] [TEST-REF] 0 IncRef 0xe3d27000 idx 9 to refCount 1

05-23 14:56:51.550 367 5300 D MtkOmxVdecEx: [0xe9960000] SIGNAL mOutputBufferSem

05-23 14:56:51.550 367 5301 E MtkOmxVdecEx: [0xe9960000] DequeueOutputBuffer(), mOutputBufferHdrs[9] 0xe9919680 is free

05-23 14:56:51.550 367 5301 D MtkOmxVdecEx: [0xe9960000] [DI] DISetGrallocExtra +

05-23 14:56:51.550 367 5301 D MtkOmxVdecEx: [0xe9960000] [DI] DISetGrallocExtra GRALLOC_EXTRA_BIT_CM_NV12_BLK

05-23 14:56:51.550 367 5301 D MtkOmxVdecEx: [0xe9960000] [DI] DISetGrallocExtra -

05-23 14:56:51.550 367 5301 E MtkOmxVdecEx: [0xe9960000] [TEST-REF] 1 IncRef 0xe3d27000 idx 9 to refCount 2

05-23 14:56:51.550 367 5301 D MtkOmxVdecEx: pFrame : 0xe8bb4280 0xe9919680 (VA: 0xe3d27000, PA: 0x09600000, 0xe99564f0)

05-23 14:56:51.550 367 5301 E VDO_LOG : Output buffer VA = 0xe3d27000, PA = 0x09600000

05-23 14:56:51.550 367 5301 E VDO_LOG : DrvGetOutputBufferCB-

05-23 14:56:51.550 367 5301 E VDO_LOG : H264 Output buffer 0xe8bb4280

05-23 14:56:51.550 367 5301 E VDO_LOG : H264 Output buffer VA = 0xe3d27000, PA = 0x09600000

05-23 14:56:51.550 367 5301 E VDO_LOG : log instance id 1 --

05-23 14:56:51.550 367 5301 E VDO_LOG : DecodeEx return 1

05-23 14:56:51.551 367 5301 D MtkOmxVdecEx: [0xe9960000] AVC DEC, NAL 1 (0), 91587020000, 0x10 13477 (0xE99190E0), (10 ms, 10 ms, 28 ms), 0

05-23 14:56:51.551 367 5301 D MtkOmxVdecEx: [0xe9960000] mIsInterlacing 0

05-23 14:56:51.551 367 5301 E MtkOmxVdecEx: [0xe9960000] ### mDeInterlaceEnable = 1 mInterlaceChkComplete = 0 mThumbnailMode = 0

05-23 14:56:51.551 367 5301 D MtkOmxVdecEx: [0xe9960000] mIsInterlacing 0

05-23 14:56:51.551 367 5301 D MtkOmxVdecEx: [0xe9960000] FBD (0xE9919560) (0xE99563A0) 91586860000 (783360) GET_DISP i(3) frm_buf(0xE990BB80), flags(0x00000000) mFlushInProcess 0

05-23 14:56:51.551 367 5301 D MtkOmxVdecEx: [0xe9960000] @@ Video buffer status Y/Cb/Cr alignment = 16/8/8, Height alignment = 32, Deinterlace = 0

05-23 14:56:51.551 367 5301 D MtkOmxVdecEx: [0xe9960000] @@ Video buffer status 0x90220000

05-23 14:56:51.551 367 5301 E MtkOmxVdecEx: [0xe9960000] [TEST-REF] 0 DecRef 0xe4237000 idx 0 array 2 to refCount 1

05-23 14:56:51.551 367 5301 D MtkOmxMVAMgr: [0xe9909218] [ION][FreeBuffer] entry=0xe9916bf0, va=0xe3b77000, pa=0x9500000,size=0xd74c0, srcFd=0x0000003E, fd=0x00000076, bufHdr=0xE99196E0

05-23 14:56:51.552 367 5301 E MtkOmxVdecEx: [0xe9960000] [TEST-REF] 1 DecRef 0xe3b77000 idx 1 array 2 to refCount 0

05-23 14:56:51.552 367 5301 D MtkOmxVdecEx: [0xe9960000] EBD (0xE99190E0) (0xE5D09000) (5) (5 4)

05-23 14:56:51.552 367 5301 D MtkOmxVdecEx: [0xe9960000] DecodeVideo() --

05-23 14:56:51.552 367 5301 D MtkOmxVdecEx: ## 0xe9960000 Wait to decode (4) (input: 4, output: 0)

05-23 14:56:51.552 367 5301 D MtkOmxVdecEx: ## 0xe9960000 out from sem (3)

05-23 14:56:51.552 367 5301 E VDO_LOG : log instance id 1

05-23 14:56:51.556 367 5300 D MtkOmxVdecEx: [0xe9960000] ETB (0xE99190E0) (0xE5D09000) (16023) (4 3) AVSyncTime(-1)

05-23 14:56:51.559 367 5301 E VDO_LOG : H264 Output buffer 0xe9960000

05-23 14:56:51.559 367 5301 E VDO_LOG : DrvGetOutputBufferCB+

05-23 14:56:51.559 367 5301 D MtkOmxVdecEx: ## 0xe9960000 Wait for output buffer (0)

05-23 14:56:51.622 367 5300 D MtkOmxVdecEx: [0xe9960000] FTB (0xE9919800) (0xE9956530) (12) AVSyncTime(-1)

05-23 14:56:51.622 367 5300 D MtkOmxMVAMgr: [0xe99132f0] [INFO] Don't find MVA from Handle: 0xe992e3c0

05-23 14:56:51.622 367 5300 D MtkOmxVdecEx: [0xe9960000] SetupMetaIonHandle cannot find handle, create a new entry,LINE:879

05-23 14:56:51.622 367 5300 D MtkOmxVdecEx: [0xe9960000] SetupMetaIonHandle cannot find handle, create a new entry, LINE:900

05-23 14:56:51.622 367 5300 D MtkOmxMVAMgr: [0xe9909218] ION share_fd 116, size (881856), va (0xE3B77000)

05-23 14:56:51.623 367 5300 D MtkOmxMVAMgr: [0xe9909218] IonBuffer: entry(0xe9916bf0), va(0xe3b77000), mva:(0x02c00000), ion_buf_handle (0x00000009)

05-23 14:56:51.623 367 5300 D MtkOmxVdecEx: [0xe9960000] pBuffer(0xe9919800),VA(0xE3B77000), PA(0x02C00000), size(881856) mIonOutputBufferCount(2131)

05-23 14:56:51.623 367 5300 E MtkOmxVdecEx: [0xe9960000] SetupMetaIonHandle Warning: mIonOutputBufferCount 2131,u4BuffHdr(0xe9919800),graphicBufHandle(0xe992e3c0)

05-23 14:56:51.623 367 5300 E MtkOmxVdecEx: [0xe9960000]

05-23 14:56:51.623 367 5300 E MtkOmxVdecEx: [0xe9960000] [TEST-REF] 0 IncRef 0xe3b77000 idx 13 to refCount 1

05-23 14:56:51.623 367 5300 D MtkOmxVdecEx: [0xe9960000] SIGNAL mOutputBufferSem

05-23 14:56:51.623 367 5301 E MtkOmxVdecEx: [0xe9960000] DequeueOutputBuffer(), mOutputBufferHdrs[13] 0xe9919800 is free

05-23 14:56:51.623 367 5301 D MtkOmxVdecEx: [0xe9960000] [DI] DISetGrallocExtra +

05-23 14:56:51.623 367 5301 D MtkOmxVdecEx: [0xe9960000] [DI] DISetGrallocExtra GRALLOC_EXTRA_BIT_CM_NV12_BLK

05-23 14:56:51.623 367 5301 D MtkOmxVdecEx: [0xe9960000] [DI] DISetGrallocExtra -

05-23 14:56:51.624 367 5301 E MtkOmxVdecEx: [0xe9960000] [TEST-REF] 1 IncRef 0xe3b77000 idx 13 to refCount 2

05-23 14:56:51.624 367 5301 D MtkOmxVdecEx: pFrame : 0xe8bb4580 0xe9919800 (VA: 0xe3b77000, PA: 0x02c00000, 0xe9956530)

05-23 14:56:51.624 367 5301 E VDO_LOG : Output buffer VA = 0xe3b77000, PA = 0x02c00000

05-23 14:56:51.624 367 5301 E VDO_LOG : DrvGetOutputBufferCB-

05-23 14:56:51.624 367 5301 E VDO_LOG : H264 Output buffer 0xe8bb4580

05-23 14:56:51.624 367 5301 E VDO_LOG : H264 Output buffer VA = 0xe3b77000, PA = 0x02c00000

05-23 14:56:51.624 367 5301 E VDO_LOG : log instance id 1 --

05-23 14:56:51.624 367 5301 E VDO_LOG : DecodeEx return 1

05-23 14:56:51.624 367 5301 D MtkOmxVdecEx: [0xe9960000] AVC DEC, NAL 1 (0), 91587060000, 0x10 8984 (0xE9919140), (7 ms, 7 ms, 65 ms), 0

05-23 14:56:51.624 367 5301 D MtkOmxVdecEx: [0xe9960000] mIsInterlacing 0

05-23 14:56:51.624 367 5301 E MtkOmxVdecEx: [0xe9960000] ### mDeInterlaceEnable = 1 mInterlaceChkComplete = 0 mThumbnailMode = 0