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
1296b1f6
Commit
1296b1f6
authored
Feb 15, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AVFrame: deprecate all now unused fields
parent
ddcca4ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
1 deletion
+25
-1
frame.h
libavutil/frame.h
+25
-1
No files found.
libavutil/frame.h
View file @
1296b1f6
...
@@ -130,7 +130,10 @@ typedef struct AVFrame {
...
@@ -130,7 +130,10 @@ typedef struct AVFrame {
*/
*/
enum
AVPictureType
pict_type
;
enum
AVPictureType
pict_type
;
#if FF_API_AVFRAME_LAVC
attribute_deprecated
uint8_t
*
base
[
AV_NUM_DATA_POINTERS
];
uint8_t
*
base
[
AV_NUM_DATA_POINTERS
];
#endif
/**
/**
* Sample aspect ratio for the video frame, 0/1 if unknown/unspecified.
* Sample aspect ratio for the video frame, 0/1 if unknown/unspecified.
...
@@ -166,23 +169,29 @@ typedef struct AVFrame {
...
@@ -166,23 +169,29 @@ typedef struct AVFrame {
*/
*/
int
quality
;
int
quality
;
#if FF_API_AVFRAME_LAVC
attribute_deprecated
int
reference
;
int
reference
;
/**
/**
* QP table
* QP table
*/
*/
attribute_deprecated
int8_t
*
qscale_table
;
int8_t
*
qscale_table
;
/**
/**
* QP store stride
* QP store stride
*/
*/
attribute_deprecated
int
qstride
;
int
qstride
;
attribute_deprecated
int
qscale_type
;
int
qscale_type
;
/**
/**
* mbskip_table[mb]>=1 if MB didn't change
* mbskip_table[mb]>=1 if MB didn't change
* stride= mb_width = (width+15)>>4
* stride= mb_width = (width+15)>>4
*/
*/
attribute_deprecated
uint8_t
*
mbskip_table
;
uint8_t
*
mbskip_table
;
/**
/**
...
@@ -195,24 +204,29 @@ typedef struct AVFrame {
...
@@ -195,24 +204,29 @@ typedef struct AVFrame {
* motion_val[direction][x + y*mv_stride][0->mv_x, 1->mv_y];
* motion_val[direction][x + y*mv_stride][0->mv_x, 1->mv_y];
* @endcode
* @endcode
*/
*/
attribute_deprecated
int16_t
(
*
motion_val
[
2
])[
2
];
int16_t
(
*
motion_val
[
2
])[
2
];
/**
/**
* macroblock type table
* macroblock type table
* mb_type_base + mb_width + 2
* mb_type_base + mb_width + 2
*/
*/
attribute_deprecated
uint32_t
*
mb_type
;
uint32_t
*
mb_type
;
/**
/**
* DCT coefficients
* DCT coefficients
*/
*/
attribute_deprecated
short
*
dct_coeff
;
short
*
dct_coeff
;
/**
/**
* motion reference frame index
* motion reference frame index
* the order in which these are stored can depend on the codec.
* the order in which these are stored can depend on the codec.
*/
*/
attribute_deprecated
int8_t
*
ref_index
[
2
];
int8_t
*
ref_index
[
2
];
#endif
/**
/**
* for some private data of the user
* for some private data of the user
...
@@ -224,7 +238,10 @@ typedef struct AVFrame {
...
@@ -224,7 +238,10 @@ typedef struct AVFrame {
*/
*/
uint64_t
error
[
AV_NUM_DATA_POINTERS
];
uint64_t
error
[
AV_NUM_DATA_POINTERS
];
#if FF_API_AVFRAME_LAVC
attribute_deprecated
int
type
;
int
type
;
#endif
/**
/**
* When decoding, this signals how much the picture must be delayed.
* When decoding, this signals how much the picture must be delayed.
...
@@ -247,12 +264,16 @@ typedef struct AVFrame {
...
@@ -247,12 +264,16 @@ typedef struct AVFrame {
*/
*/
int
palette_has_changed
;
int
palette_has_changed
;
#if FF_API_AVFRAME_LAVC
attribute_deprecated
int
buffer_hints
;
int
buffer_hints
;
/**
/**
* Pan scan.
* Pan scan.
*/
*/
attribute_deprecated
struct
AVPanScan
*
pan_scan
;
struct
AVPanScan
*
pan_scan
;
#endif
/**
/**
* reordered opaque 64bit (generally an integer or a double precision float
* reordered opaque 64bit (generally an integer or a double precision float
...
@@ -270,16 +291,19 @@ typedef struct AVFrame {
...
@@ -270,16 +291,19 @@ typedef struct AVFrame {
* @deprecated this field is unused
* @deprecated this field is unused
*/
*/
attribute_deprecated
void
*
hwaccel_picture_private
;
attribute_deprecated
void
*
hwaccel_picture_private
;
#endif
attribute_deprecated
struct
AVCodecContext
*
owner
;
struct
AVCodecContext
*
owner
;
attribute_deprecated
void
*
thread_opaque
;
void
*
thread_opaque
;
/**
/**
* log2 of the size of the block which a single vector in motion_val represents:
* log2 of the size of the block which a single vector in motion_val represents:
* (4->16x16, 3->8x8, 2-> 4x4, 1-> 2x2)
* (4->16x16, 3->8x8, 2-> 4x4, 1-> 2x2)
*/
*/
attribute_deprecated
uint8_t
motion_subsample_log2
;
uint8_t
motion_subsample_log2
;
#endif
/**
/**
* Sample rate of the audio data.
* Sample rate of the audio data.
...
...
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