mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/x86/idctdsp_init: reindent
This commit is contained in:
parent
8e89f6fd37
commit
0dea0114fb
|
@ -68,16 +68,16 @@ av_cold void ff_idctdsp_init_x86(IDCTDSPContext *c, AVCodecContext *avctx,
|
||||||
c->put_pixels_clamped = ff_put_pixels_clamped_mmx;
|
c->put_pixels_clamped = ff_put_pixels_clamped_mmx;
|
||||||
c->add_pixels_clamped = ff_add_pixels_clamped_mmx;
|
c->add_pixels_clamped = ff_add_pixels_clamped_mmx;
|
||||||
|
|
||||||
if (!high_bit_depth &&
|
if (!high_bit_depth &&
|
||||||
avctx->lowres == 0 &&
|
avctx->lowres == 0 &&
|
||||||
(avctx->idct_algo == FF_IDCT_AUTO ||
|
(avctx->idct_algo == FF_IDCT_AUTO ||
|
||||||
avctx->idct_algo == FF_IDCT_SIMPLEAUTO ||
|
avctx->idct_algo == FF_IDCT_SIMPLEAUTO ||
|
||||||
avctx->idct_algo == FF_IDCT_SIMPLEMMX)) {
|
avctx->idct_algo == FF_IDCT_SIMPLEMMX)) {
|
||||||
c->idct_put = ff_simple_idct_put_mmx;
|
c->idct_put = ff_simple_idct_put_mmx;
|
||||||
c->idct_add = ff_simple_idct_add_mmx;
|
c->idct_add = ff_simple_idct_add_mmx;
|
||||||
c->idct = ff_simple_idct_mmx;
|
c->idct = ff_simple_idct_mmx;
|
||||||
c->perm_type = FF_IDCT_PERM_SIMPLE;
|
c->perm_type = FF_IDCT_PERM_SIMPLE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (EXTERNAL_SSE2(cpu_flags)) {
|
if (EXTERNAL_SSE2(cpu_flags)) {
|
||||||
|
@ -85,15 +85,15 @@ av_cold void ff_idctdsp_init_x86(IDCTDSPContext *c, AVCodecContext *avctx,
|
||||||
c->put_pixels_clamped = ff_put_pixels_clamped_sse2;
|
c->put_pixels_clamped = ff_put_pixels_clamped_sse2;
|
||||||
c->add_pixels_clamped = ff_add_pixels_clamped_sse2;
|
c->add_pixels_clamped = ff_add_pixels_clamped_sse2;
|
||||||
|
|
||||||
if (!high_bit_depth &&
|
if (!high_bit_depth &&
|
||||||
avctx->lowres == 0 &&
|
avctx->lowres == 0 &&
|
||||||
(avctx->idct_algo == FF_IDCT_AUTO ||
|
(avctx->idct_algo == FF_IDCT_AUTO ||
|
||||||
avctx->idct_algo == FF_IDCT_SIMPLEAUTO ||
|
avctx->idct_algo == FF_IDCT_SIMPLEAUTO ||
|
||||||
avctx->idct_algo == FF_IDCT_SIMPLEMMX)) {
|
avctx->idct_algo == FF_IDCT_SIMPLEMMX)) {
|
||||||
c->idct_put = ff_simple_idct_put_sse2;
|
c->idct_put = ff_simple_idct_put_sse2;
|
||||||
c->idct_add = ff_simple_idct_add_sse2;
|
c->idct_add = ff_simple_idct_add_sse2;
|
||||||
c->perm_type = FF_IDCT_PERM_SIMPLE;
|
c->perm_type = FF_IDCT_PERM_SIMPLE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ARCH_X86_64 && avctx->lowres == 0) {
|
if (ARCH_X86_64 && avctx->lowres == 0) {
|
||||||
|
|
Loading…
Reference in New Issue