History

avcodec/arm/idctdsp_init_arm*: Only select non bitexact IDCTs by default when bitexact is not set

Michael Niedermayer committed 12 years ago

Commit b051a1b1 parent c2ef8442 files · +2 −2Browse files

Unified · Split

2 files
  1. libavcodec/arm/idctdsp_init_arm.c +1 −1
  2. libavcodec/arm/idctdsp_init_armv6.c +1 −1
libavcodec/arm/idctdsp_init_arm.c+1−1
@@ -71,7 +71,7 @@ av_cold void ff_idctdsp_init_arm(IDCTDSPContext *c, AVCodecContext *avctx, · 70 unmodified lines
7171 ff_add_pixels_clamped = c->add_pixels_clamped;
7272
7373 if (!avctx->lowres && !high_bit_depth) {
74− if (avctx->idct_algo == FF_IDCT_AUTO ||
74+ if ((avctx->idct_algo == FF_IDCT_AUTO && !(avctx->flags & CODEC_FLAG_BITEXACT)) ||
7575 avctx->idct_algo == FF_IDCT_ARM) {
7676 c->idct_put = j_rev_dct_arm_put;
7777 c->idct_add = j_rev_dct_arm_add;
libavcodec/arm/idctdsp_init_armv6.c+1−1
@@ -33,7 +33,7 @@ av_cold void ff_idctdsp_init_armv6(IDCTDSPContext *c, AVCodecContext *avctx, · 32 unmodified lines
3333 unsigned high_bit_depth)
3434 {
3535 if (!avctx->lowres && !high_bit_depth) {
36− if (avctx->idct_algo == FF_IDCT_AUTO ||
36+ if ((avctx->idct_algo == FF_IDCT_AUTO && !(avctx->flags & CODEC_FLAG_BITEXACT)) ||
3737 avctx->idct_algo == FF_IDCT_SIMPLEARMV6) {
3838 c->idct_put = ff_simple_idct_put_armv6;
3939 c->idct_add = ff_simple_idct_add_armv6;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t