General Deinterlacing

If pictureStructure is not NVMEDIA_PICTURE_STRUCTURE_FRAME, deinterlacing is performed. Bob deinterlacing is always available but Advanced1 deinterlacing (NVMEDIA_DEINTERLACE_TYPE_ADVANCED1) is used if the following conditions are met:

  • The NvMediaVideoMixer must be created with the NVMEDIA_VMP_FEATURE_DEINTERLACING flag.
  • The deinterlaceType attribute must be set to NVMEDIA_DEINTERLACE_TYPE_ADVANCED1.
  • All 4 source fields must be presented to the NvMediaVideoMixer "NvMediaVideoMixer" next, current, previous, and previous2.