Mercurial > libavcodec.hg
comparison dnxhdenc.c @ 5972:f855600f6f0f libavcodec
indentation
author | bcoudurier |
---|---|
date | Sun, 02 Dec 2007 19:28:20 +0000 |
parents | 405be936dac4 |
children | bb4b486c6775 |
comparison
equal
deleted
inserted
replaced
5971:405be936dac4 | 5972:f855600f6f0f |
---|---|
170 { | 170 { |
171 DNXHDEncContext *ctx = avctx->priv_data; | 171 DNXHDEncContext *ctx = avctx->priv_data; |
172 int i, index; | 172 int i, index; |
173 | 173 |
174 if (avctx->width == 1920 && avctx->height == 1080) { | 174 if (avctx->width == 1920 && avctx->height == 1080) { |
175 if (avctx->flags & CODEC_FLAG_INTERLACED_DCT) { | 175 if (avctx->flags & CODEC_FLAG_INTERLACED_DCT) { |
176 if (avctx->bit_rate == 120000000) | 176 if (avctx->bit_rate == 120000000) |
177 ctx->cid = 1242; | 177 ctx->cid = 1242; |
178 else if (avctx->bit_rate == 185000000) | 178 else if (avctx->bit_rate == 185000000) |
179 ctx->cid = 1243; | 179 ctx->cid = 1243; |
180 } else { | 180 } else { |
181 if (avctx->bit_rate == 120000000) | 181 if (avctx->bit_rate == 120000000) |
182 ctx->cid = 1237; | 182 ctx->cid = 1237; |
183 else if (avctx->bit_rate == 185000000) | 183 else if (avctx->bit_rate == 185000000) |
184 ctx->cid = 1238; | 184 ctx->cid = 1238; |
185 else if (avctx->bit_rate == 36000000) | 185 else if (avctx->bit_rate == 36000000) |
186 ctx->cid = 1253; | 186 ctx->cid = 1253; |
187 } | 187 } |
188 } else if (avctx->width == 1280 && avctx->height == 720 && | 188 } else if (avctx->width == 1280 && avctx->height == 720 && |
189 !(avctx->flags & CODEC_FLAG_INTERLACED_DCT)) { | 189 !(avctx->flags & CODEC_FLAG_INTERLACED_DCT)) { |
190 if (avctx->bit_rate == 90000000) | 190 if (avctx->bit_rate == 90000000) |
191 ctx->cid = 1251; | 191 ctx->cid = 1251; |
192 else if (avctx->bit_rate == 60000000) | 192 else if (avctx->bit_rate == 60000000) |