annotate dxva2_internal.h @ 11322:c4e86bcb2fee libavcodec

Include libxvid_internal.h: It contains the prototype for av_tempfile().
author cehoyos
date Sun, 28 Feb 2010 19:03:38 +0000
parents 9f771d4312ed
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10980
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
1 /*
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
2 * DXVA2 HW acceleration
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
3 *
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
4 * copyright (c) 2010 Laurent Aimar
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
5 *
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
6 * This file is part of FFmpeg.
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
7 *
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
8 * FFmpeg is free software; you can redistribute it and/or
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
9 * modify it under the terms of the GNU Lesser General Public
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
10 * License as published by the Free Software Foundation; either
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
11 * version 2.1 of the License, or (at your option) any later version.
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
12 *
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
13 * FFmpeg is distributed in the hope that it will be useful,
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
16 * Lesser General Public License for more details.
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
17 *
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
18 * You should have received a copy of the GNU Lesser General Public
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
19 * License along with FFmpeg; if not, write to the Free Software
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
21 */
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
22
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
23 #ifndef AVCODEC_DXVA_INTERNAL_H
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
24 #define AVCODEC_DXVA_INTERNAL_H
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
25
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
26 #include "dxva2.h"
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
27 #include "avcodec.h"
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
28 #include "mpegvideo.h"
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
29
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
30 void *ff_dxva2_get_surface(const Picture *picture);
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
31
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
32 unsigned ff_dxva2_get_surface_index(const struct dxva_context *,
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
33 const Picture *picture);
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
34
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
35 int ff_dxva2_commit_buffer(AVCodecContext *, struct dxva_context *,
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
36 DXVA2_DecodeBufferDesc *,
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
37 unsigned type, const void *data, unsigned size,
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
38 unsigned mb_count);
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
39
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
40
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
41 int ff_dxva2_common_end_frame(AVCodecContext *, MpegEncContext *,
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
42 const void *pp, unsigned pp_size,
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
43 const void *qm, unsigned qm_size,
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
44 int (*commit_bs_si)(AVCodecContext *,
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
45 DXVA2_DecodeBufferDesc *bs,
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
46 DXVA2_DecodeBufferDesc *slice));
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
47
9f771d4312ed Moved reusable functions from dxva2_h264.c to dxva2.c
fenrir
parents:
diff changeset
48 #endif /* AVCODEC_DXVA_INTERNAL_H */