| FFmpeg
    | 
#include "config_components.h"#include "libavutil/buffer.h"#include "libavutil/internal.h"#include "libavutil/opt.h"#include "libavutil/mastering_display_metadata.h"#include "libavutil/mem.h"#include "libavutil/pixdesc.h"#include "libavutil/stereo3d.h"#include "libavutil/time.h"#include "libavutil/video_hint.h"#include "avcodec.h"#include "codec_internal.h"#include "encode.h"#include "internal.h"#include "packet_internal.h"#include "atsc_a53.h"#include "sei.h"#include "golomb.h"#include <x264.h>#include <float.h>#include <math.h>#include <stdio.h>#include <stdlib.h>#include <string.h>Go to the source code of this file.
| Data Structures | |
| struct | X264Opaque | 
| struct | X264Context | 
| Macros | |
| #define | MB_SIZE 16 | 
| #define | MB_LSIZE 4 | 
| #define | MB_FLOOR(x) ((x) >> (MB_LSIZE)) | 
| #define | MB_CEIL(x) MB_FLOOR((x) + (MB_SIZE - 1)) | 
| #define | COMPUTE_MBINFO(mbinfo_filler_, mbinfo_marker_, compute_coords_fn_) | 
| #define | PARSE_X264_OPT(name, var) | 
| #define | OFFSET(x) offsetof(X264Context, x) | 
| #define | VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM | 
| Functions | |
| static void | X264_log (void *p, int level, const char *fmt, va_list args) | 
| static void | opaque_uninit (X264Opaque *o) | 
| static int | encode_nals (AVCodecContext *ctx, AVPacket *pkt, const x264_nal_t *nals, int nnal) | 
| static void | reconfig_encoder (AVCodecContext *ctx, const AVFrame *frame) | 
| static void | free_picture (x264_picture_t *pic) | 
| static enum AVPixelFormat | csp_to_pixfmt (int csp) | 
| static void av_always_inline | mbinfo_compute_changed_coords (const AVVideoRect *rect, int *min_x, int *max_x, int *min_y, int *max_y) | 
| static void av_always_inline | mbinfo_compute_constant_coords (const AVVideoRect *rect, int *min_x, int *max_x, int *min_y, int *max_y) | 
| static int | setup_mb_info (AVCodecContext *ctx, x264_picture_t *pic, const AVFrame *frame, const AVVideoHint *info) | 
| static int | setup_roi (AVCodecContext *ctx, x264_picture_t *pic, const AVFrame *frame, const uint8_t *data, size_t size) | 
| static int | setup_frame (AVCodecContext *ctx, const AVFrame *frame, x264_picture_t **ppic) | 
| static int | X264_frame (AVCodecContext *ctx, AVPacket *pkt, const AVFrame *frame, int *got_packet) | 
| static void | X264_flush (AVCodecContext *avctx) | 
| static av_cold int | X264_close (AVCodecContext *avctx) | 
| static int | parse_opts (AVCodecContext *avctx, const char *opt, const char *param) | 
| static int | convert_pix_fmt (enum AVPixelFormat pix_fmt) | 
| static int | save_sei (AVCodecContext *avctx, x264_nal_t *nal) | 
| static int | set_extradata (AVCodecContext *avctx) | 
| static void | handle_side_data (AVCodecContext *avctx, x264_param_t *params) | 
| static av_cold int | X264_init (AVCodecContext *avctx) | 
| Variables | |
| static enum AVPixelFormat | pix_fmts_8bit [] | 
| static enum AVPixelFormat | pix_fmts_9bit [] | 
| static enum AVPixelFormat | pix_fmts_10bit [] | 
| static enum AVPixelFormat | pix_fmts_all [] | 
| static const AVOption | options [] | 
| static const FFCodecDefault | x264_defaults [] | 
| #define COMPUTE_MBINFO | ( | mbinfo_filler_, | |
| mbinfo_marker_, | |||
| compute_coords_fn_ | |||
| ) | 
| #define PARSE_X264_OPT | ( | name, | |
| var | |||
| ) | 
| #define OFFSET | ( | x | ) | offsetof(X264Context, x) | 
| #define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM | 
| 
 | static | 
Definition at line 131 of file libx264.c.
Referenced by X264_init().
| 
 | static | 
Definition at line 146 of file libx264.c.
Referenced by setup_frame(), X264_close(), X264_flush(), and X264_frame().
| 
 | static | 
Definition at line 152 of file libx264.c.
Referenced by X264_frame().
| 
 | static | 
Definition at line 195 of file libx264.c.
Referenced by setup_frame().
| 
 | static | 
Definition at line 293 of file libx264.c.
Referenced by setup_frame().
| 
 | static | 
Definition at line 303 of file libx264.c.
Referenced by X264_frame().
| 
 | static | 
Definition at line 325 of file libx264.c.
Referenced by setup_mb_info().
| 
 | static | 
Definition at line 337 of file libx264.c.
Referenced by setup_mb_info().
| 
 | static | 
Definition at line 349 of file libx264.c.
Referenced by setup_frame().
| 
 | static | 
Definition at line 393 of file libx264.c.
Referenced by setup_frame().
| 
 | static | 
Definition at line 466 of file libx264.c.
Referenced by X264_frame().
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
Definition at line 782 of file libx264.c.
Referenced by X264_init().
| 
 | static | 
Definition at line 808 of file libx264.c.
Referenced by X264_init().
| 
 | static | 
Definition at line 843 of file libx264.c.
Referenced by set_extradata().
| 
 | static | 
Definition at line 946 of file libx264.c.
Referenced by X264_init().
| 
 | static | 
Definition at line 1036 of file libx264.c.
Referenced by X264_init().
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
 1.8.17
 1.8.17