FFmpeg
|
#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "libavutil/mem.h"
#include "libavutil/pixdesc.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "mpegpicture.h"
#include "refstruct.h"
Go to the source code of this file.
Macros | |
#define | EMU_EDGE_HEIGHT (4 * 70) |
#define | GET_BUFFER(name, buf_suffix, idx_suffix) |
#define EMU_EDGE_HEIGHT (4 * 70) |
#define GET_BUFFER | ( | name, | |
buf_suffix, | |||
idx_suffix | |||
) |
|
static |
Definition at line 31 of file mpegpicture.c.
Referenced by ff_mpv_alloc_pic_pool().
|
static |
Definition at line 67 of file mpegpicture.c.
Referenced by ff_mpv_alloc_pic_pool().
|
static |
Definition at line 82 of file mpegpicture.c.
Referenced by ff_mpv_alloc_pic_pool().
av_cold FFRefStructPool* ff_mpv_alloc_pic_pool | ( | int | init_progress | ) |
Allocate a pool of MPVPictures.
Definition at line 90 of file mpegpicture.c.
Referenced by ff_mpv_decode_init(), and ff_mpv_encode_init().
void ff_mpv_unref_picture | ( | MPVWorkPicture * | pic | ) |
Definition at line 98 of file mpegpicture.c.
Referenced by alloc_picture(), ff_h263_decode_frame(), ff_mpeg_flush(), ff_mpv_common_end(), ff_mpv_common_frame_size_change(), ff_mpv_encode_picture(), ff_mpv_frame_start(), ff_rv34_decode_frame(), mpeg_decode_frame(), rv10_decode_frame(), select_input_picture(), and vc1_decode_frame().
|
static |
Definition at line 104 of file mpegpicture.c.
Referenced by ff_mpv_alloc_pic_accessories(), and ff_mpv_workpic_from_pic().
void ff_mpv_replace_picture | ( | MPVWorkPicture * | dst, |
const MPVWorkPicture * | src | ||
) |
Definition at line 121 of file mpegpicture.c.
Referenced by ff_mpeg_update_thread_context(), and frame_start().
void ff_mpv_workpic_from_pic | ( | MPVWorkPicture * | wpic, |
MPVPicture * | pic | ||
) |
Definition at line 128 of file mpegpicture.c.
Referenced by ff_mpv_frame_start().
int ff_mpv_framesize_alloc | ( | AVCodecContext * | avctx, |
ScratchpadContext * | sc, | ||
int | linesize | ||
) |
Definition at line 138 of file mpegpicture.c.
Referenced by ff_mpv_alloc_pic_accessories(), and ff_update_duplicate_context().
int ff_mpv_pic_check_linesize | ( | void * | logctx, |
const AVFrame * | f, | ||
ptrdiff_t * | linesizep, | ||
ptrdiff_t * | uvlinesizep | ||
) |
Definition at line 181 of file mpegpicture.c.
Referenced by alloc_picture(), and prepare_picture().
|
static |
Definition at line 206 of file mpegpicture.c.
Referenced by ff_mpv_alloc_pic_accessories().
int ff_mpv_alloc_pic_accessories | ( | AVCodecContext * | avctx, |
MPVWorkPicture * | wpic, | ||
ScratchpadContext * | sc, | ||
BufferPoolContext * | pools, | ||
int | mb_height | ||
) |
Allocate an MPVPicture's accessories (but not the AVFrame's buffer itself) and set the MPVWorkPicture's fields.
Definition at line 237 of file mpegpicture.c.
Referenced by alloc_picture(), and select_input_picture().