mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-17 21:30:02 +01:00
Libvje / refactor : complexthreshold (fix)
* clean headers
This commit is contained in:
@@ -17,12 +17,9 @@
|
|||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 , USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 , USA.
|
||||||
*/
|
*/
|
||||||
#include <stdint.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <math.h>
|
|
||||||
#include <libvje/vje.h>
|
|
||||||
#include <libvjmem/vjmem.h>
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
#include <libvjmem/vjmem.h>
|
||||||
#include "complexthreshold.h"
|
#include "complexthreshold.h"
|
||||||
|
|
||||||
//FIXME: rewrite this FX
|
//FIXME: rewrite this FX
|
||||||
@@ -108,8 +105,8 @@ void complexthreshold_apply(VJFrame *frame, VJFrame *frame2, int i_angle,
|
|||||||
unsigned int pos;
|
unsigned int pos;
|
||||||
int matrix[5];
|
int matrix[5];
|
||||||
int val, tmp1;
|
int val, tmp1;
|
||||||
const int len = frame->len;
|
const unsigned int len = frame->len;
|
||||||
const int width = frame->width;
|
const unsigned int width = frame->width;
|
||||||
uint8_t *Y = frame->data[0];
|
uint8_t *Y = frame->data[0];
|
||||||
uint8_t *Cb = frame->data[1];
|
uint8_t *Cb = frame->data[1];
|
||||||
uint8_t *Cr = frame->data[2];
|
uint8_t *Cr = frame->data[2];
|
||||||
|
|||||||
Reference in New Issue
Block a user