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, FFHWBaseEncodePicture *base, int index, int *type, char *data, size_t *data_len) |
static int | vaapi_encode_mjpeg_init_picture_params (AVCodecContext *avctx, FFHWBaseEncodePicture *pic) |
static int | vaapi_encode_mjpeg_init_slice_params (AVCodecContext *avctx, FFHWBaseEncodePicture *base, 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 542 of file vaapi_encode_mjpeg.c.
#define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM) |
Definition at line 543 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 416 of file vaapi_encode_mjpeg.c.
|
static |
Definition at line 439 of file vaapi_encode_mjpeg.c.
|
static |
Definition at line 453 of file vaapi_encode_mjpeg.c.
|
static |
Definition at line 519 of file vaapi_encode_mjpeg.c.
|
static |
Definition at line 532 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 484 of file vaapi_encode_mjpeg.c.
|
static |
Definition at line 496 of file vaapi_encode_mjpeg.c.
Referenced by vaapi_encode_mjpeg_init().
|
static |
Definition at line 544 of file vaapi_encode_mjpeg.c.
|
static |
Definition at line 558 of file vaapi_encode_mjpeg.c.
|
static |
Definition at line 563 of file vaapi_encode_mjpeg.c.
const FFCodec ff_mjpeg_vaapi_encoder |
Definition at line 570 of file vaapi_encode_mjpeg.c.