ffmpeg NvDecodeD3D9
所属分类:多媒体编程
开发工具:Visual C++
文件大小:59866KB
下载次数:85
上传日期:2017-10-19 14:07:41
上 传 者:
SpecialMXY
说明: 修改NVIDIA VIDEO CODEC SDK中 NvDecodeD3D9的数据源为FFmpeg,弥补原生SDK不能以流作为数据源的不足
(Modify the NVIDIA VIDEO CODEC SDK for FFmpeg NvDecodeD3D9 data sources, make up the lack of native SDK cannot flow as a data source)
文件列表:
ffmpeg NvDecodeD3D9 (0, 2017-03-24)
ffmpeg NvDecodeD3D9\NvDecodeD3D9 (0, 2017-03-24)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\FrameQueue.cpp (4774, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\FrameQueue.h (2828, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\ImageDX.cpp (6876, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\ImageDX.h (3647, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\NvDecodeD3D9.cpp (54770, 2017-03-22)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\NvDecodeD3D9_2013.sln (1324, 2017-03-10)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\NvDecodeD3D9_2013.vcxproj (12116, 2017-03-22)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\VideoDecoder.cpp (7864, 2017-03-21)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\VideoDecoder.h (2418, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\VideoParser.cpp (4338, 2017-03-14)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\VideoParser.h (3647, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\VideoSource.cpp (9857, 2017-03-21)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\VideoSource.h (4655, 2017-03-20)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\callback.hpp (31116, 2015-12-10)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\cudaProcessFrame.cpp (5909, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\cudaProcessFrame.h (2302, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\third_party (0, 2017-03-24)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\third_party\cuvid (0, 2017-03-24)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\third_party\cuvid\inc (0, 2017-03-24)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\third_party\cuvid\inc\GL (0, 2017-03-24)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\third_party\cuvid\inc\GL\freeglut.h (703, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\third_party\cuvid\inc\GL\freeglut_ext.h (10682, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\third_party\cuvid\inc\GL\freeglut_std.h (27750, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\third_party\cuvid\inc\GL\gl.h (70198, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\third_party\cuvid\inc\GL\glew.h (943450, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\third_party\cuvid\inc\GL\glext.h (691298, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\third_party\cuvid\inc\GL\glu.h (19252, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\third_party\cuvid\inc\GL\glut.h (660, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\third_party\cuvid\inc\GL\glx.h (14378, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\third_party\cuvid\inc\GL\glxew.h (70092, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\third_party\cuvid\inc\GL\glxext.h (45060, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\third_party\cuvid\inc\GL\wglew.h (63627, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\third_party\cuvid\inc\GL\wglext.h (44231, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\third_party\cuvid\inc\NvHWEncoder.h (10048, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\third_party\cuvid\inc\cudaModuleMgr.h (4132, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\third_party\cuvid\inc\drvapi_error_string.h (11356, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\third_party\cuvid\inc\dynlink_builtin_types.h (28370, 2016-11-23)
ffmpeg NvDecodeD3D9\NvDecodeD3D9\third_party\cuvid\inc\dynlink_cuda.h (548, 2016-11-23)
... ...
/*
* 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_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_send(AVThreadMessageQueue *mq,
int err);
/**
* Set the receiving 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_recv(AVThreadMessageQueue *mq,
int err);
/**
* Set the optional free message callback function which will be called if an
* operation is removing messages from the queue.
*/
void av_thread_message_queue_set_free_func(AVThreadMessageQueue *mq,
void (*free_func)(void *msg));
/**
* Flush the message queue
*
* This function is mostly equivalent to reading and free-ing every message
* except that it will be done in a single operation (no lock/unlock between
* reads).
*/
void av_thread_message_flush(AVThreadMessageQueue *mq);
#endif /* AVUTIL_THREADMESSAGE_H */
近期下载者:
相关文件:
收藏者: