FFmpeg
|
#include <va/va.h>
#include <va/va_enc_jpeg.h>
#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "bytestream.h"
#include "cbs.h"
#include "cbs_jpeg.h"
#include "codec_internal.h"
#include "jpegtables.h"
#include "mjpeg.h"
#include "put_bits.h"
#include "vaapi_encode.h"
Go to the source code of this file.
Data Structures | |
struct | VAAPIEncodeMJPEGContext |
Macros | |
#define | OFFSET(x) offsetof(VAAPIEncodeMJPEGContext, x) |
#define | FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM) |
Functions | |
static int | vaapi_encode_mjpeg_write_image_header (AVCodecContext *avctx, VAAPIEncodePicture *pic, VAAPIEncodeSlice *slice, char *data, size_t *data_len) |
static int | vaapi_encode_mjpeg_write_extra_buffer (AVCodecContext *avctx, VAAPIEncodePicture *pic, int index, int *type, char *data, size_t *data_len) |
static int | vaapi_encode_mjpeg_init_picture_params (AVCodecContext *avctx, VAAPIEncodePicture *pic) |
static int | vaapi_encode_mjpeg_init_slice_params (AVCodecContext *avctx, VAAPIEncodePicture *pic, VAAPIEncodeSlice *slice) |
static av_cold int | vaapi_encode_mjpeg_get_encoder_caps (AVCodecContext *avctx) |
static av_cold int | vaapi_encode_mjpeg_configure (AVCodecContext *avctx) |
static av_cold int | vaapi_encode_mjpeg_init (AVCodecContext *avctx) |
static av_cold int | vaapi_encode_mjpeg_close (AVCodecContext *avctx) |
Variables | |
static const unsigned char | vaapi_encode_mjpeg_quant_luminance [64] |
static const unsigned char | vaapi_encode_mjpeg_quant_chrominance [64] |
static const VAAPIEncodeProfile | vaapi_encode_mjpeg_profiles [] |
static const VAAPIEncodeType | vaapi_encode_type_mjpeg |
static const AVOption | vaapi_encode_mjpeg_options [] |
static const FFCodecDefault | vaapi_encode_mjpeg_defaults [] |
static const AVClass | vaapi_encode_mjpeg_class |
const FFCodec | ff_mjpeg_vaapi_encoder |
#define OFFSET | ( | x | ) | offsetof(VAAPIEncodeMJPEGContext, x) |
Definition at line 540 of file vaapi_encode_mjpeg.c.
#define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM) |
Definition at line 541 of file vaapi_encode_mjpeg.c.
|
static |
Definition at line 83 of file vaapi_encode_mjpeg.c.
|
static |
Definition at line 149 of file vaapi_encode_mjpeg.c.
|
static |
Definition at line 222 of file vaapi_encode_mjpeg.c.
|
static |
Definition at line 414 of file vaapi_encode_mjpeg.c.
|
static |
Definition at line 437 of file vaapi_encode_mjpeg.c.
|
static |
Definition at line 451 of file vaapi_encode_mjpeg.c.
|
static |
Definition at line 517 of file vaapi_encode_mjpeg.c.
|
static |
Definition at line 530 of file vaapi_encode_mjpeg.c.
|
static |
Definition at line 40 of file vaapi_encode_mjpeg.c.
Referenced by vaapi_encode_mjpeg_init_picture_params().
|
static |
Definition at line 50 of file vaapi_encode_mjpeg.c.
Referenced by vaapi_encode_mjpeg_init_picture_params().
|
static |
Definition at line 482 of file vaapi_encode_mjpeg.c.
|
static |
Definition at line 494 of file vaapi_encode_mjpeg.c.
Referenced by vaapi_encode_mjpeg_init().
|
static |
Definition at line 542 of file vaapi_encode_mjpeg.c.
|
static |
Definition at line 555 of file vaapi_encode_mjpeg.c.
|
static |
Definition at line 560 of file vaapi_encode_mjpeg.c.
const FFCodec ff_mjpeg_vaapi_encoder |
Definition at line 567 of file vaapi_encode_mjpeg.c.