- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should be able to run VPP to scale frames up to 4K on both most recent driver (15.28 - for Win7 and Win8) and current Win7 generation driver (15.26).
I quickly tested this right now using the Media SDK sample_vpp sample and it works fine.
The driver, 2405, you mention is very old so it's hard to predict the cause, ypu may have fallen back oin SW processing. Regardless, for 15.26 set of drivers, please use the most recent one from http://downloadcenter.intel.com/
I do not know the reason for you encountering MFX_ERR_NOT_INITIALIZED?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
my previous statement is true for both 2nd (Sandy Bridge) and 3rd generation Core processors.
Please explore sample_vpp, you should be getting the same results. If not, let us know.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Petter
Thanks for you advice. I have used sample_vpp and realized that width and height should all be 16 aligned. After fixed alignment issue, my vpp runs well for 720P to 640*360.
However 720P to 320*180 still can not get the correct picture, but the sample_vpp can do it. I used mediasdk_tracer to capture the settings. Could you help check it? The fragment of log of my vpp & sample_vpp are listed below.
vpp.Init.par.AsyncDepth=0
vpp.Init.par.vpp.In.FourCC=NV12
vpp.Init.par.vpp.In.Resolution=(1280,736)
vpp.Init.par.vpp.In.Crop=(0,0,1280,720)
vpp.Init.par.vpp.In.FrameRate=24000/1001
vpp.Init.par.vpp.In.AspectRatio=144:144
vpp.Init.par.vpp.In.PicStruct=PROGRESSIVE
vpp.Init.par.vpp.In.ChromaFormat=4:2:0
vpp.Init.par.vpp.Out.FourCC=NV12
vpp.Init.par.vpp.Out.Resolution=(320,192)
vpp.Init.par.vpp.Out.Crop=(0,0,320,180)
vpp.Init.par.vpp.Out.FrameRate=24000/1001
vpp.Init.par.vpp.Out.AspectRatio=144:144
vpp.Init.par.vpp.Out.PicStruct=PROGRESSIVE
vpp.Init.par.vpp.Out.ChromaFormat=4:2:0
vpp.Init.par.Protected=0
vpp.Init.par.IOPattern=IN_VIDEO_MEMORY|OUT_VIDEO_MEMORY
vpp.Init.par.NumExtParam=0
vpp.Init.par.ExtParam=NULLvpp.Init.par.AsyncDepth=0
vpp.Init.par.vpp.In.FourCC=NV12
vpp.Init.par.vpp.In.Resolution=(1280,720)
vpp.Init.par.vpp.In.Crop=(0,0,1280,720)
vpp.Init.par.vpp.In.FrameRate=30/1
vpp.Init.par.vpp.In.AspectRatio=0:0
vpp.Init.par.vpp.In.PicStruct=PROGRESSIVE
vpp.Init.par.vpp.In.ChromaFormat=4:2:0
vpp.Init.par.vpp.Out.FourCC=NV12
vpp.Init.par.vpp.Out.Resolution=(320,192)
vpp.Init.par.vpp.Out.Crop=(0,0,320,180)
vpp.Init.par.vpp.Out.FrameRate=30/1
vpp.Init.par.vpp.Out.AspectRatio=0:0
vpp.Init.par.vpp.Out.PicStruct=PROGRESSIVE
vpp.Init.par.vpp.Out.ChromaFormat=4:2:0
vpp.Init.par.Protected=0
vpp.Init.par.IOPattern=IN_SYSTEM_MEMORY|OUT_SYSTEM_MEMORY
vpp.Init.par.NumExtParam=0
vpp.Init.par.ExtParam=NULL- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Another question is whether VPP supports 720P to 5120*2880 (16x 720P)? Sample_vpp reports MFX_WRN_PARTIAL_ACCELERATION. I think it is not bigger than 4K * 4K.
Could you tell me whether it is supported on IVB. If not, whether it will be support in Haswell?
Thanks
-- Lin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
from the log you provided I do not not see any issues. I suspect there is something else in your code that is the cause of the issue, such as memory allocation. I suggest continuing to compare your implementation with the sample_vpp code. Hopefully you will find the issue.
When using surfaces greater than 4K VPP will fall back on SW implementation (indicated by the MFX_WRN_PARTIAL_ACCELERATION return code). The behavior is the same for 2nd and 3rd generation Core processors. I cannot comment on next gen Core processor at this point.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Peter
I will continue to investigate the scale issues. Thanks for your help.
Whether does sw vpp fully utilizes the SIMD operation likes AVX and multi-threads to guarantee performance?
-- Lin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The VPP SW component has only limited multi-threading today. The SW VPP implementation is considered as functional fallback in case HW is not available. Our efforts are primarily focused on HW path, but we will revisit the SW VPP implementation to explore if we can improve threading/performance.
Media SDK SW encoder and decoder are threaded to utilize all cores for good performance.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page