qt_rtmp_demo/inc/utils.h

22 lines
402 B
C++

#pragma once
#include <string>
#include <memory>
#include "guiddef.h"
#include <dshow.h>
#include <windows.h>
#include "qedit.h"
extern "C"
{
#include "libavcodec/avcodec.h"
#include "libavformat/avformat.h"
#include "libavutil/avutil.h"
#include "libswscale/swscale.h"
#include "libavutil/opt.h"
#include "libavutil/imgutils.h"
};
using namespace std;
AVPixelFormat GUIDToAvFormat(GUID mediatype);