- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to use intel VPP for post processing my video frames. I create the video params and trying to initialize but when I add ProCamp filter it always says invalid video param supplied. I am not sure what is wrong. Code is same as per the samples.
m_tabDoUseAlg[m_filtersAdded++] = MFX_EXTBUFF_VPP_PROCAMP; memset(&m_procampConfig, 0, sizeof(m_procampConfig)); m_procampConfig.Header.BufferId = MFX_EXTBUFF_VPP_PROCAMP; m_procampConfig.Header.BufferSz = sizeof(mfxExtVPPProcAmp); m_procampConfig.Hue = m_hue; m_procampConfig.Saturation = m_saturation; m_procampConfig.Contrast = m_contrast; m_procampConfig.Brightness = m_brightness; m_extBuffer[m_filtersAdded] = (mfxExtBuffer*)&m_procampConfig;
Same thing happens for frame rate conversion filter. I am not sure what is going on. I am assuming that because I have different frame rate for input and output, SDK probably will add a frame rate conversion filter, may be when I am trying to add it again it is giving issue, but not sure about it.
Also i need to know if I can change the filter configuration at run time. Ideally I need to change brightness hue etc on user input while the pipeline is processing the frames.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Anyone has any idea, i would really appreciate it.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page