misc/winutils/include/libavcodec/vda.h
author sheepluva
Sat, 01 Oct 2016 19:06:12 +0200
changeset 11853 837f9f1b84a5
parent 7813 7ac83d79b897
permissions -rw-r--r--
fix issue #110
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7813
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
     1
/*
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
     2
 * VDA HW acceleration
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
     3
 *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
     4
 * copyright (c) 2011 Sebastien Zwickert
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
     5
 *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
     6
 * This file is part of Libav.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
     7
 *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
     8
 * Libav is free software; you can redistribute it and/or
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
     9
 * modify it under the terms of the GNU Lesser General Public
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    10
 * License as published by the Free Software Foundation; either
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    11
 * version 2.1 of the License, or (at your option) any later version.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    12
 *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    13
 * Libav is distributed in the hope that it will be useful,
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    16
 * Lesser General Public License for more details.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    17
 *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    18
 * You should have received a copy of the GNU Lesser General Public
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    19
 * License along with Libav; if not, write to the Free Software
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    20
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    21
 */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    22
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    23
#ifndef AVCODEC_VDA_H
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    24
#define AVCODEC_VDA_H
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    25
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    26
/**
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    27
 * @file
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    28
 * @ingroup lavc_codec_hwaccel_vda
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    29
 * Public libavcodec VDA header.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    30
 */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    31
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    32
#include "libavcodec/version.h"
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    33
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    34
#if FF_API_VDA_ASYNC
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    35
#include <pthread.h>
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    36
#endif
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    37
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    38
#include <stdint.h>
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    39
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    40
// emmintrin.h is unable to compile with -std=c99 -Werror=missing-prototypes
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    41
// http://openradar.appspot.com/8026390
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    42
#undef __GNUC_STDC_INLINE__
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    43
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    44
#define Picture QuickdrawPicture
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    45
#include <VideoDecodeAcceleration/VDADecoder.h>
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    46
#undef Picture
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    47
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    48
/**
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    49
 * @defgroup lavc_codec_hwaccel_vda VDA
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    50
 * @ingroup lavc_codec_hwaccel
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    51
 *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    52
 * @{
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    53
 */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    54
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    55
#if FF_API_VDA_ASYNC
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    56
/**
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    57
 * This structure is used to store decoded frame information and data.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    58
 *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    59
 * @deprecated Use synchronous decoding mode.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    60
 */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    61
typedef struct vda_frame {
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    62
    /**
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    63
     * The PTS of the frame.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    64
     *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    65
     * - encoding: unused
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    66
     * - decoding: Set/Unset by libavcodec.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    67
     */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    68
    int64_t             pts;
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    69
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    70
    /**
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    71
     * The CoreVideo buffer that contains the decoded data.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    72
     *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    73
     * - encoding: unused
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    74
     * - decoding: Set/Unset by libavcodec.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    75
     */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    76
    CVPixelBufferRef    cv_buffer;
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    77
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    78
    /**
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    79
     * A pointer to the next frame.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    80
     *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    81
     * - encoding: unused
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    82
     * - decoding: Set/Unset by libavcodec.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    83
     */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    84
    struct vda_frame    *next_frame;
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    85
} vda_frame;
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    86
#endif
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    87
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    88
/**
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    89
 * This structure is used to provide the necessary configurations and data
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    90
 * to the VDA Libav HWAccel implementation.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    91
 *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    92
 * The application must make it available as AVCodecContext.hwaccel_context.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    93
 */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    94
struct vda_context {
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    95
    /**
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    96
     * VDA decoder object.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    97
     *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    98
     * - encoding: unused
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
    99
     * - decoding: Set/Unset by libavcodec.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   100
     */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   101
    VDADecoder          decoder;
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   102
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   103
    /**
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   104
     * The Core Video pixel buffer that contains the current image data.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   105
     *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   106
     * encoding: unused
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   107
     * decoding: Set by libavcodec. Unset by user.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   108
     */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   109
    CVPixelBufferRef    cv_buffer;
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   110
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   111
    /**
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   112
     * Use the hardware decoder in synchronous mode.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   113
     *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   114
     * encoding: unused
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   115
     * decoding: Set by user.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   116
     */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   117
    int                 use_sync_decoding;
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   118
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   119
#if FF_API_VDA_ASYNC
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   120
    /**
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   121
     * VDA frames queue ordered by presentation timestamp.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   122
     *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   123
     * @deprecated Use synchronous decoding mode.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   124
     *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   125
     * - encoding: unused
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   126
     * - decoding: Set/Unset by libavcodec.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   127
     */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   128
    vda_frame           *queue;
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   129
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   130
    /**
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   131
     * Mutex for locking queue operations.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   132
     *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   133
     * @deprecated Use synchronous decoding mode.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   134
     *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   135
     * - encoding: unused
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   136
     * - decoding: Set/Unset by libavcodec.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   137
     */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   138
    pthread_mutex_t     queue_mutex;
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   139
#endif
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   140
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   141
    /**
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   142
     * The frame width.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   143
     *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   144
     * - encoding: unused
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   145
     * - decoding: Set/Unset by user.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   146
     */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   147
    int                 width;
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   148
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   149
    /**
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   150
     * The frame height.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   151
     *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   152
     * - encoding: unused
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   153
     * - decoding: Set/Unset by user.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   154
     */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   155
    int                 height;
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   156
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   157
    /**
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   158
     * The frame format.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   159
     *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   160
     * - encoding: unused
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   161
     * - decoding: Set/Unset by user.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   162
     */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   163
    int                 format;
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   164
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   165
    /**
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   166
     * The pixel format for output image buffers.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   167
     *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   168
     * - encoding: unused
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   169
     * - decoding: Set/Unset by user.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   170
     */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   171
    OSType              cv_pix_fmt_type;
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   172
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   173
    /**
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   174
     * The current bitstream buffer.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   175
     */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   176
    uint8_t             *priv_bitstream;
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   177
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   178
    /**
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   179
     * The current size of the bitstream.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   180
     */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   181
    int                 priv_bitstream_size;
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   182
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   183
    /**
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   184
     * The reference size used for fast reallocation.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   185
     */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   186
    int                 priv_allocated_size;
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   187
};
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   188
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   189
/** Create the video decoder. */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   190
int ff_vda_create_decoder(struct vda_context *vda_ctx,
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   191
                          uint8_t *extradata,
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   192
                          int extradata_size);
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   193
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   194
/** Destroy the video decoder. */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   195
int ff_vda_destroy_decoder(struct vda_context *vda_ctx);
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   196
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   197
#if FF_API_VDA_ASYNC
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   198
/**
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   199
 * Return the top frame of the queue.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   200
 *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   201
 * @deprecated Use synchronous decoding mode.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   202
 */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   203
vda_frame *ff_vda_queue_pop(struct vda_context *vda_ctx);
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   204
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   205
/**
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   206
 * Release the given frame.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   207
 *
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   208
 * @deprecated Use synchronous decoding mode.
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   209
 */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   210
void ff_vda_release_vda_frame(vda_frame *frame);
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   211
#endif
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   212
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   213
/**
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   214
 * @}
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   215
 */
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   216
7ac83d79b897 support video recording on windows with automation and headers
koda
parents:
diff changeset
   217
#endif /* AVCODEC_VDA_H */