FFmpeg
|
#include <float.h>
#include <zlib.h>
#include "libavutil/avassert.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/imgutils.h"
#include "libavutil/float2half.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "encode.h"
Go to the source code of this file.
Data Structures | |
struct | EXRScanlineData |
struct | EXRContext |
Macros | |
#define | OFFSET(x) offsetof(EXRContext, x) |
#define | VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Enumerations | |
enum | ExrCompr { EXR_RAW, EXR_RLE, EXR_ZIP1, EXR_ZIP16, EXR_PIZ, EXR_PXR24, EXR_B44, EXR_B44A, EXR_DWAA, EXR_DWAB, EXR_UNKN, EXR_RAW, EXR_RLE, EXR_ZIP1, EXR_ZIP16, EXR_NBCOMPR } |
enum | ExrPixelType { EXR_UINT, EXR_HALF, EXR_FLOAT, EXR_UNKNOWN, EXR_UINT, EXR_HALF, EXR_FLOAT, EXR_UNKNOWN } |
Functions | |
static av_cold int | encode_init (AVCodecContext *avctx) |
static av_cold int | encode_close (AVCodecContext *avctx) |
static void | reorder_pixels (uint8_t *dst, const uint8_t *src, ptrdiff_t size) |
static void | predictor (uint8_t *src, ptrdiff_t size) |
static int64_t | rle_compress (uint8_t *out, int64_t out_size, const uint8_t *in, int64_t in_size) |
static int | encode_scanline_rle (EXRContext *s, const AVFrame *frame) |
static int | encode_scanline_zip (EXRContext *s, const AVFrame *frame) |
static int | encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet) |
Variables | |
static const char | abgr_chlist [4] = { 'A', 'B', 'G', 'R' } |
static const char | bgr_chlist [4] = { 'B', 'G', 'R', 'A' } |
static const char | y_chlist [4] = { 'Y' } |
static const uint8_t | gbra_order [4] = { 3, 1, 0, 2 } |
static const uint8_t | gbr_order [4] = { 1, 0, 2, 0 } |
static const uint8_t | y_order [4] = { 0 } |
static const AVOption | options [] |
static const AVClass | exr_class |
const FFCodec | ff_exr_encoder |
OpenEXR encoder
Definition in file exrenc.c.
#define OFFSET | ( | x | ) | offsetof(EXRContext, x) |
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
enum ExrCompr |
enum ExrPixelType |
|
static |
|
static |
|
static |
Definition at line 157 of file exrenc.c.
Referenced by encode_scanline_rle(), and encode_scanline_zip().
|
static |
Definition at line 169 of file exrenc.c.
Referenced by adpcm_compress_trellis(), adpcm_decode_frame(), adpcm_ima_alp_expand_nibble(), adpcm_ima_cunning_expand_nibble(), adpcm_ima_expand_nibble(), adpcm_ima_mtf_expand_nibble(), adpcm_ima_oki_expand_nibble(), adpcm_ima_qt_expand_nibble(), adpcm_ima_wav_expand_nibble(), adpcm_ms_compress_sample(), adpcm_ms_expand_nibble(), aptx_prediction_filtering(), decode_audio_s16(), dpcm_decode_frame(), encode_scanline_rle(), encode_scanline_zip(), ff_mjpeg_decode_sos(), ljpeg_decode_rgb_scan(), ljpeg_decode_yuv_scan(), ljpeg_encode_yuv_mb(), and tta_decode_frame().
|
static |
Definition at line 181 of file exrenc.c.
Referenced by encode_scanline_rle().
|
static |
Definition at line 220 of file exrenc.c.
Referenced by encode_frame().
|
static |
Definition at line 278 of file exrenc.c.
Referenced by encode_frame().
|
static |
Definition at line 54 of file exrenc.c.
Referenced by encode_init().
Definition at line 55 of file exrenc.c.
Referenced by encode_init().
|
static |
Definition at line 56 of file exrenc.c.
Referenced by encode_init().
|
static |
Definition at line 57 of file exrenc.c.
Referenced by encode_init().
|
static |
Definition at line 58 of file exrenc.c.
Referenced by encode_init().
|
static |
Definition at line 59 of file exrenc.c.
Referenced by encode_init().
|
static |
|
static |
const FFCodec ff_exr_encoder |