mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-31 07:05:24 +08:00
Merge remote-tracking branch 'qatar/master'
* qatar/master: ARM: allow runtime masking of CPU features dsputil: remove unused functions mov: Treat keyframe indexes as 1-origin if starting at non-zero. mov: Take stps entries into consideration also about key_off. Remove lowres video decoding Conflicts: ffmpeg.c ffplay.c libavcodec/arm/vp8dsp_init_arm.c libavcodec/libopenjpegdec.c libavcodec/mjpegdec.c libavcodec/mpegvideo.c libavcodec/utils.c libavformat/mov.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@ -311,13 +311,7 @@ av_cold int ff_dvvideo_init(AVCodecContext *avctx)
|
||||
/* 248DCT setup */
|
||||
s->fdct[1] = dsp.fdct248;
|
||||
s->idct_put[1] = ff_simple_idct248_put; // FIXME: need to add it to DSP
|
||||
if (avctx->lowres){
|
||||
for (i = 0; i < 64; i++){
|
||||
int j = ff_zigzag248_direct[i];
|
||||
s->dv_zigzag[1][i] = dsp.idct_permutation[(j & 7) + (j & 8) * 4 + (j & 48) / 2];
|
||||
}
|
||||
}else
|
||||
memcpy(s->dv_zigzag[1], ff_zigzag248_direct, 64);
|
||||
memcpy(s->dv_zigzag[1], ff_zigzag248_direct, 64);
|
||||
|
||||
avctx->coded_frame = &s->picture;
|
||||
s->avctx = avctx;
|
||||
|
Reference in New Issue
Block a user