Libvje / refactor : rotozoom (fix)

* clean headers
This commit is contained in:
[d.j.a.y] Jerome Blanchi
2016-07-30 15:45:37 +02:00
parent 61a258f19e
commit 4baf17764d

View File

@@ -19,14 +19,9 @@
*/
/* distortion effects */
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <math.h>
#include <libvje/vje.h>
#include "common.h"
#include <libvjmem/vjmem.h>
#include "rotozoom.h"
#include "common.h"
static int *test_roto[9];
static int *test_roto2[9];
@@ -226,9 +221,9 @@ static void rotozoom1_apply(VJFrame *frame, uint8_t *data[3], int w, int h,
void rotozoom_apply( VJFrame *frame, int mode, int rotate, int zoom, int autom)
{
int width = frame->width;
int height = frame->height;
const int len = frame->len;
const unsigned int width = frame->width;
const unsigned int height = frame->height;
const unsigned int len = frame->len;
int strides[4] = {len ,len ,len ,0};
switch (autom) { /* alas must do memcpy */
case 0: