FFmpeg
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 <stddef.h>
30 #include <stdint.h>
31 
32 typedef struct MSS2DSPContext {
33  void (*mss2_blit_wmv9)(uint8_t *dst, ptrdiff_t dst_stride,
34  const uint8_t *srcy, ptrdiff_t srcy_stride,
35  const uint8_t *srcu, const uint8_t *srcv,
36  ptrdiff_t srcuv_stride, int w, int h);
37  void (*mss2_blit_wmv9_masked)(uint8_t *dst, ptrdiff_t dst_stride,
38  int maskcolor, const uint8_t *mask,
39  ptrdiff_t mask_stride,
40  const uint8_t *srcy, ptrdiff_t srcy_stride,
41  const uint8_t *srcu, const uint8_t *srcv,
42  ptrdiff_t srcuv_stride, int w, int h);
43  void (*mss2_gray_fill_masked)(uint8_t *dst, ptrdiff_t dst_stride,
44  int maskcolor, const uint8_t *mask,
45  ptrdiff_t mask_stride, int w, int h);
46  void (*upsample_plane)(uint8_t *plane, ptrdiff_t plane_stride,
47  int w, int h);
49 
51 
52 #endif /* AVCODEC_MSS2DSP_H */
mask
int mask
Definition: mediacodecdec_common.c:154
w
uint8_t w
Definition: llviddspenc.c:38
MSS2DSPContext::upsample_plane
void(* upsample_plane)(uint8_t *plane, ptrdiff_t plane_stride, int w, int h)
Definition: mss2dsp.h:46
MSS2DSPContext::mss2_gray_fill_masked
void(* mss2_gray_fill_masked)(uint8_t *dst, ptrdiff_t dst_stride, int maskcolor, const uint8_t *mask, ptrdiff_t mask_stride, int w, int h)
Definition: mss2dsp.h:43
MSS2DSPContext::mss2_blit_wmv9_masked
void(* mss2_blit_wmv9_masked)(uint8_t *dst, ptrdiff_t dst_stride, int maskcolor, const uint8_t *mask, ptrdiff_t mask_stride, const uint8_t *srcy, ptrdiff_t srcy_stride, const uint8_t *srcu, const uint8_t *srcv, ptrdiff_t srcuv_stride, int w, int h)
Definition: mss2dsp.h:37
MSS2DSPContext::mss2_blit_wmv9
void(* mss2_blit_wmv9)(uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *srcy, ptrdiff_t srcy_stride, const uint8_t *srcu, const uint8_t *srcv, ptrdiff_t srcuv_stride, int w, int h)
Definition: mss2dsp.h:33
ff_mss2dsp_init
void ff_mss2dsp_init(MSS2DSPContext *dsp)
Definition: mss2dsp.c:150
dst
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
Definition: dsp.h:83
MSS2DSPContext
Definition: mss2dsp.h:32
h
h
Definition: vp9dsp_template.c:2070