diff options
author | Andreas Brachold <vdr07@deltab.de> | 2005-07-28 15:41:43 +0000 |
---|---|---|
committer | Andreas Brachold <vdr07@deltab.de> | 2005-07-28 15:41:43 +0000 |
commit | 8c5bda0e344a1389cad91eef9f7e00b069ffa933 (patch) | |
tree | 305b438e155a7d69697e099a2ddbbea4b87d9eeb /liboutput | |
parent | 57ff8fb8eb79adfebfaf43c884eac70e3ffb2b2c (diff) | |
download | vdr-plugin-image-8c5bda0e344a1389cad91eef9f7e00b069ffa933.tar.gz vdr-plugin-image-8c5bda0e344a1389cad91eef9f7e00b069ffa933.tar.bz2 |
- add option for border of underscan
- rename setup variables to hungarian notation
Diffstat (limited to 'liboutput')
-rw-r--r-- | liboutput/encode.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/liboutput/encode.h b/liboutput/encode.h index 15dd28d..f19a4c4 100644 --- a/liboutput/encode.h +++ b/liboutput/encode.h @@ -26,7 +26,7 @@ #define _ENCODE_H #include <ffmpeg/avcodec.h> - +#include "../setup-image.h" //#define TESTCODE class cEncode @@ -66,8 +66,8 @@ public: inline unsigned int GetHeight() const { return m_nHeight; } inline unsigned int GetWidth() const { return m_nWidth; } - inline unsigned int GetBorderHeight() const { return 16; } - inline unsigned int GetBorderWidth() const { return 16; } + inline unsigned int GetBorderHeight() const { return ImageSetup.m_nBorderHeight; } + inline unsigned int GetBorderWidth() const { return ImageSetup.m_nBorderWidth; } inline uint8_t *GetRGBMem() { return m_pImageRGB; } void ClearRGBMem (); |