mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Some comment cleanups
This commit is contained in:
parent
7010c67945
commit
915af4efff
4
config.c
4
config.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: config.c 1.144 2006/04/15 14:05:41 kls Exp $
|
* $Id: config.c 1.145 2006/04/17 11:00:00 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
@ -20,7 +20,7 @@
|
|||||||
// format characters in order to allow any number of blanks after a numeric
|
// format characters in order to allow any number of blanks after a numeric
|
||||||
// value!
|
// value!
|
||||||
|
|
||||||
// --- cCommand -------------------------------------------------------------
|
// --- cCommand --------------------------------------------------------------
|
||||||
|
|
||||||
char *cCommand::result = NULL;
|
char *cCommand::result = NULL;
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: dvbplayer.c 1.44 2006/04/09 13:47:11 kls Exp $
|
* $Id: dvbplayer.c 1.45 2006/04/17 11:00:00 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dvbplayer.h"
|
#include "dvbplayer.h"
|
||||||
@ -15,7 +15,7 @@
|
|||||||
#include "thread.h"
|
#include "thread.h"
|
||||||
#include "tools.h"
|
#include "tools.h"
|
||||||
|
|
||||||
// --- cBackTrace ----------------------------------------------------------
|
// --- cBackTrace ------------------------------------------------------------
|
||||||
|
|
||||||
#define AVG_FRAME_SIZE 15000 // an assumption about the average frame size
|
#define AVG_FRAME_SIZE 15000 // an assumption about the average frame size
|
||||||
#define DVB_BUF_SIZE (256 * 1024) // an assumption about the dvb firmware buffer size
|
#define DVB_BUF_SIZE (256 * 1024) // an assumption about the dvb firmware buffer size
|
||||||
|
8
dvbspu.c
8
dvbspu.c
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
* parts of this file are derived from the OMS program.
|
* parts of this file are derived from the OMS program.
|
||||||
*
|
*
|
||||||
* $Id: dvbspu.c 1.20 2006/02/12 11:50:20 kls Exp $
|
* $Id: dvbspu.c 1.21 2006/04/17 11:00:00 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dvbspu.h"
|
#include "dvbspu.h"
|
||||||
@ -42,7 +42,7 @@
|
|||||||
#define DEBUG(format, args...)
|
#define DEBUG(format, args...)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// --- cDvbSpuPalette----------------------------------
|
// --- cDvbSpuPalette---------------------------------------------------------
|
||||||
|
|
||||||
void cDvbSpuPalette::setPalette(const uint32_t * pal)
|
void cDvbSpuPalette::setPalette(const uint32_t * pal)
|
||||||
{
|
{
|
||||||
@ -50,7 +50,7 @@ void cDvbSpuPalette::setPalette(const uint32_t * pal)
|
|||||||
palette[i] = yuv2rgb(pal[i]);
|
palette[i] = yuv2rgb(pal[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// --- cDvbSpuBitmap --------------------------------------------
|
// --- cDvbSpuBitmap ---------------------------------------------------------
|
||||||
|
|
||||||
#define setMin(a, b) if (a > b) a = b
|
#define setMin(a, b) if (a > b) a = b
|
||||||
#define setMax(a, b) if (a < b) a = b
|
#define setMax(a, b) if (a < b) a = b
|
||||||
@ -208,7 +208,7 @@ void cDvbSpuBitmap::putFieldData(int field, uint8_t * data, uint8_t * endp)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// --- cDvbSpuDecoder-----------------------------
|
// --- cDvbSpuDecoder---------------------------------------------------------
|
||||||
|
|
||||||
#define CMD_SPU_MENU 0x00
|
#define CMD_SPU_MENU 0x00
|
||||||
#define CMD_SPU_SHOW 0x01
|
#define CMD_SPU_SHOW 0x01
|
||||||
|
10
dvbspu.h
10
dvbspu.h
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
* parts of this file are derived from the OMS program.
|
* parts of this file are derived from the OMS program.
|
||||||
*
|
*
|
||||||
* $Id: dvbspu.h 1.11 2006/01/05 10:18:31 kls Exp $
|
* $Id: dvbspu.h 1.12 2006/04/17 11:00:00 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __DVBSPU_H
|
#ifndef __DVBSPU_H
|
||||||
@ -46,7 +46,7 @@ typedef struct sDvbSpuRect {
|
|||||||
|
|
||||||
sDvbSpuRect;
|
sDvbSpuRect;
|
||||||
|
|
||||||
// --- cDvbSpuPalette----------------------------------
|
// --- cDvbSpuPalette---------------------------------------------------------
|
||||||
|
|
||||||
class cDvbSpuPalette {
|
class cDvbSpuPalette {
|
||||||
private:
|
private:
|
||||||
@ -60,7 +60,7 @@ class cDvbSpuPalette {
|
|||||||
uint32_t getColor(uint8_t idx, uint8_t trans) const;
|
uint32_t getColor(uint8_t idx, uint8_t trans) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
// --- cDvbSpuBitmap----------------------------------
|
// --- cDvbSpuBitmap----------------------------------------------------------
|
||||||
|
|
||||||
class cDvbSpuBitmap {
|
class cDvbSpuBitmap {
|
||||||
|
|
||||||
@ -87,7 +87,7 @@ class cDvbSpuBitmap {
|
|||||||
sDvbSpuRect & size) const;
|
sDvbSpuRect & size) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
// --- cDvbSpuDecoder------------------------------------
|
// --- cDvbSpuDecoder---------------------------------------------------------
|
||||||
|
|
||||||
class cDvbSpuDecoder:public cSpuDecoder {
|
class cDvbSpuDecoder:public cSpuDecoder {
|
||||||
private:
|
private:
|
||||||
@ -151,7 +151,7 @@ class cDvbSpuDecoder:public cSpuDecoder {
|
|||||||
void processSPU(uint32_t pts, uint8_t * buf, bool AllowedShow);
|
void processSPU(uint32_t pts, uint8_t * buf, bool AllowedShow);
|
||||||
};
|
};
|
||||||
|
|
||||||
// --- cDvbSpuPalette -------------------------------------------
|
// --- cDvbSpuPalette --------------------------------------------------------
|
||||||
|
|
||||||
inline uint32_t cDvbSpuPalette::yuv2rgb(uint32_t yuv_color)
|
inline uint32_t cDvbSpuPalette::yuv2rgb(uint32_t yuv_color)
|
||||||
{
|
{
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: recording.c 1.145 2006/04/16 12:43:58 kls Exp $
|
* $Id: recording.c 1.146 2006/04/17 11:00:00 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "recording.h"
|
#include "recording.h"
|
||||||
@ -192,7 +192,7 @@ void AssertFreeDiskSpace(int Priority, bool Force)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// --- cResumeFile ------------------------------------------------------------
|
// --- cResumeFile -----------------------------------------------------------
|
||||||
|
|
||||||
cResumeFile::cResumeFile(const char *FileName)
|
cResumeFile::cResumeFile(const char *FileName)
|
||||||
{
|
{
|
||||||
|
4
remux.c
4
remux.c
@ -11,7 +11,7 @@
|
|||||||
* The cRepacker family's code was originally written by Reinhard Nissl <rnissl@gmx.de>,
|
* The cRepacker family's code was originally written by Reinhard Nissl <rnissl@gmx.de>,
|
||||||
* and adapted to the VDR coding style by Klaus.Schmidinger@cadsoft.de.
|
* and adapted to the VDR coding style by Klaus.Schmidinger@cadsoft.de.
|
||||||
*
|
*
|
||||||
* $Id: remux.c 1.55 2006/03/25 12:27:30 kls Exp $
|
* $Id: remux.c 1.56 2006/04/17 11:00:00 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "remux.h"
|
#include "remux.h"
|
||||||
@ -148,7 +148,7 @@ int cRepacker::Put(cRingBufferLinear *ResultBuffer, const uchar *Data, int Count
|
|||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
|
|
||||||
// --- cCommonRepacker --------------------------------------------------------
|
// --- cCommonRepacker -------------------------------------------------------
|
||||||
|
|
||||||
class cCommonRepacker : public cRepacker {
|
class cCommonRepacker : public cRepacker {
|
||||||
protected:
|
protected:
|
||||||
|
4
spu.c
4
spu.c
@ -6,13 +6,13 @@
|
|||||||
* This code is distributed under the terms and conditions of the
|
* This code is distributed under the terms and conditions of the
|
||||||
* GNU GENERAL PUBLIC LICENSE. See the file COPYING for details.
|
* GNU GENERAL PUBLIC LICENSE. See the file COPYING for details.
|
||||||
*
|
*
|
||||||
* $Id: spu.c 1.2 2006/03/26 14:07:59 kls Exp $
|
* $Id: spu.c 1.3 2006/04/17 11:00:00 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "spu.h"
|
#include "spu.h"
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
// -- cSpuDecoder ----------------
|
// -- cSpuDecoder ------------------------------------------------------------
|
||||||
/*
|
/*
|
||||||
cSpuDecoder::cSpuDecoder()
|
cSpuDecoder::cSpuDecoder()
|
||||||
{};
|
{};
|
||||||
|
4
spu.h
4
spu.h
@ -6,7 +6,7 @@
|
|||||||
* This code is distributed under the terms and conditions of the
|
* This code is distributed under the terms and conditions of the
|
||||||
* GNU GENERAL PUBLIC LICENSE. See the file COPYING for details.
|
* GNU GENERAL PUBLIC LICENSE. See the file COPYING for details.
|
||||||
*
|
*
|
||||||
* $Id: spu.h 1.4 2005/02/20 11:21:31 kls Exp $
|
* $Id: spu.h 1.5 2006/04/17 11:00:00 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __SPU_VDR_H
|
#ifndef __SPU_VDR_H
|
||||||
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
// --- cSpuDecoder -------------------------------------------
|
// --- cSpuDecoder -----------------------------------------------------------
|
||||||
|
|
||||||
class cSpuDecoder {
|
class cSpuDecoder {
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user