FFmpeg
|
#include "libavutil/avassert.h"
#include "libavutil/display.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/stereo3d.h"
#include "libavutil/video_enc_params.h"
#include "internal.h"
#include "bytestream.h"
#include "cabac.h"
#include "cabac_functions.h"
#include "error_resilience.h"
#include "avcodec.h"
#include "h264.h"
#include "h264dec.h"
#include "h2645_parse.h"
#include "h264data.h"
#include "h264chroma.h"
#include "h264_mvpred.h"
#include "h264_ps.h"
#include "golomb.h"
#include "hwconfig.h"
#include "mathops.h"
#include "me_cmp.h"
#include "mpegutils.h"
#include "profiles.h"
#include "rectangle.h"
#include "thread.h"
Go to the source code of this file.
Macros | |
#define | UNCHECKED_BITSTREAM_READER 1 |
#define | OFFSET(x) offsetof(H264Context, x) |
#define | VD AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM |
Variables | |
const uint16_t | ff_h264_mb_sizes [4] = { 256, 384, 512, 768 } |
static AVOnce | h264_vlc_init = AV_ONCE_INIT |
static const AVOption | h264_options [] |
static const AVClass | h264_class |
AVCodec | ff_h264_decoder |
H.264 / AVC / MPEG-4 part10 codec.
Definition in file h264dec.c.
#define OFFSET | ( | x | ) | offsetof(H264Context, x) |
#define VD AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM |
int avpriv_h264_has_num_reorder_frames | ( | AVCodecContext * | avctx | ) |
Definition at line 61 of file h264dec.c.
Referenced by has_decode_delay_been_guessed().
|
static |
Definition at line 67 of file h264dec.c.
Referenced by ff_h264_slice_context_init().
void ff_h264_draw_horiz_band | ( | const H264Context * | h, |
H264SliceContext * | sl, | ||
int | y, | ||
int | height | ||
) |
Definition at line 103 of file h264dec.c.
Referenced by decode_finish_row(), dxva2_h264_end_frame(), vaapi_h264_end_frame(), and vdpau_h264_end_frame().
void ff_h264_free_tables | ( | H264Context * | h | ) |
Definition at line 138 of file h264dec.c.
Referenced by h264_decode_end(), h264_decode_flush(), and h264_slice_header_init().
int ff_h264_alloc_tables | ( | H264Context * | h | ) |
Allocate tables.
needs width/height
Definition at line 181 of file h264dec.c.
Referenced by h264_slice_header_init().
int ff_h264_slice_context_init | ( | H264Context * | h, |
H264SliceContext * | sl | ||
) |
Init context Allocate buffers which are not shared amongst multiple threads.
Definition at line 222 of file h264dec.c.
Referenced by h264_slice_header_init().
|
static |
Definition at line 278 of file h264dec.c.
Referenced by h264_decode_init().
|
static |
|
static |
|
static |
instantaneous decoder refresh.
Definition at line 426 of file h264dec.c.
Referenced by decode_nal_units(), ff_h264_flush_change(), and h264_probe().
void ff_h264_flush_change | ( | H264Context * | h | ) |
Definition at line 439 of file h264dec.c.
Referenced by h264_decode_flush(), h264_decode_init(), and h264_init_ps().
|
static |
|
static |
Definition at line 485 of file h264dec.c.
Referenced by decode_nal_units().
|
static |
Definition at line 527 of file h264dec.c.
Referenced by decode_nal_units().
|
static |
< number of NALs that need decoding before the next frame thread starts
Definition at line 555 of file h264dec.c.
Referenced by h264_decode_frame().
Return the number of bytes consumed for building the current frame.
Definition at line 780 of file h264dec.c.
Referenced by h264_decode_frame().
|
static |
Definition at line 790 of file h264dec.c.
Referenced by output_frame().
|
static |
Definition at line 824 of file h264dec.c.
Referenced by deint_vaapi_filter_frame(), ff_vaapi_vpp_init_params(), ff_vaapi_vpp_render_picture(), filter_frame(), finalize_frame(), load_encode_and_write(), misc_vaapi_filter_frame(), procamp_vaapi_filter_frame(), sbc_synthesize_audio(), sbc_synthesize_eight(), sbc_synthesize_four(), scale_vaapi_filter_frame(), tonemap_vaapi_filter_frame(), transpose_vaapi_filter_frame(), and vaapi_vpp_colour_properties().
Definition at line 850 of file h264dec.c.
Referenced by h264_decode_frame().
|
static |
Definition at line 874 of file h264dec.c.
Referenced by h264_decode_frame(), and send_next_delayed_frame().
|
static |
Definition at line 924 of file h264dec.c.
Referenced by h264_decode_frame().
|
static |
const uint16_t ff_h264_mb_sizes[4] = { 256, 384, 512, 768 } |
Definition at line 59 of file h264dec.c.
Referenced by ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), and hl_decode_mb().
|
static |
Definition at line 362 of file h264dec.c.
Referenced by h264_decode_init().
|
static |
|
static |