| 261 | } |
| 262 | |
| 263 | av_cold void ff_mpv_unquantize_init(MPVUnquantDSPContext *s, |
| 264 | int bitexact, int q_scale_type) |
| 265 | { |
| 266 | s->dct_unquantize_h263_intra = dct_unquantize_h263_intra_c; |
| 267 | s->dct_unquantize_h263_inter = dct_unquantize_h263_inter_c; |
| 268 | s->dct_unquantize_mpeg1_intra = dct_unquantize_mpeg1_intra_c; |
| 269 | s->dct_unquantize_mpeg1_inter = dct_unquantize_mpeg1_inter_c; |
| 270 | s->dct_unquantize_mpeg2_intra = dct_unquantize_mpeg2_intra_c; |
| 271 | if (bitexact) |
| 272 | s->dct_unquantize_mpeg2_intra = dct_unquantize_mpeg2_intra_bitexact; |
| 273 | s->dct_unquantize_mpeg2_inter = dct_unquantize_mpeg2_inter_c; |
| 274 | |
| 275 | #if HAVE_INTRINSICS_NEON |
| 276 | ff_mpv_unquantize_init_neon(s, bitexact); |
| 277 | #endif |
| 278 | |
| 279 | #if ARCH_ARM |
| 280 | ff_mpv_unquantize_init_arm(s, bitexact); |
| 281 | #elif ARCH_PPC |
| 282 | ff_mpv_unquantize_init_ppc(s, bitexact); |
| 283 | #elif ARCH_RISCV |
| 284 | ff_mpv_unquantize_init_riscv(s, bitexact); |
| 285 | #elif ARCH_X86 |
| 286 | ff_mpv_unquantize_init_x86(s, bitexact); |
| 287 | #elif ARCH_MIPS |
| 288 | ff_mpv_unquantize_init_mips(s, bitexact, q_scale_type); |
| 289 | #endif |
| 290 | } |
no test coverage detected