1
0
Fork 0
android_external_ffmpeg_codec2/ffmpeg_utils/ffmpeg_hwaccel.h
dvab-sarma 4695642189 minor modifications
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
2025-11-28 20:03:56 -06:00

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