mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
[legacy]: assign MppFrame mode to VPU_Frame frameType directly
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1015 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
@@ -184,6 +184,7 @@ RK_S32 VpuApiLegacy:: decode_getoutframe(DecoderOut_t *aDecOut)
|
||||
vframe->DisplayHeight = mpp_frame_get_height(mframe);
|
||||
vframe->FrameWidth = mpp_frame_get_hor_stride(mframe);
|
||||
vframe->FrameHeight = mpp_frame_get_ver_stride(mframe);
|
||||
vframe->FrameType = mpp_frame_get_mode(mframe);
|
||||
vframe->ErrorInfo = mpp_frame_get_errinfo(mframe) | mpp_frame_get_discard(mframe);
|
||||
pts = mpp_frame_get_pts(mframe);
|
||||
aDecOut->timeUs = pts;
|
||||
|
Reference in New Issue
Block a user