Show
Ignore:
Timestamp:
03/11/09 16:12:46 (4 years ago)
Author:
robert
Message:

From Tanguy Fautre,

Clean up of the FFmpeg plugin's class API/AudioStream API.
Implementation of isImageTransparent().
Implementation of Image:g/setPixelAspectRatio()

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osg/Image

    r9888 r9910  
    186186        void setPacking(unsigned int packing) { _packing = packing; } 
    187187        inline unsigned int getPacking() const { return _packing; } 
     188 
     189        inline void setPixelAspectRatio(float pixelAspectRatio) { _pixelAspectRatio = pixelAspectRatio; } 
     190        inline float getPixelAspectRatio() const { return _pixelAspectRatio; } 
    188191         
    189192        /** Return the number of bits required for each pixel. */ 
     
    347350        GLenum _dataType; 
    348351        unsigned int _packing; 
     352        float _pixelAspectRatio; 
    349353 
    350354        AllocationMode _allocationMode;