diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2017-06-25 21:59:02 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2017-06-27 15:08:39 +0200 |
commit | 19f6fd199e46c5a56f09a768ece4246b48bd86dd (patch) | |
tree | 4b57dcf33224e9ee574e2bd7fb4a308588cbc055 /libavdevice/alsa.c | |
parent | 8f87bfb4b7ddeb27c318aa45144d7fc45930039b (diff) | |
download | ffmpeg-19f6fd199e46c5a56f09a768ece4246b48bd86dd.tar.gz |
Interplay MVE: Implement frame format 0x06
This implements the 0x06 frame format for Interplay MVE movies. The
format is relatively simple. The video data consists of two parts:
16 bits per 8x8 block movement data
a number of 8x8 blocks of pixel data
For each 8x8 block of pixel data the movement data is consulted. There
are 3 possible meanings of the movement data:
* zero : copy the 8x8 block from the pixel data
* negative : copy the 8x8 block from the previous frame from an offset
determined by the actual value of the entry -0xC000.
* positive : copy the 8x8 block from the current frame from an offset
determined by the actual value of the entry -0x4000
Decoding happens in two passes, in the fist pass only new pixeldata is
copied, during the second pass data is copied from the previous and
current frames.
The codec expects that the current frame being decoded to still has the
data from 2 frames ago on it when decoding starts.
Signed-off-by: Hein-Pieter van Braam <hp@tmm.cx>
Diffstat (limited to 'libavdevice/alsa.c')
0 files changed, 0 insertions, 0 deletions