xbmc-imx6 / xbmc

XBMC Main Repository
http://xbmc.org
Other
32 stars 5 forks source link

[Feature Request] Deinterlacer support ? #69

Closed avjui closed 10 years ago

avjui commented 10 years ago

Hi

Is there any plan to get deinterlacer support? It will be a amazing feature for the TV function.

abstract of manual

Display Processor (DP)
The Display Processor performs all the processing required for data sent to a display.
• Combining 2 video/graphics planes
• Overlaying a simple HW cursor 32 x 32 pixels, uniform color; may be combined
logically with the background.
• Color conversion/correction - linear (multiplicative and additive) Programmable;
including:
• YUV <-> RGB, YUV<->YUV conversions where YUV stands for any one of
the color formats defined in the MPEG-4 standard
• Adjustments: brightness, contrast, color saturation...
• Special effects: gray-scale, color inversion, sephia, blue-tone...
• Hue-preserving gamut mapping - for minimal color distortion
• Applied to the output of combining or to one of the inputs
• Gamma correction and contrast stretching - programmable piecewise-linear map
The DP processes a single data flow at any given time, but it supports up to three data
flows, by time sharing, one of them may be synchronous.
The data rate is up to 264M pixels/sec
9.2.2.2
Video de-interlacer (VDIC)
VDIC, the video de-interlacer and combiner module, has two operation modes
• De-interlacing: converts an interlaced video stream to progressive order.
• Combining: combines two video/graphics planes and a background color
The input and output to/from the VDIC is as follows:
• Input for de-interlacing: three consecutive fields
• Source
• The most recent field may come from the CSI or from system memory
• The other two fields are read from memory
• Field size: Supports up to 1080p
• Pixel format: YUV 4:2:2/4:2:0, 8 bits/value
• Typical video sources - SDTV: 480i30 (720x480 at 30 fps) or 576i25 (720x576
at 25 fps) and HDTV: 1080i30 (1920x1080 at 30 fps)
• Input for combining: two progressive video/graphics planes
• Source: system memory
• Plane size: up to 1920x1200 pixels.
• Pixel format: RGB/YUV 4:2:2, 8 bits/value
• Output: progressive frame
• Destination: to system memory or to the Image Converter.
• Frame size: up to 1920x1200 pixels.
• Rate: up to 240M pixels/sec.
• Format: same as input format.
De-interlacing is performed using a high-quality 3-field filter, which is motion adaptive:
• For slow motion - retains the full resolution (of both top and bottom fields)
• For fast motion - prevents motion artifacts
VDIC supports a single video stream at any given time.```
wolfgar commented 10 years ago

Support of VDIC is already implemented... It simply has to be enabled in video settings. Unfortunately there is a remaining issue that we have to tackle : we have performance issue with HD streams. For SD it works nicely...

avjui commented 10 years ago

Thanks for answer