FFmpeg
|
Dirac Decoder. More...
#include "libavutil/imgutils.h"
#include "dirac.h"
#include "avcodec.h"
#include "golomb.h"
#include "mpeg12data.h"
Include dependency graph for dirac.c:
Go to the source code of this file.
Functions | |
static int | parse_source_parameters (AVCodecContext *avctx, GetBitContext *gb, dirac_source_params *source) |
int | avpriv_dirac_parse_sequence_header (AVCodecContext *avctx, GetBitContext *gb, dirac_source_params *source) |
Variables | |
static const dirac_source_params | dirac_source_parameters_defaults [] |
static const AVRational | dirac_preset_aspect_ratios [] |
static const AVRational | dirac_frame_rate [] |
struct { | |
uint8_t bitdepth | |
enum AVColorRange color_range | |
} | pixel_range_presets [] |
static enum AVColorPrimaries | dirac_primaries [] |
struct { | |
enum AVColorPrimaries color_primaries | |
enum AVColorSpace colorspace | |
enum AVColorTransferCharacteristic color_trc | |
} | dirac_color_presets [] |
static enum AVPixelFormat | dirac_pix_fmt [2][3] |
Detailed Description
Dirac Decoder.
Definition in file dirac.c.
Function Documentation
int avpriv_dirac_parse_sequence_header | ( | AVCodecContext * | avctx, |
GetBitContext * | gb, | ||
dirac_source_params * | source | ||
) |
Definition at line 288 of file dirac.c.
Referenced by dirac_decode_data_unit(), and dirac_header().
|
static |
Definition at line 116 of file dirac.c.
Referenced by avpriv_dirac_parse_sequence_header().
Variable Documentation
enum AVColorPrimaries color_primaries |
enum AVColorRange color_range |
enum AVColorTransferCharacteristic color_trc |
enum AVColorSpace colorspace |
Definition at line 98 of file dirac.c.
Referenced by sws_getCoefficients(), and vp3_init_thread_copy().
const { ... } dirac_color_presets[] |
Initial value:
= {
{ AVCOL_PRI_SMPTE170M, AVCOL_SPC_BT470BG, AVCOL_TRC_BT709 },
{ AVCOL_PRI_BT470BG, AVCOL_SPC_BT470BG, AVCOL_TRC_BT709 },
{ AVCOL_PRI_BT709, AVCOL_SPC_BT709, AVCOL_TRC_BT709 },
}
also ITU-R BT1361 / IEC 61966-2-4 xvYCC709 / SMPTE RP177 Annex B
Definition: libavcodec/avcodec.h:624
also ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL & SECAM
Definition: libavcodec/avcodec.h:606
also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC
Definition: libavcodec/avcodec.h:607
also ITU-R BT1361 / IEC 61966-2-4 / SMPTE RP177 Annex B
Definition: libavcodec/avcodec.h:603
also ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL & SECAM / IEC 61966-2-4 xvYCC601 ...
Definition: libavcodec/avcodec.h:627
Definition: libavcodec/avcodec.h:615
Referenced by parse_source_parameters().
|
static |
|
static |
Initial value:
= {
}
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
Definition: pixfmt.h:73
planar YUV 4:2:2, 16bpp, full scale (JPEG), deprecated in favor of PIX_FMT_YUV422P and setting color_...
Definition: pixfmt.h:81
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
Definition: pixfmt.h:72
planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of PIX_FMT_YUV420P and setting color_...
Definition: pixfmt.h:80
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
Definition: pixfmt.h:68
planar YUV 4:4:4, 24bpp, full scale (JPEG), deprecated in favor of PIX_FMT_YUV444P and setting color_...
Definition: pixfmt.h:82
Definition at line 109 of file dirac.c.
Referenced by parse_source_parameters().
|
static |
|
static |
Initial value:
= {
}
also ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL & SECAM
Definition: libavcodec/avcodec.h:606
also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC
Definition: libavcodec/avcodec.h:607
also ITU-R BT1361 / IEC 61966-2-4 / SMPTE RP177 Annex B
Definition: libavcodec/avcodec.h:603
Definition at line 90 of file dirac.c.
Referenced by parse_source_parameters().
|
static |
Initial value:
= {
{ 640, 480, 2, 0, 0, 1, 1, 640, 480, 0, 0, 1, 0 },
{ 176, 120, 2, 0, 0, 9, 2, 176, 120, 0, 0, 1, 1 },
{ 176, 144, 2, 0, 1, 10, 3, 176, 144, 0, 0, 1, 2 },
{ 352, 240, 2, 0, 0, 9, 2, 352, 240, 0, 0, 1, 1 },
{ 352, 288, 2, 0, 1, 10, 3, 352, 288, 0, 0, 1, 2 },
{ 704, 480, 2, 0, 0, 9, 2, 704, 480, 0, 0, 1, 1 },
{ 704, 576, 2, 0, 1, 10, 3, 704, 576, 0, 0, 1, 2 },
{ 720, 480, 1, 1, 0, 4, 2, 704, 480, 8, 0, 3, 1 },
{ 720, 576, 1, 1, 1, 3, 3, 704, 576, 8, 0, 3, 2 },
{ 1280, 720, 1, 0, 1, 7, 1, 1280, 720, 0, 0, 3, 3 },
{ 1280, 720, 1, 0, 1, 6, 1, 1280, 720, 0, 0, 3, 3 },
{ 1920, 1080, 1, 1, 1, 4, 1, 1920, 1080, 0, 0, 3, 3 },
{ 1920, 1080, 1, 1, 1, 3, 1, 1920, 1080, 0, 0, 3, 3 },
{ 1920, 1080, 1, 0, 1, 7, 1, 1920, 1080, 0, 0, 3, 3 },
{ 1920, 1080, 1, 0, 1, 6, 1, 1920, 1080, 0, 0, 3, 3 },
{ 2048, 1080, 0, 0, 1, 2, 1, 2048, 1080, 0, 0, 4, 4 },
{ 4096, 2160, 0, 0, 1, 2, 1, 4096, 2160, 0, 0, 4, 4 },
{ 3840, 2160, 1, 0, 1, 7, 1, 3840, 2160, 0, 0, 3, 3 },
{ 3840, 2160, 1, 0, 1, 6, 1, 3840, 2160, 0, 0, 3, 3 },
{ 7680, 4320, 1, 0, 1, 7, 1, 3840, 2160, 0, 0, 3, 3 },
{ 7680, 4320, 1, 0, 1, 6, 1, 3840, 2160, 0, 0, 3, 3 },
}
const { ... } pixel_range_presets[] |
Initial value:
Referenced by parse_source_parameters().
Generated on Mon Nov 18 2024 06:52:05 for FFmpeg by 1.8.11