Mercurial > libavcodec.hg
comparison avcodec.h @ 298:e20de99b6295 libavcodec
using Juanjo's way to pass forced type - especially as I_TYPE/P_TYPE defines aren't exported in the public interface, and the flagged method matches the way as qscale forcing work
| author | arpi_esp |
|---|---|
| date | Thu, 28 Mar 2002 23:07:54 +0000 |
| parents | a1234c032636 |
| children | 764aeec1320e |
comparison
equal
deleted
inserted
replaced
| 297:a1234c032636 | 298:e20de99b6295 |
|---|---|
| 67 #define CODEC_FLAG_QSCALE 0x0002 /* use fixed qscale */ | 67 #define CODEC_FLAG_QSCALE 0x0002 /* use fixed qscale */ |
| 68 #define CODEC_FLAG_4MV 0x0004 /* 4 MV per MB allowed */ | 68 #define CODEC_FLAG_4MV 0x0004 /* 4 MV per MB allowed */ |
| 69 #define CODEC_FLAG_B 0x0008 /* use B frames */ | 69 #define CODEC_FLAG_B 0x0008 /* use B frames */ |
| 70 #define CODEC_FLAG_QPEL 0x0010 /* use qpel MC */ | 70 #define CODEC_FLAG_QPEL 0x0010 /* use qpel MC */ |
| 71 #define CODEC_FLAG_GMC 0x0020 /* use GMC */ | 71 #define CODEC_FLAG_GMC 0x0020 /* use GMC */ |
| 72 #define CODEC_FLAG_TYPE 0x0040 /* fixed I/P frame type, from avctx->key_frame */ | |
| 72 | 73 |
| 73 /* codec capabilities */ | 74 /* codec capabilities */ |
| 74 | 75 |
| 75 /* decoder can use draw_horiz_band callback */ | 76 /* decoder can use draw_horiz_band callback */ |
| 76 #define CODEC_CAP_DRAW_HORIZ_BAND 0x0001 | 77 #define CODEC_CAP_DRAW_HORIZ_BAND 0x0001 |
| 119 float qblur; /* amount of qscale smoothing over time (0.0-1.0) */ | 120 float qblur; /* amount of qscale smoothing over time (0.0-1.0) */ |
| 120 int qmin; /* min qscale */ | 121 int qmin; /* min qscale */ |
| 121 int qmax; /* max qscale */ | 122 int qmax; /* max qscale */ |
| 122 int max_qdiff; /* max qscale difference between frames */ | 123 int max_qdiff; /* max qscale difference between frames */ |
| 123 | 124 |
| 124 int force_type; /* 0= no force, otherwise I_TYPE, P_TYPE, ... */ | |
| 125 | |
| 126 struct AVCodec *codec; | 125 struct AVCodec *codec; |
| 127 void *priv_data; | 126 void *priv_data; |
| 128 | 127 |
| 129 /* The following data is for RTP friendly coding */ | 128 /* The following data is for RTP friendly coding */ |
| 130 /* By now only H.263/H.263+ coder honours this */ | 129 /* By now only H.263/H.263+ coder honours this */ |
