comparison avcodec.h @ 652:c7647afc3ce5 libavcodec

set pict_type & key_frame on decoding too
author michaelni
date Thu, 12 Sep 2002 00:27:08 +0000
parents 22b22723805e
children 850098147a3c
comparison
equal deleted inserted replaced
651:45e8f39fda50 652:c7647afc3ce5
180 int real_pict_num; /* returns the real picture number of 180 int real_pict_num; /* returns the real picture number of
181 previous encoded frame */ 181 previous encoded frame */
182 int key_frame; /* true if the previous compressed frame was 182 int key_frame; /* true if the previous compressed frame was
183 a key frame (intra, or seekable) */ 183 a key frame (intra, or seekable) */
184 int pict_type; /* picture type of the previous 184 int pict_type; /* picture type of the previous
185 encoded frame */ 185 en/decoded frame */
186 /* FIXME: these should have FF_ */ 186 /* FIXME: these should have FF_ */
187 #define I_TYPE 1 // Intra 187 #define I_TYPE 1 // Intra
188 #define P_TYPE 2 // Predicted 188 #define P_TYPE 2 // Predicted
189 #define B_TYPE 3 // Bi-dir predicted 189 #define B_TYPE 3 // Bi-dir predicted
190 #define S_TYPE 4 // S(GMC)-VOP MPEG4 190 #define S_TYPE 4 // S(GMC)-VOP MPEG4