Lines 56-68
Link Here
|
56 |
#include "xvidcap-intl.h" |
56 |
#include "xvidcap-intl.h" |
57 |
|
57 |
|
58 |
// ffmpeg stuff |
58 |
// ffmpeg stuff |
59 |
#include <ffmpeg/avcodec.h> |
59 |
#include <libavcodec/avcodec.h> |
60 |
#include <ffmpeg/avformat.h> |
60 |
#include <libavformat/avformat.h> |
61 |
#include <ffmpeg/avdevice.h> |
61 |
#include <libavdevice/avdevice.h> |
62 |
//#include <ffmpeg/dsputil.h> |
62 |
//#include <ffmpeg/dsputil.h> |
63 |
#include <ffmpeg/swscale.h> |
63 |
#include <libswscale/swscale.h> |
64 |
#include <ffmpeg/rgb2rgb.h> |
64 |
#include <libswscale/rgb2rgb.h> |
65 |
#include <ffmpeg/fifo.h> |
65 |
#include <libavutil/fifo.h> |
66 |
#define swscale_isRGB(x) ((x)==PIX_FMT_BGR32 || (x)==PIX_FMT_RGB24 \ |
66 |
#define swscale_isRGB(x) ((x)==PIX_FMT_BGR32 || (x)==PIX_FMT_RGB24 \ |
67 |
|| (x)==PIX_FMT_RGB565 || (x)==PIX_FMT_RGB555 \ |
67 |
|| (x)==PIX_FMT_RGB565 || (x)==PIX_FMT_RGB555 \ |
68 |
|| (x)==PIX_FMT_RGB8 || (x)==PIX_FMT_RGB4 \ |
68 |
|| (x)==PIX_FMT_RGB8 || (x)==PIX_FMT_RGB4 \ |