Lines 112-143
Link Here
|
112 |
|
112 |
|
113 |
public: |
113 |
public: |
114 |
|
114 |
|
115 |
void Telecide::CalculateMetrics(int n, unsigned char *crp, unsigned char *crpU, unsigned char *crpV, |
115 |
void CalculateMetrics(int n, unsigned char *crp, unsigned char *crpU, unsigned char *crpV, |
116 |
unsigned char *prp, unsigned char *prpU, unsigned char *prpV); |
116 |
unsigned char *prp, unsigned char *prpU, unsigned char *prpV); |
117 |
void Telecide::Show(ADMImage *dst, int frame); |
117 |
void Show(ADMImage *dst, int frame); |
118 |
void Telecide::Debug(int frame); |
118 |
void Debug(int frame); |
119 |
|
119 |
|
120 |
Telecide::Telecide(AVDMGenericVideoStream *in,CONFcouple *couples); |
120 |
Telecide(AVDMGenericVideoStream *in,CONFcouple *couples); |
121 |
|
121 |
|
122 |
Telecide::~Telecide(); |
122 |
~Telecide(); |
123 |
|
123 |
|
124 |
void Telecide::PutChosen(int frame, unsigned int chosen); |
124 |
void PutChosen(int frame, unsigned int chosen); |
125 |
|
125 |
|
126 |
|
126 |
|
127 |
void Telecide::CacheInsert(int frame, unsigned int p, unsigned int pblock, |
127 |
void CacheInsert(int frame, unsigned int p, unsigned int pblock, |
128 |
unsigned int c, unsigned int cblock); |
128 |
unsigned int c, unsigned int cblock); |
129 |
|
129 |
|
130 |
bool Telecide::CacheQuery(int frame, unsigned int *p, unsigned int *pblock, |
130 |
bool CacheQuery(int frame, unsigned int *p, unsigned int *pblock, |
131 |
unsigned int *c, unsigned int *cblock); |
131 |
unsigned int *c, unsigned int *cblock); |
132 |
|
132 |
|
133 |
bool Telecide::PredictHardYUY2(int frame, unsigned int *predicted, unsigned int *predicted_metric) ; |
133 |
bool PredictHardYUY2(int frame, unsigned int *predicted, unsigned int *predicted_metric) ; |
134 |
|
134 |
|
135 |
struct PREDICTION *Telecide::PredictSoftYUY2(int frame); |
135 |
struct PREDICTION *PredictSoftYUY2(int frame); |
136 |
|
136 |
|
137 |
void Telecide::WriteHints(unsigned char *dst, bool film, bool inpattern); |
137 |
void WriteHints(unsigned char *dst, bool film, bool inpattern); |
138 |
virtual uint8_t Telecide::getFrameNumberNoAlloc(uint32_t frame, uint32_t *len, |
138 |
virtual uint8_t getFrameNumberNoAlloc(uint32_t frame, uint32_t *len, |
139 |
ADMImage *data,uint32_t *flags); |
139 |
ADMImage *data,uint32_t *flags); |
140 |
char *Telecide::printConf( void ); |
140 |
char *printConf( void ); |
141 |
uint8_t Telecide::configure(AVDMGenericVideoStream *in); |
141 |
uint8_t configure(AVDMGenericVideoStream *in); |
142 |
uint8_t Telecide::getCoupledConf( CONFcouple **couples); |
142 |
uint8_t getCoupledConf( CONFcouple **couples); |
143 |
}; |
143 |
}; |