Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
5fd9c8b9
F
Ffmpeg
项目概览
小白菜888
/
Ffmpeg
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
Ffmpeg
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
5fd9c8b9
编写于
1月 05, 2009
作者:
D
Diego Biurrun
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
spelling/grammar and whitespace cosmetics
Originally committed as revision 16435 to
svn://svn.ffmpeg.org/ffmpeg/trunk
上级
26ef65da
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
21 addition
and
23 deletion
+21
-23
libavcodec/vdpau_render.h
libavcodec/vdpau_render.h
+21
-23
未找到文件。
libavcodec/vdpau_render.h
浏览文件 @
5fd9c8b9
/*
* Video Decode and Presentation API for UNIX (VDPAU) is used for
*
HW decode acceleration for
MPEG-1/2, H.264 and VC-1.
*
The
Video Decode and Presentation API for UNIX (VDPAU) is used for
*
hardware-accelerated decoding of
MPEG-1/2, H.264 and VC-1.
*
* Copyright (C) 2008 NVIDIA
.
* Copyright (C) 2008 NVIDIA
*
* This file is part of FFmpeg.
*
...
...
@@ -27,15 +27,15 @@
/**
* \defgroup Decoder VDPAU Decoder and Renderer
*
* VDPAU
HW
acceleration has two modules
* - VDPAU
D
ecoding
* - VDPAU
P
resentation
* VDPAU
hardware
acceleration has two modules
* - VDPAU
d
ecoding
* - VDPAU
p
resentation
*
* VDPAU decoding module parses all headers using FFmpeg
* parsing mechanism and uses VDPAU for the actual decoding.
*
The
VDPAU decoding module parses all headers using FFmpeg
* parsing mechanism
s
and uses VDPAU for the actual decoding.
*
* As per the current implementation, the actual decoding
* and rendering (API calls) are done as part of VDPAU
* and rendering (API calls) are done as part of
the
VDPAU
* presentation (vo_vdpau.c) module.
*
* @{
...
...
@@ -47,35 +47,33 @@
#include "vdpau/vdpau.h"
#include "vdpau/vdpau_x11.h"
/**
* \brief The videoSurface is used for render.
*/
/** \brief The videoSurface is used for rendering. */
#define FF_VDPAU_STATE_USED_FOR_RENDER 1
/**
* \brief The videoSurface is needed for reference/prediction
,
* codec manipulates this.
* \brief The videoSurface is needed for reference/prediction
.
*
The
codec manipulates this.
*/
#define FF_VDPAU_STATE_USED_FOR_REFERENCE 2
/**
* \brief This structure is used as a
CALL-BACK between the ff
mpeg
* \brief This structure is used as a
callback between the FF
mpeg
* decoder (vd_) and presentation (vo_) module.
* This is used for defining a video
-
frame containing surface,
* picture
-parameter, bitstream informations
etc which are passed
* between
ff
mpeg decoder and its clients.
* This is used for defining a video
frame containing surface,
* picture
parameter, bitstream information
etc which are passed
* between
the FF
mpeg decoder and its clients.
*/
struct
vdpau_render_state
{
VdpVideoSurface
surface
;
///<
u
sed as rendered surface, never changed.
struct
vdpau_render_state
{
VdpVideoSurface
surface
;
///<
U
sed as rendered surface, never changed.
int
state
;
///< Holds FF_VDPAU_STATE_* values
int
state
;
///< Holds FF_VDPAU_STATE_* values
.
/**
Picture P
arameter information for all supported codecs */
/**
picture p
arameter information for all supported codecs */
union
_VdpPictureInfo
{
VdpPictureInfoH264
h264
;
}
info
;
/** Describe size/location of the compressed video data */
/** Describe size/location of the compressed video data
.
*/
int
bitstreamBuffersAlloced
;
int
bitstreamBuffersUsed
;
VdpBitstreamBuffer
*
bitstreamBuffers
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录