FFmpeg
|
dpxenc.c File Reference
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "internal.h"
Include dependency graph for dpxenc.c:
Go to the source code of this file.
Data Structures | |
struct | DPXContext |
Macros | |
#define | write16(p, value) |
#define | write32(p, value) |
#define | HEADER_SIZE 1664 /* DPX Generic header */ |
Typedefs | |
typedef struct DPXContext | DPXContext |
Functions | |
static av_cold int | encode_init (AVCodecContext *avctx) |
static void | encode_rgb48_10bit (AVCodecContext *avctx, const AVPicture *pic, uint8_t *dst) |
static void | encode_gbrp10 (AVCodecContext *avctx, const AVPicture *pic, uint8_t *dst) |
static void | encode_gbrp12 (AVCodecContext *avctx, const AVPicture *pic, uint16_t *dst) |
static int | encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet) |
Variables | |
AVCodec | ff_dpx_encoder |
Macro Definition Documentation
#define HEADER_SIZE 1664 /* DPX Generic header */ |
Referenced by encode_frame().
#define write16 | ( | p, | |
value | |||
) |
Value:
do { \
} while(0)
initialize output if(nPeaks >3)%at least 3 peaks in spectrum for trying to find f0 nf0peaks
Synth Windw Norm while(pin< pend)%Until the end...%---Analysis x_w
Definition at line 86 of file dpxenc.c.
Referenced by encode_frame(), and encode_gbrp12().
#define write32 | ( | p, | |
value | |||
) |
Value:
do { \
} while(0)
initialize output if(nPeaks >3)%at least 3 peaks in spectrum for trying to find f0 nf0peaks
Synth Windw Norm while(pin< pend)%Until the end...%---Analysis x_w
Definition at line 92 of file dpxenc.c.
Referenced by encode_frame(), encode_gbrp10(), and encode_rgb48_10bit().
Typedef Documentation
typedef struct DPXContext DPXContext |
Function Documentation
|
static |
|
static |
Definition at line 123 of file dpxenc.c.
Referenced by encode_frame().
|
static |
Definition at line 149 of file dpxenc.c.
Referenced by encode_frame().
|
static |
|
static |
Definition at line 98 of file dpxenc.c.
Referenced by encode_frame().
Variable Documentation
AVCodec ff_dpx_encoder |
Initial value:
= {
.name = "dpx",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_DPX,
.priv_data_size = sizeof(DPXContext),
.init = encode_init,
.encode2 = encode_frame,
.long_name = NULL_IF_CONFIG_SMALL("DPX image"),
}
Definition: pixfmt.h:67
struct DPXContext DPXContext
packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as lit...
Definition: pixfmt.h:112
packed RGBA 16:16:16:16, 64bpp, 16R, 16G, 16B, 16A, the 2-byte value for each R/G/B/A component is st...
Definition: pixfmt.h:209
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
Definition: libavcodec/avcodec.h:231
packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as big...
Definition: pixfmt.h:111
static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet)
Definition: dpxenc.c:176
Definition: avutil.h:143
packed RGBA 16:16:16:16, 64bpp, 16R, 16G, 16B, 16A, the 2-byte value for each R/G/B/A component is st...
Definition: pixfmt.h:210
Generated on Fri Dec 20 2024 06:56:12 for FFmpeg by 1.8.11