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
2b6cee9f
Commit
2b6cee9f
authored
Oct 07, 2008
by
Roman Shaposhnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doxygenizing the comments
Originally committed as revision 15578 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
c9b0b38f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
+14
-6
dv.c
libavcodec/dv.c
+5
-3
dvdata.h
libavcodec/dvdata.h
+9
-3
No files found.
libavcodec/dv.c
View file @
2b6cee9f
...
...
@@ -62,9 +62,11 @@ typedef struct DVVideoContext {
void
(
*
idct_put
[
2
])(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
block
);
}
DVVideoContext
;
/* MultiThreading - dv_anchor applies to entire DV codec, not just the avcontext */
/* one element is needed for each video segment in a DV frame */
/* at most there are 4 DIF channels * 12 DIF sequences * 27 video segments (1080i50) */
/**
* MultiThreading - dv_anchor applies to entire DV codec, not just the avcontext
* one element is needed for each video segment in a DV frame
* at most there are 4 DIF channels * 12 DIF sequences * 27 video segments (1080i50)
*/
#define DV_ANCHOR_SIZE (4*12*27)
static
void
*
dv_anchor
[
DV_ANCHOR_SIZE
];
...
...
libavcodec/dvdata.h
View file @
2b6cee9f
...
...
@@ -6073,7 +6073,9 @@ static const int dv_iweight_248[64] = {
22017
,
25191
,
24457
,
27962
,
22733
,
24600
,
25971
,
29642
,
};
/* the "inverse" DV100 weights are actually just the spec weights (zig-zagged) */
/**
* the "inverse" DV100 weights are actually just the spec weights (zig-zagged)
*/
static
const
int
dv_iweight_1080_y
[
64
]
=
{
128
,
16
,
16
,
17
,
17
,
17
,
18
,
18
,
18
,
18
,
18
,
18
,
19
,
18
,
18
,
19
,
...
...
@@ -6371,10 +6373,14 @@ enum dv_pack_type {
/* minimum number of bytes to read from a DV stream in order to determine the profile */
#define DV_PROFILE_BYTES (6*80)
/* 6 DIF blocks */
/* largest possible DV frame, in bytes (1080i50) */
/**
* largest possible DV frame, in bytes (1080i50)
*/
#define DV_MAX_FRAME_SIZE 576000
/* maximum number of blocks per macroblock in any DV format */
/**
* maximum number of blocks per macroblock in any DV format
*/
#define DV_MAX_BPM 8
static
inline
const
DVprofile
*
dv_frame_profile
(
const
uint8_t
*
frame
)
...
...
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