Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
6915cf38
Commit
6915cf38
authored
Dec 15, 2008
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whitespace cosmetics
Originally committed as revision 16152 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
1bf98d19
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
26 deletions
+26
-26
xvmc_render.h
libavcodec/xvmc_render.h
+26
-26
No files found.
libavcodec/xvmc_render.h
View file @
6915cf38
...
@@ -38,37 +38,37 @@
...
@@ -38,37 +38,37 @@
// 1337 IDCT MCo
// 1337 IDCT MCo
#define MP_XVMC_RENDER_MAGIC 0x1DC711C0
#define MP_XVMC_RENDER_MAGIC 0x1DC711C0
typedef
struct
{
typedef
struct
{
//these are not changed by the decoder!
//these are not changed by the decoder!
int
magic
;
int
magic
;
short
*
data_blocks
;
short
*
data_blocks
;
XvMCMacroBlock
*
mv_blocks
;
XvMCMacroBlock
*
mv_blocks
;
int
total_number_of_mv_blocks
;
int
total_number_of_mv_blocks
;
int
total_number_of_data_blocks
;
int
total_number_of_data_blocks
;
int
mc_type
;
//XVMC_MPEG1/2/4,XVMC_H263 without XVMC_IDCT
int
mc_type
;
//XVMC_MPEG1/2/4,XVMC_H263 without XVMC_IDCT
int
idct
;
//Do we use IDCT acceleration?
int
idct
;
//Do we use IDCT acceleration?
int
chroma_format
;
//420, 422, 444
int
chroma_format
;
//420, 422, 444
int
unsigned_intra
;
//+-128 for intra pictures after clipping
int
unsigned_intra
;
//+-128 for intra pictures after clipping
XvMCSurface
*
p_surface
;
//pointer to rendered surface, never changed
XvMCSurface
*
p_surface
;
//pointer to rendered surface, never changed
//these are changed by the decoder
//these are changed by the decoder
//used by the XvMCRenderSurface function
//used by the XvMCRenderSurface function
XvMCSurface
*
p_past_surface
;
//pointer to the past surface
XvMCSurface
*
p_past_surface
;
//pointer to the past surface
XvMCSurface
*
p_future_surface
;
//pointer to the future prediction surface
XvMCSurface
*
p_future_surface
;
//pointer to the future prediction surface
unsigned
int
picture_structure
;
//top/bottom fields or frame!
unsigned
int
picture_structure
;
//top/bottom fields or frame!
unsigned
int
flags
;
//XVMC_SECOND_FIELD - 1st or 2nd field in the sequence
unsigned
int
flags
;
//XVMC_SECOND_FIELD - 1st or 2nd field in the sequence
unsigned
int
display_flags
;
//1,2 or 1+2 fields for XvMCPutSurface
unsigned
int
display_flags
;
//1,2 or 1+2 fields for XvMCPutSurface
//these are for internal communication
//these are for internal communication
int
state
;
//0 - free, 1 - waiting to display, 2 - waiting for prediction
int
state
;
//0 - free, 1 - waiting to display, 2 - waiting for prediction
int
start_mv_blocks_num
;
//offset in the array for the current slice, updated by vo
int
start_mv_blocks_num
;
//offset in the array for the current slice, updated by vo
int
filled_mv_blocks_num
;
//processed mv block in this slice, changed by decoder
int
filled_mv_blocks_num
;
//processed mv block in this slice, changed by decoder
int
next_free_data_block_num
;
//used in add_mv_block, pointer to next free block
int
next_free_data_block_num
;
//used in add_mv_block, pointer to next free block
//extensions
//extensions
void
*
p_osd_target_surface_render
;
//pointer to the surface where subpicture is rendered
void
*
p_osd_target_surface_render
;
//pointer to the surface where subpicture is rendered
}
xvmc_render_state_t
;
}
xvmc_render_state_t
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment