FFmpeg
Data Structures | Macros | Enumerations | Functions
proresenc_kostya_common.h File Reference
#include <stddef.h>
#include "libavutil/attributes_internal.h"
#include "libavutil/log.h"
#include "libavutil/mem_internal.h"
#include "libavutil/pixfmt.h"
#include "fdctdsp.h"

Go to the source code of this file.

Data Structures

struct  prores_profile
 
struct  ProresContext
 

Macros

#define CFACTOR_Y422   2
 
#define CFACTOR_Y444   3
 
#define MAX_MBS_PER_SLICE   8
 
#define MAX_PLANES   4
 
#define NUM_MB_LIMITS   4
 
#define MAX_STORED_Q   16
 

Enumerations

enum  {
  PRORES_PROFILE_AUTO = -1, PRORES_PROFILE_PROXY = 0, PRORES_PROFILE_LT, PRORES_PROFILE_STANDARD,
  PRORES_PROFILE_HQ, PRORES_PROFILE_4444, PRORES_PROFILE_4444XQ
}
 
enum  {
  QUANT_MAT_PROXY = 0, QUANT_MAT_PROXY_CHROMA, QUANT_MAT_LT, QUANT_MAT_STANDARD,
  QUANT_MAT_HQ, QUANT_MAT_XQ_LUMA, QUANT_MAT_DEFAULT
}
 

Functions

av_cold int ff_prores_kostya_encode_init (struct AVCodecContext *avctx, ProresContext *ctx, enum AVPixelFormat pixfmt)
 
uint8_t * ff_prores_kostya_write_frame_header (struct AVCodecContext *avctx, ProresContext *ctx, uint8_t **orig_buf, int flags, enum AVColorPrimaries color_primaries, enum AVColorTransferCharacteristic color_trc, enum AVColorSpace colorspace)
 
uint8_t * ff_prores_kostya_write_picture_header (ProresContext *ctx, uint8_t *buf)
 

Macro Definition Documentation

◆ CFACTOR_Y422

#define CFACTOR_Y422   2

Definition at line 37 of file proresenc_kostya_common.h.

◆ CFACTOR_Y444

#define CFACTOR_Y444   3

Definition at line 38 of file proresenc_kostya_common.h.

◆ MAX_MBS_PER_SLICE

#define MAX_MBS_PER_SLICE   8

Definition at line 40 of file proresenc_kostya_common.h.

◆ MAX_PLANES

#define MAX_PLANES   4

Definition at line 42 of file proresenc_kostya_common.h.

◆ NUM_MB_LIMITS

#define NUM_MB_LIMITS   4

Definition at line 44 of file proresenc_kostya_common.h.

◆ MAX_STORED_Q

#define MAX_STORED_Q   16

Definition at line 46 of file proresenc_kostya_common.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
PRORES_PROFILE_AUTO 
PRORES_PROFILE_PROXY 
PRORES_PROFILE_LT 
PRORES_PROFILE_STANDARD 
PRORES_PROFILE_HQ 
PRORES_PROFILE_4444 
PRORES_PROFILE_4444XQ 

Definition at line 48 of file proresenc_kostya_common.h.

◆ anonymous enum

anonymous enum
Enumerator
QUANT_MAT_PROXY 
QUANT_MAT_PROXY_CHROMA 
QUANT_MAT_LT 
QUANT_MAT_STANDARD 
QUANT_MAT_HQ 
QUANT_MAT_XQ_LUMA 
QUANT_MAT_DEFAULT 

Definition at line 58 of file proresenc_kostya_common.h.

Function Documentation

◆ ff_prores_kostya_encode_init()

av_cold int ff_prores_kostya_encode_init ( struct AVCodecContext avctx,
ProresContext ctx,
enum AVPixelFormat  pixfmt 
)

Definition at line 168 of file proresenc_kostya_common.c.

Referenced by encode_init().

◆ ff_prores_kostya_write_frame_header()

uint8_t* ff_prores_kostya_write_frame_header ( struct AVCodecContext avctx,
ProresContext ctx,
uint8_t **  orig_buf,
int  flags,
enum AVColorPrimaries  color_primaries,
enum AVColorTransferCharacteristic  color_trc,
enum AVColorSpace  colorspace 
)

Definition at line 313 of file proresenc_kostya_common.c.

◆ ff_prores_kostya_write_picture_header()

uint8_t* ff_prores_kostya_write_picture_header ( ProresContext ctx,
uint8_t *  buf 
)

Definition at line 357 of file proresenc_kostya_common.c.