37 x1 = y1 = x2 = y2 = 0;
47 return r.
x1 != x1 || r.
y1 != y1 || r.
x2 != x2 || r.
y2 != y2;
60 uint32_t yuv2rgb(uint32_t yuv_color);
63 void setPalette(
const uint32_t * pal);
64 uint32_t getColor(uint8_t idx, uint8_t
trans)
const;
76 void putPixel(
int xp,
int yp,
int len, uint8_t colorid);
77 void putFieldData(
int field, uint8_t * data, uint8_t * endp);
81 uint8_t * fodd, uint8_t * eodd,
82 uint8_t * feven, uint8_t * eeven);
131 return ((spu[2] << 8) | spu[3]);
134 return ((spu[0] << 8) | spu[1]);
137 void SetSpuScaling(
void);
145 int setTime(uint32_t pts);
149 void setPalette(uint32_t * pal);
150 void setHighlight(uint16_t sx, uint16_t sy, uint16_t ex, uint16_t ey,
152 void clearHighlight(
void);
157 void processSPU(uint32_t pts, uint8_t * buf,
bool AllowedShow);
168 Y = (yuv_color >> 16) & 0xff;
169 Cb = (yuv_color) & 0xff;
170 Cr = (yuv_color >> 8) & 0xff;
181 Eg = (298 * Ey - 100 * Epb - 208 * Epr) / 256;
182 Eb = (298 * Ey + 516 * Epb) / 256;
183 Er = (298 * Ey + 408 * Epr) / 256;
200 return Eb | (Eg << 8) | (Er << 16);
205 return palette[idx] | ((trans == 0x0f) ? 0xff000000 : (trans << 28));
uint32_t yuv2rgb(uint32_t yuv_color)
struct sDvbSpuRect sDvbSpuRect
cSpuDecoder::eScaleMode scaleMode
bool operator!=(const sDvbSpuPalDescr pd) const
struct sDvbSpuPalDescr aDvbSpuPalDescr[4]
The cOsd class is the interface to the "On Screen Display".
uint32_t getColor(uint8_t idx, uint8_t trans) const
cSpuDecoder::eScaleMode getScaleMode(void)
uint16_t prev_DCSQ_offset