FFmpeg
dpx.h
Go to the documentation of this file.
1 /*
2  * DPX (.dpx) image decoder
3  * Copyright (c) 2009 Jimmy Christensen
4  *
5  * This file is part of FFmpeg.
6  *
7  * FFmpeg is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * FFmpeg is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with FFmpeg; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20  */
21 
22 #ifndef AVCODEC_DPX_H
23 #define AVCODEC_DPX_H
24 
25 #include "libavutil/frame.h"
26 #include "libavutil/pixfmt.h"
27 
28 enum DPX_TRC {
42 };
43 
47  /* 2 = N/A */
48  /* 3 = N/A */
56  /* 11 = N/A */
57  /* 12 = N/A */
58 };
59 
60 typedef struct DPXDecContext {
64 
65  int packing;
66  int stride;
67  int endian;
72 
73 #endif /* AVCODEC_DPX_H */
DPX_COL_SPEC_ITU_R_624_4_PAL
@ DPX_COL_SPEC_ITU_R_624_4_PAL
Definition: dpx.h:55
AVPixelFormat
AVPixelFormat
Pixel format.
Definition: pixfmt.h:71
DPX_COL_SPEC_ITU_R_601_525
@ DPX_COL_SPEC_ITU_R_601_525
Definition: dpx.h:53
DPX_TRC_USER_DEFINED
@ DPX_TRC_USER_DEFINED
Definition: dpx.h:29
DPXDecContext::packing
int packing
Definition: dpx.h:65
DPX_TRC_SMPTE_170
@ DPX_TRC_SMPTE_170
Definition: dpx.h:38
DPXDecContext::hwaccel_picture_private
void * hwaccel_picture_private
Definition: dpx.h:62
DPX_TRC_Z_HOMOGENEOUS
@ DPX_TRC_Z_HOMOGENEOUS
Definition: dpx.h:41
AVFrame
This structure describes decoded (raw) audio or video data.
Definition: frame.h:427
DPX_TRC
DPX_TRC
Definition: dpx.h:28
DPX_COL_SPEC_SMPTE_170
@ DPX_COL_SPEC_SMPTE_170
Definition: dpx.h:54
DPX_TRC_PRINTING_DENSITY
@ DPX_TRC_PRINTING_DENSITY
Definition: dpx.h:30
DPX_TRC_LOGARITHMIC
@ DPX_TRC_LOGARITHMIC
Definition: dpx.h:32
DPX_TRC_Z_LINEAR
@ DPX_TRC_Z_LINEAR
Definition: dpx.h:40
DPXDecContext::stride
int stride
Definition: dpx.h:66
DPX_COL_SPEC_ITU_R_709_4
@ DPX_COL_SPEC_ITU_R_709_4
Definition: dpx.h:51
DPX_COL_SPEC_SMPTE_274
@ DPX_COL_SPEC_SMPTE_274
Definition: dpx.h:50
DPX_TRC_ITU_R_709_4
@ DPX_TRC_ITU_R_709_4
Definition: dpx.h:35
DPX_COL_SPEC_ITU_R_601_625
@ DPX_COL_SPEC_ITU_R_601_625
Definition: dpx.h:52
DPX_COL_SPEC
DPX_COL_SPEC
Definition: dpx.h:44
DPX_TRC_ITU_R_624_4_PAL
@ DPX_TRC_ITU_R_624_4_PAL
Definition: dpx.h:39
DPX_TRC_ITU_R_601_625
@ DPX_TRC_ITU_R_601_625
Definition: dpx.h:36
DPXDecContext::components
int components
Definition: dpx.h:68
DPXDecContext::endian
int endian
Definition: dpx.h:67
DPX_COL_SPEC_PRINTING_DENSITY
@ DPX_COL_SPEC_PRINTING_DENSITY
Definition: dpx.h:46
DPX_COL_SPEC_UNSPECIFIED_VIDEO
@ DPX_COL_SPEC_UNSPECIFIED_VIDEO
Definition: dpx.h:49
frame.h
DPXDecContext::need_align
int need_align
Definition: dpx.h:70
pixfmt.h
DPX_TRC_UNSPECIFIED_VIDEO
@ DPX_TRC_UNSPECIFIED_VIDEO
Definition: dpx.h:33
DPXDecContext::pix_fmt
enum AVPixelFormat pix_fmt
Definition: dpx.h:63
DPXDecContext::unpadded_10bit
int unpadded_10bit
Definition: dpx.h:69
DPX_TRC_ITU_R_601_525
@ DPX_TRC_ITU_R_601_525
Definition: dpx.h:37
DPX_COL_SPEC_USER_DEFINED
@ DPX_COL_SPEC_USER_DEFINED
Definition: dpx.h:45
DPXDecContext
Definition: dpx.h:60
DPX_TRC_LINEAR
@ DPX_TRC_LINEAR
Definition: dpx.h:31
DPXDecContext::frame
AVFrame * frame
Definition: dpx.h:61
DPX_TRC_SMPTE_274
@ DPX_TRC_SMPTE_274
Definition: dpx.h:34