00001 /* 00002 * Video Decode and Presentation API for UNIX (VDPAU) is used for 00003 * HW decode acceleration for MPEG-1/2, H.264 and VC-1. 00004 * 00005 * Copyright (C) 2008 NVIDIA 00006 * 00007 * This file is part of FFmpeg. 00008 * 00009 * FFmpeg is free software; you can redistribute it and/or 00010 * modify it under the terms of the GNU Lesser General Public 00011 * License as published by the Free Software Foundation; either 00012 * version 2.1 of the License, or (at your option) any later version. 00013 * 00014 * FFmpeg is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 * Lesser General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU Lesser General Public 00020 * License along with FFmpeg; if not, write to the Free Software 00021 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00022 */ 00023 00024 #ifndef AVCODEC_VDPAU_INTERNAL_H 00025 #define AVCODEC_VDPAU_INTERNAL_H 00026 00027 #include <stdint.h> 00028 #include "mpegvideo.h" 00029 00030 void ff_vdpau_add_data_chunk(MpegEncContext *s, const uint8_t *buf, 00031 int buf_size); 00032 00033 void ff_vdpau_mpeg_picture_complete(MpegEncContext *s, const uint8_t *buf, 00034 int buf_size, int slice_count); 00035 00036 void ff_vdpau_h264_set_reference_frames(MpegEncContext *s); 00037 void ff_vdpau_h264_picture_complete(MpegEncContext *s); 00038 00039 void ff_vdpau_vc1_decode_picture(MpegEncContext *s, const uint8_t *buf, 00040 int buf_size); 00041 00042 #endif /* AVCODEC_VDPAU_INTERNAL_H */