diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-09-05 17:31:45 +0200 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-09-05 17:31:45 +0200 |
commit | b9fd813351733b867fb73219e33b1f4845b40dde (patch) | |
tree | 5eabf60865b557c7616892fa6ce7c2676f97cb54 /libavutil/frame.h | |
parent | f1b02e6ca88909f428d4a690c47620575853b647 (diff) | |
parent | 8f12ef9860d0e164e4647fd5d5cebdb3cfb34a79 (diff) | |
download | ffmpeg-b9fd813351733b867fb73219e33b1f4845b40dde.tar.gz |
Merge commit '8f12ef9860d0e164e4647fd5d5cebdb3cfb34a79'
* commit '8f12ef9860d0e164e4647fd5d5cebdb3cfb34a79':
lavu: Drop deprecated duplicated AVFrame/AVCodecContext parameters
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavutil/frame.h')
-rw-r--r-- | libavutil/frame.h | 113 |
1 files changed, 16 insertions, 97 deletions
diff --git a/libavutil/frame.h b/libavutil/frame.h index 196b578af4..f5e89376ba 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -241,11 +241,6 @@ typedef struct AVFrame { */ enum AVPictureType pict_type; -#if FF_API_AVFRAME_LAVC - attribute_deprecated - uint8_t *base[AV_NUM_DATA_POINTERS]; -#endif - /** * Sample aspect ratio for the video frame, 0/1 if unknown/unspecified. */ @@ -282,64 +277,6 @@ typedef struct AVFrame { */ int quality; -#if FF_API_AVFRAME_LAVC - attribute_deprecated - int reference; - - /** - * QP table - */ - attribute_deprecated - int8_t *qscale_table; - /** - * QP store stride - */ - attribute_deprecated - int qstride; - - attribute_deprecated - int qscale_type; - - /** - * mbskip_table[mb]>=1 if MB didn't change - * stride= mb_width = (width+15)>>4 - */ - attribute_deprecated - uint8_t *mbskip_table; - - /** - * motion vector table - * @code - * example: - * int mv_sample_log2= 4 - motion_subsample_log2; - * int mb_width= (width+15)>>4; - * int mv_stride= (mb_width << mv_sample_log2) + 1; - * motion_val[direction][x + y*mv_stride][0->mv_x, 1->mv_y]; - * @endcode - */ - int16_t (*motion_val[2])[2]; - - /** - * macroblock type table - * mb_type_base + mb_width + 2 - */ - attribute_deprecated - uint32_t *mb_type; - - /** - * DCT coefficients - */ - attribute_deprecated - short *dct_coeff; - - /** - * motion reference frame index - * the order in which these are stored can depend on the codec. - */ - attribute_deprecated - int8_t *ref_index[2]; -#endif - /** * for some private data of the user */ @@ -350,11 +287,6 @@ typedef struct AVFrame { */ uint64_t error[AV_NUM_DATA_POINTERS]; -#if FF_API_AVFRAME_LAVC - attribute_deprecated - int type; -#endif - /** * When decoding, this signals how much the picture must be delayed. * extra_delay = repeat_pict / (2*fps) @@ -376,17 +308,6 @@ typedef struct AVFrame { */ int palette_has_changed; -#if FF_API_AVFRAME_LAVC - attribute_deprecated - int buffer_hints; - - /** - * Pan scan. - */ - attribute_deprecated - struct AVPanScan *pan_scan; -#endif - /** * reordered opaque 64bit (generally an integer or a double precision float * PTS but can be anything). @@ -398,24 +319,6 @@ typedef struct AVFrame { */ int64_t reordered_opaque; -#if FF_API_AVFRAME_LAVC - /** - * @deprecated this field is unused - */ - attribute_deprecated void *hwaccel_picture_private; - - attribute_deprecated - struct AVCodecContext *owner; - attribute_deprecated - void *thread_opaque; - - /** - * log2 of the size of the block which a single vector in motion_val represents: - * (4->16x16, 3->8x8, 2-> 4x4, 1-> 2x2) - */ - uint8_t motion_subsample_log2; -#endif - /** * Sample rate of the audio data. */ @@ -575,6 +478,22 @@ typedef struct AVFrame { int pkt_size; /** + * QP table + * Not to be accessed directly from outside libavutil + */ + attribute_deprecated + int8_t *qscale_table; + /** + * QP store stride + * Not to be accessed directly from outside libavutil + */ + attribute_deprecated + int qstride; + + attribute_deprecated + int qscale_type; + + /** * Not to be accessed directly from outside libavutil */ AVBufferRef *qp_table_buf; |