File: dscaler_interface.h

package info (click to toggle)
transcode 3%3A1.1.7-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 11,644 kB
  • sloc: ansic: 116,927; sh: 11,468; xml: 2,849; makefile: 1,891; perl: 1,492; pascal: 526; php: 191; python: 144; sed: 43
file content (41 lines) | stat: -rw-r--r-- 954 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
 *  dscaler_interface.h
 *
 *  Structs necessary for accessing dscaler filters
 */

#include "config.h"
#include <stdlib.h>
#include <stdint.h>

/* PictureFlags is a bitmask! */
typedef enum {
    PICTURE_PROGRESSIVE     = 0,
    PICTURE_INTERLACED_ODD  = 1,
    PICTURE_INTERLACED_EVEN = 2
} PictureFlags;

typedef struct {
    uint8_t      *pData;
    PictureFlags  Flags;
} TPicture;

typedef void* (MEMCPY_FUNC)(void* pOutput, const void* pInput, size_t nSize);

typedef struct {
    TPicture** PictureHistory;
    unsigned char *Overlay;
    unsigned int OverlayPitch;
    unsigned int LineLength;
    int FrameWidth;
    int FrameHeight;
    int FieldHeight;
    MEMCPY_FUNC* pMemcpy;
    long InputPitch;
} TDeinterlaceInfo;

void filterDScaler_SSE(TDeinterlaceInfo*, int, int);
void filterDScaler_3DNOW(TDeinterlaceInfo*, int, int);
void filterDScaler_MMX(TDeinterlaceInfo*, int, int);
//void filterDScaler_SSE2(TDeinterlaceInfo*, int, int);