6VideoPlayer_6
所属分类:进程与线程
开发工具:QT
文件大小:13359KB
下载次数:39
上传日期:2017-03-16 22:59:20
上 传 者:
街舞少年
说明: 一个简易的视频播放器,有UI,利用ffmpeg及sdl播放h264视频,通过将文件解码读取帧信息将图像绘制出来
(This is a simple video player,which can play h264 type files,Including ffmpeg and sdl library.)
文件列表:
VideoPlayer_2 (0, 2016-09-07)
VideoPlayer_2\ffmpeg (0, 2016-09-07)
VideoPlayer_2\ffmpeg\bin (0, 2016-09-07)
VideoPlayer_2\ffmpeg\bin\avcodec-56.dll (19646464, 2014-12-31)
VideoPlayer_2\ffmpeg\bin\avdevice-56.dll (1367552, 2014-12-31)
VideoPlayer_2\ffmpeg\bin\avfilter-5.dll (2314752, 2014-12-31)
VideoPlayer_2\ffmpeg\bin\avformat-56.dll (5839360, 2014-12-31)
VideoPlayer_2\ffmpeg\bin\avutil-54.dll (452096, 2014-12-31)
VideoPlayer_2\ffmpeg\bin\ffmpeg.exe (324608, 2014-12-31)
VideoPlayer_2\ffmpeg\bin\ffplay.exe (475136, 2014-12-31)
VideoPlayer_2\ffmpeg\bin\ffprobe.exe (152576, 2014-12-31)
VideoPlayer_2\ffmpeg\bin\postproc-53.dll (121344, 2014-12-31)
VideoPlayer_2\ffmpeg\bin\swresample-1.dll (270336, 2014-12-31)
VideoPlayer_2\ffmpeg\bin\swscale-3.dll (446976, 2014-12-31)
VideoPlayer_2\ffmpeg\include (0, 2016-09-07)
VideoPlayer_2\ffmpeg\include\libavcodec (0, 2016-09-07)
VideoPlayer_2\ffmpeg\include\libavcodec\avcodec.h (179819, 2014-12-31)
VideoPlayer_2\ffmpeg\include\libavcodec\avfft.h (3111, 2014-12-31)
VideoPlayer_2\ffmpeg\include\libavcodec\dv_profile.h (3764, 2014-12-31)
VideoPlayer_2\ffmpeg\include\libavcodec\dxva2.h (2358, 2014-12-31)
VideoPlayer_2\ffmpeg\include\libavcodec\old_codec_ids.h (10623, 2014-12-31)
VideoPlayer_2\ffmpeg\include\libavcodec\vaapi.h (4007, 2014-12-31)
VideoPlayer_2\ffmpeg\include\libavcodec\vda.h (5437, 2014-12-31)
VideoPlayer_2\ffmpeg\include\libavcodec\vdpau.h (7094, 2014-12-31)
VideoPlayer_2\ffmpeg\include\libavcodec\version.h (6340, 2014-12-31)
VideoPlayer_2\ffmpeg\include\libavcodec\vorbis_parser.h (2317, 2014-12-31)
VideoPlayer_2\ffmpeg\include\libavcodec\xvmc.h (6062, 2014-12-31)
VideoPlayer_2\ffmpeg\include\libavdevice (0, 2016-09-07)
VideoPlayer_2\ffmpeg\include\libavdevice\avdevice.h (16642, 2014-12-31)
VideoPlayer_2\ffmpeg\include\libavdevice\version.h (1859, 2014-12-31)
VideoPlayer_2\ffmpeg\include\libavfilter (0, 2016-09-07)
VideoPlayer_2\ffmpeg\include\libavfilter\asrc_abuffer.h (3321, 2014-12-31)
VideoPlayer_2\ffmpeg\include\libavfilter\avcodec.h (2390, 2014-12-31)
VideoPlayer_2\ffmpeg\include\libavfilter\avfilter.h (56887, 2014-12-31)
VideoPlayer_2\ffmpeg\include\libavfilter\avfiltergraph.h (975, 2014-12-31)
VideoPlayer_2\ffmpeg\include\libavfilter\buffersink.h (7539, 2014-12-31)
VideoPlayer_2\ffmpeg\include\libavfilter\buffersrc.h (4899, 2014-12-31)
VideoPlayer_2\ffmpeg\include\libavfilter\version.h (2918, 2014-12-31)
VideoPlayer_2\ffmpeg\include\libavformat (0, 2016-09-07)
VideoPlayer_2\ffmpeg\include\libavformat\avformat.h (102499, 2014-12-31)
... ...
/*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with FFmpeg; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVUTIL_THREADMESSAGE_H
#define AVUTIL_THREADMESSAGE_H
typedef struct AVThreadMessageQueue AVThreadMessageQueue;
typedef enum AVThreadMessageFlags {
/**
* Perform non-blocking operation.
* If this flag is set, send and recv operations are non-blocking and
* return AVERROR(EAGAIN) immediately if they can not proceed.
*/
AV_THREAD_MESSAGE_NONBLOCK = 1,
} AVThreadMessageFlags;
/**
* Allocate a new message queue.
*
* @param mq pointer to the message queue
* @param nelem maximum number of elements in the queue
* @param elsize size of each element in the queue
* @return >=0 for success; <0 for error, in particular AVERROR(ENOSYS) if
* lavu was built without thread support
*/
int av_thread_message_queue_alloc(AVThreadMessageQueue **mq,
unsigned nelem,
unsigned elsize);
/**
* Free a message queue.
*
* The message queue must no longer be in use by another thread.
*/
void av_thread_message_queue_free(AVThreadMessageQueue **mq);
/**
* Send a message on the queue.
*/
int av_thread_message_queue_send(AVThreadMessageQueue *mq,
void *msg,
unsigned flags);
/**
* Receive a message from the queue.
*/
int av_thread_message_queue_recv(AVThreadMessageQueue *mq,
void *msg,
unsigned flags);
/**
* Set the sending error code.
*
* If the error code is set to non-zero, av_thread_message_queue_recv() will
* return it immediately when there are no longer available messages.
* Conventional values, such as AVERROR_EOF or AVERROR(EAGAIN), can be used
* to cause the receiving thread to stop or suspend its operation.
*/
void av_thread_message_queue_set_err_send(AVThreadMessageQueue *mq,
int err);
/**
* Set the receiving error code.
*
* If the error code is set to non-zero, av_thread_message_queue_send() will
* return it immediately. Conventional values, such as AVERROR_EOF or
* AVERROR(EAGAIN), can be used to cause the sending thread to stop or
* suspend its operation.
*/
void av_thread_message_queue_set_err_recv(AVThreadMessageQueue *mq,
int err);
#endif /* AVUTIL_THREADMESSAGE_H */
近期下载者:
相关文件:
收藏者: