|
FFmpeg
|
The simplest mpeg encoder (well, it was the simplest!). More...
#include "libavutil/attributes.h"#include "libavutil/avassert.h"#include "libavutil/imgutils.h"#include "libavutil/internal.h"#include "libavutil/motion_vector.h"#include "libavutil/timer.h"#include "avcodec.h"#include "blockdsp.h"#include "h264chroma.h"#include "idctdsp.h"#include "internal.h"#include "mathops.h"#include "mpeg_er.h"#include "mpegutils.h"#include "mpegvideo.h"#include "mpegvideodata.h"#include "mjpegenc.h"#include "msmpeg4.h"#include "qpeldsp.h"#include "thread.h"#include "wmv2.h"#include <limits.h>Macros | |
| #define | COPY(a) bak->a = src->a |
| #define | UPDATE_PICTURE(pic) |
| #define | REBASE_PICTURE(pic, new_ctx, old_ctx) |
Functions | |
| av_cold void | ff_mpv_idct_init (MpegEncContext *s) |
| int | ff_update_duplicate_context (MpegEncContext *dst, MpegEncContext *src) |
| int | ff_mpeg_update_thread_context (AVCodecContext *dst, const AVCodecContext *src) |
| void | ff_mpv_common_defaults (MpegEncContext *s) |
| Set the given MpegEncContext to common defaults (same for encoding and decoding). More... | |
| void | ff_mpv_decode_defaults (MpegEncContext *s) |
| Set the given MpegEncContext to defaults for decoding. More... | |
| void | ff_mpv_decode_init (MpegEncContext *s, AVCodecContext *avctx) |
| av_cold int | ff_mpv_common_init (MpegEncContext *s) |
| init common structure for both encoder and decoder. More... | |
| int | ff_mpv_common_frame_size_change (MpegEncContext *s) |
| void | ff_mpv_common_end (MpegEncContext *s) |
| int | ff_mpv_frame_start (MpegEncContext *s, AVCodecContext *avctx) |
| generic function called after decoding the header and before a frame is decoded. | |
| void | ff_mpv_frame_end (MpegEncContext *s) |
| void | ff_print_debug_info (MpegEncContext *s, Picture *p, AVFrame *pict) |
| int | ff_mpv_export_qp_table (MpegEncContext *s, AVFrame *f, Picture *p, int qp_type) |
| void | ff_clean_intra_table_entries (MpegEncContext *s) |
| Clean dc, ac, coded_block for the current non-intra MB. | |
| void | ff_mpv_reconstruct_mb (MpegEncContext *s, int16_t block[12][64]) |
| void | ff_mpeg_draw_horiz_band (MpegEncContext *s, int y, int h) |
| void | ff_init_block_index (MpegEncContext *s) |
| void | ff_mpeg_flush (AVCodecContext *avctx) |
| void | ff_set_qscale (MpegEncContext *s, int qscale) |
| set qscale and update qscale dependent variables. | |
| void | ff_mpv_report_decode_progress (MpegEncContext *s) |
The simplest mpeg encoder (well, it was the simplest!).
| #define REBASE_PICTURE | ( | pic, | |
| new_ctx, | |||
| old_ctx | |||
| ) |
| #define UPDATE_PICTURE | ( | pic | ) |
| void ff_mpv_common_defaults | ( | MpegEncContext * | s | ) |
Set the given MpegEncContext to common defaults (same for encoding and decoding).
The changed fields will not depend upon the prior state of the MpegEncContext.
| av_cold int ff_mpv_common_init | ( | MpegEncContext * | s | ) |
init common structure for both encoder and decoder.
this assumes that some variables like width/height are already set
| void ff_mpv_decode_defaults | ( | MpegEncContext * | s | ) |
Set the given MpegEncContext to defaults for decoding.
the changed fields will not depend upon the prior state of the MpegEncContext.
1.8.12