FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
mss2dsp.h
Go to the documentation of this file.
1 /*
2  * Microsoft Screen 2 (aka Windows Media Video V9 Screen) decoder
3  *
4  * This file is part of FFmpeg.
5  *
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.
10  *
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.
15  *
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
19  */
20 
21 /**
22  * @file
23  * Microsoft Screen 2 (aka Windows Media Video V9 Screen) decoder DSP routines
24  */
25 
26 #ifndef AVCODEC_MSS2DSP_H
27 #define AVCODEC_MSS2DSP_H
28 
29 #include <stdint.h>
30 
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,
38  int mask_stride,
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);
47 
49 
50 #endif /* AVCODEC_MSS2DSP_H */