mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-19 14:19:58 +01:00
Libvje / refactor : rotozoom (fix)
* clean headers
This commit is contained in:
@@ -19,14 +19,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* distortion effects */
|
/* distortion effects */
|
||||||
#include <stdio.h>
|
#include "common.h"
|
||||||
#include <stdint.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <math.h>
|
|
||||||
#include <libvje/vje.h>
|
|
||||||
#include <libvjmem/vjmem.h>
|
#include <libvjmem/vjmem.h>
|
||||||
#include "rotozoom.h"
|
#include "rotozoom.h"
|
||||||
#include "common.h"
|
|
||||||
|
|
||||||
static int *test_roto[9];
|
static int *test_roto[9];
|
||||||
static int *test_roto2[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)
|
void rotozoom_apply( VJFrame *frame, int mode, int rotate, int zoom, int autom)
|
||||||
{
|
{
|
||||||
int width = frame->width;
|
const unsigned int width = frame->width;
|
||||||
int height = frame->height;
|
const unsigned int height = frame->height;
|
||||||
const int len = frame->len;
|
const unsigned int len = frame->len;
|
||||||
int strides[4] = {len ,len ,len ,0};
|
int strides[4] = {len ,len ,len ,0};
|
||||||
switch (autom) { /* alas must do memcpy */
|
switch (autom) { /* alas must do memcpy */
|
||||||
case 0:
|
case 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user