Mercurial > libavcodec.hg
comparison mpegvideo.h @ 5755:b45894d869da libavcodec
Cosmetic preparations for h264/PAFF implementation.
patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30
author | andoma |
---|---|
date | Tue, 02 Oct 2007 14:25:47 +0000 |
parents | 5581a40c673a |
children | da1d5375cf20 |
comparison
equal
deleted
inserted
replaced
5754:6e3cd570c312 | 5755:b45894d869da |
---|---|
136 #define USES_LIST(a, list) ((a) & ((MB_TYPE_P0L0|MB_TYPE_P1L0)<<(2*(list)))) ///< does this mb use listX, note does not work if subMBs | 136 #define USES_LIST(a, list) ((a) & ((MB_TYPE_P0L0|MB_TYPE_P1L0)<<(2*(list)))) ///< does this mb use listX, note does not work if subMBs |
137 #define HAS_CBP(a) ((a)&MB_TYPE_CBP) | 137 #define HAS_CBP(a) ((a)&MB_TYPE_CBP) |
138 | 138 |
139 int field_poc[2]; ///< h264 top/bottom POC | 139 int field_poc[2]; ///< h264 top/bottom POC |
140 int poc; ///< h264 frame POC | 140 int poc; ///< h264 frame POC |
141 int frame_num; ///< h264 frame_num | 141 int frame_num; ///< h264 frame_num (raw frame_num from slice header) |
142 int pic_id; ///< h264 pic_num or long_term_pic_idx | 142 int pic_id; /**< h264 pic_num (short -> no wrap version of pic_num, |
143 pic_num & max_pic_num; long -> long_pic_num) */ | |
143 int long_ref; ///< 1->long term reference 0->short term reference | 144 int long_ref; ///< 1->long term reference 0->short term reference |
144 int ref_poc[2][16]; ///< h264 POCs of the frames used as reference | 145 int ref_poc[2][16]; ///< h264 POCs of the frames used as reference |
145 int ref_count[2]; ///< number of entries in ref_poc | 146 int ref_count[2]; ///< number of entries in ref_poc |
146 | 147 |
147 int mb_var_sum; ///< sum of MB variance for current frame | 148 int mb_var_sum; ///< sum of MB variance for current frame |