VLC 4.0.0-dev
Loading...
Searching...
No Matches
picture.h
Go to the documentation of this file.
1/*****************************************************************************
2 * picture.h: picture internals
3 *****************************************************************************
4 * Copyright (C) 2015 Remi Denis-Courmont
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation; either version 2.1 of the License, or
9 * (at your option) any later version.
10 *
11 * This program 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
14 * GNU Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this program; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
19 *****************************************************************************/
20
21#include <stdatomic.h>
22#include <stddef.h>
23
24#include <vlc_picture.h>
25struct vlc_ancillary;
26
27typedef struct
28{
30 struct
31 {
32 void (*destroy)(picture_t *);
33 void *opaque;
34 } gc;
35
36 /** Private ancillary struct. Don't use it directly, but use it via
37 * picture_AttachAncillary() and picture_GetAncillary(). */
40
41void *picture_Allocate(int *, size_t);
42void picture_Deallocate(int, void *, size_t);
43
44picture_t * picture_InternalClone(picture_t *, void (*pf_destroy)(picture_t *), void *);
picture_t * picture_InternalClone(picture_t *, void(*pf_destroy)(picture_t *), void *)
Definition picture.c:443
void picture_Deallocate(int, void *, size_t)
Definition picture.c:84
void * picture_Allocate(int *, size_t)
Definition picture.h:28
struct vlc_ancillary ** ancillaries
Private ancillary struct.
Definition picture.h:38
void * opaque
Definition picture.h:33
picture_t picture
Definition picture.h:29
Video picture.
Definition vlc_picture.h:130
Definition ancillary.c:31
This file defines picture structures and functions in vlc.