FFmpeg
Loading...
Searching...
No Matches
proresdata.h File Reference
#include <stdint.h>
#include "libavutil/pixfmt.h"

Go to the source code of this file.

Macros

#define FRAME_ID   MKBETAG('i', 'c', 'p', 'f')
 
#define FIRST_DC_CB   0xB8
 

Functions

int ff_prores_color_primaries (enum AVColorPrimaries color_primaries)
 Map color properties to the codes a frame header can carry (SMPTE RDD 36), substituting an equivalent code or unspecified for the others.
 
int ff_prores_color_trc (enum AVColorTransferCharacteristic color_trc)
 
int ff_prores_colorspace (enum AVColorSpace colorspace)
 

Variables

const uint8_t ff_prores_progressive_scan [64]
 
const uint8_t ff_prores_interlaced_scan [64]
 
const uint8_t ff_prores_dc_codebook [7]
 
const uint8_t ff_prores_run_to_cb [16]
 
const uint8_t ff_prores_level_to_cb [10]
 

Macro Definition Documentation

◆ FRAME_ID

#define FRAME_ID   MKBETAG('i', 'c', 'p', 'f')

◆ FIRST_DC_CB

#define FIRST_DC_CB   0xB8

Definition at line 38 of file proresdata.h.

Referenced by decode_dc_coeffs(), encode_dcs(), encode_dcs(), and estimate_dcs().

Function Documentation

◆ ff_prores_color_primaries()

int ff_prores_color_primaries ( enum AVColorPrimaries color_primaries)

Map color properties to the codes a frame header can carry (SMPTE RDD 36), substituting an equivalent code or unspecified for the others.

Definition at line 55 of file proresdata.c.

Referenced by encode_frame(), ff_prores_kostya_write_frame_header(), prores_encode_frame(), and write_frame_header().

◆ ff_prores_color_trc()

int ff_prores_color_trc ( enum AVColorTransferCharacteristic color_trc)

◆ ff_prores_colorspace()

int ff_prores_colorspace ( enum AVColorSpace colorspace)

Variable Documentation

◆ ff_prores_progressive_scan

const uint8_t ff_prores_progressive_scan[64]
extern

Definition at line 25 of file proresdata.c.

Referenced by decode_init(), ff_prores_kostya_encode_init(), and prores_encode_init().

◆ ff_prores_interlaced_scan

const uint8_t ff_prores_interlaced_scan[64]
extern

◆ ff_prores_dc_codebook

const uint8_t ff_prores_dc_codebook[7]
extern

Definition at line 47 of file proresdata.c.

Referenced by encode_dcs(), encode_dcs(), and estimate_dcs().

◆ ff_prores_run_to_cb

const uint8_t ff_prores_run_to_cb[16]
extern

Definition at line 49 of file proresdata.c.

Referenced by encode_acs(), encode_acs(), and estimate_acs().

◆ ff_prores_level_to_cb

const uint8_t ff_prores_level_to_cb[10]
extern

Definition at line 52 of file proresdata.c.

Referenced by encode_acs(), encode_acs(), and estimate_acs().