2 * Microsoft Screen 2 (aka Windows Media Video V9 Screen) decoder
4 * This file is part of FFmpeg.
6 * FFmpeg is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * FFmpeg is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with FFmpeg; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23 * Microsoft Screen 2 (aka Windows Media Video V9 Screen) decoder DSP routines
26 #ifndef AVCODEC_MSS2DSP_H
27 #define AVCODEC_MSS2DSP_H
31 typedef struct MSS2DSPContext {
32 void (*mss2_blit_wmv9)(uint8_t *dst, int dst_stride,
33 const uint8_t *srcy, int srcy_stride,
34 const uint8_t *srcu, const uint8_t *srcv,
35 int srcuv_stride, int w, int h);
36 void (*mss2_blit_wmv9_masked)(uint8_t *dst, int dst_stride,
37 int maskcolor, const uint8_t *mask,
39 const uint8_t *srcy, int srcy_stride,
40 const uint8_t *srcu, const uint8_t *srcv,
41 int srcuv_stride, int w, int h);
42 void (*mss2_gray_fill_masked)(uint8_t *dst, int dst_stride,
43 int maskcolor, const uint8_t *mask,
44 int mask_stride, int w, int h);
45 void (*upsample_plane)(uint8_t *plane, int plane_stride, int w, int h);
48 void ff_mss2dsp_init(MSS2DSPContext *dsp);
50 #endif /* AVCODEC_MSS2DSP_H */