minor modifications were added as a part of testing codec2 service on rockchip SoC. These mods are only for testing and wouldn't impact the functionality
28 lines
520 B
C
28 lines
520 B
C
#ifndef FFMPEG_HWACCEL_H
|
|
#define FFMPEG_HWACCEL_H
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
|
|
|
|
#endif
|
|
|
|
#include "libavcodec/avcodec.h"
|
|
#include "libavformat/avformat.h"
|
|
#include "libswscale/swscale.h"
|
|
#include "libswresample/swresample.h"
|
|
#include "libavutil/opt.h"
|
|
#include "libavutil/pixdesc.h"
|
|
|
|
|
|
|
|
extern int ffmpeg_hwaccel_init(AVCodecContext *avctx);
|
|
extern void ffmpeg_hwaccel_deinit(AVCodecContext *avctx);
|
|
extern int ffmpeg_hwaccel_get_frame(AVCodecContext *avctx, AVFrame *frame);
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
#endif
|
|
|
|
#endif
|