xine-lib 1.2.13-20230125hg15249
libmpeg2_accel.h
Go to the documentation of this file.
1/*
2 * libmpeg2_accel.h
3 * Copyright (C) 2004 The Unichrome Project.
4 * Copyright (C) 2005 Thomas Hellstrom.
5 *
6 * This file is part of xine, a free video player.
7 *
8 * xine is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * xine is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 */
22
23#ifndef LIBMPEG2_ACCEL_H
24#define LIBMPEG2_ACCEL_H
25
26#include "mpeg2_internal.h"
27
28/*
29 * Internal context data type.
30 */
31
38
39extern int libmpeg2_accel_discontinuity(mpeg2dec_accel_t *accel, uint32_t frame_format, picture_t *picture);
40extern int libmpeg2_accel_new_sequence(mpeg2dec_accel_t *accel, uint32_t frame_format, picture_t *picture);
41extern int libmpeg2_accel_new_frame(mpeg2dec_accel_t *accel, uint32_t frame_format, picture_t *picture, double ratio, uint32_t flags);
42extern void libmpeg2_accel_frame_completion(mpeg2dec_accel_t *accel, uint32_t frame_format, picture_t *picture, int code);
43
44extern int libmpeg2_accel_slice(mpeg2dec_accel_t *accel, picture_t *picture, int code,
45 char * buffer, uint32_t chunk_size, uint8_t *chunk_buffer);
46extern void libmpeg2_accel_scan( mpeg2dec_accel_t *accel, uint8_t *scan_norm, uint8_t *scan_alt);
47
48#endif
void libmpeg2_accel_frame_completion(mpeg2dec_accel_t *accel, uint32_t frame_format, picture_t *picture, int code)
Definition libmpeg2_accel.c:127
int libmpeg2_accel_new_frame(mpeg2dec_accel_t *accel, uint32_t frame_format, picture_t *picture, double ratio, uint32_t flags)
Definition libmpeg2_accel.c:85
int libmpeg2_accel_new_sequence(mpeg2dec_accel_t *accel, uint32_t frame_format, picture_t *picture)
Definition libmpeg2_accel.c:67
void libmpeg2_accel_scan(mpeg2dec_accel_t *accel, uint8_t *scan_norm, uint8_t *scan_alt)
Definition libmpeg2_accel.c:35
int libmpeg2_accel_discontinuity(mpeg2dec_accel_t *accel, uint32_t frame_format, picture_t *picture)
Definition libmpeg2_accel.c:45
int libmpeg2_accel_slice(mpeg2dec_accel_t *accel, picture_t *picture, int code, char *buffer, uint32_t chunk_size, uint8_t *chunk_buffer)
Definition libmpeg2_accel.c:160
Definition libmpeg2_accel.h:32
unsigned xxmc_mb_pic_height
Definition libmpeg2_accel.h:36
int xvmc_last_slice_code
Definition libmpeg2_accel.h:33
int row_slice_count
Definition libmpeg2_accel.h:35
int slices_per_row
Definition libmpeg2_accel.h:34
Definition vdpau_mpeg12.c:113
char code
Definition xmllexer.c:612