mirror of
https://github.com/mpv-player/mpv
synced 2024-12-18 04:45:33 +00:00
cb1c072534
This turns the old scalers (inherited from MPlayer) into a pre- processing step (after color conversion and before scaling). The code for the "sharpen5" scaler is reused for this. The main reason MPlayer implemented this as scalers was perhaps because FBOs were too expensive, and making it a scaler allowed to implement this in 1 pass. But unsharp masking is not really a scaler, and I would guess the result is more like combining bilinear scaling and unsharp masking. |
||
---|---|---|
.. | ||
cocoa | ||
cocoa-openglcb | ||
qml | ||
qml_direct | ||
qt | ||
sdl | ||
simple | ||
Copyright | ||
README.md |
Client API examples
All these examples use the mpv client API through libmpv.
cocoa
Shows how to embed the mpv video window in Objective-C/Cocoa.
qt
Shows how to embed the mpv video window in Qt (using normal desktop widgets).
qml
Shows how to use mpv's OpenGL video renderer in QtQuick2 with QML.
qml_direct
Alternative example, which typically avoids a FBO indirection. Might be slightly faster, but is less flexible and harder to use.
sdl
Show how to embed the mpv OpenGL renderer in SDL.
simple
Very primitive terminal-only example. Shows some most basic API usage.