|
gramods
|
Decoder of Yuv encoded texture into a new texture. More...
#include <YuvDecodeTexture.hh>


Classes | |
| struct | Impl |
Public Member Functions | |
| GLuint | updateTexture (size_t frame_number, Eye eye) override |
| Updates the texture and returns the ID of the associated GL texture object. More... | |
| void | setTexture (std::shared_ptr< Texture > texture) |
| Sets the texture to decode. More... | |
| void | setYuvToRgb (Eigen::Matrix3f m) |
| Sets the conversion matrix from YUV space to RGB. More... | |
| void | setUvRange (gmCore::float2 v) |
| Sets the range of the UV values. More... | |
| void | traverse (Visitor *visitor) override |
| Propagates the specified visitor. More... | |
Public Member Functions inherited from gramods::gmGraphics::Texture | |
| virtual std::string | getDefaultKey () override |
| Returns the default key, in Configuration, for the Object. More... | |
Public Member Functions inherited from gramods::gmCore::Object | |
| Object () | |
| Initializes internal data. More... | |
| virtual | ~Object () |
| Cleaning up internal data. More... | |
| virtual void | initialize () |
| Called to initialize the Object. More... | |
| virtual void | accept (Visitor *visitor) |
| Calls the visitors apply method with this as argument. More... | |
| bool | isInitialized () |
| Returns true if the Object is initialized. More... | |
Static Public Attributes | |
| static gramods::gmCore::OFactory::OFactoryInformation | _gm_ofi |
Decoder of Yuv encoded texture into a new texture.
| void gramods::gmGraphics::YuvDecodeTexture::setTexture | ( | std::shared_ptr< Texture > | texture | ) |
Sets the texture to decode.
| void gramods::gmGraphics::YuvDecodeTexture::setUvRange | ( | gmCore::float2 | v | ) |
| void gramods::gmGraphics::YuvDecodeTexture::setYuvToRgb | ( | Eigen::Matrix3f | m | ) |
|
overridevirtual |
Propagates the specified visitor.
Reimplemented from gramods::gmCore::Object.
|
overridevirtual |
Updates the texture and returns the ID of the associated GL texture object.
Must be called with GL context. Observe also that this method may perform off-screen rendering.
| frame_number | The current frame being rendered. This number should increment by one for each frame, however it may wrap around and start over at zero. |
| eye | Eye for which the texture is requested. An implementation may use different textures for different eyes or may reuse the same texture for all eyes. |
Implements gramods::gmGraphics::TextureInterface.