FFmpeg
|
#include <stdint.h>
#include <stdatomic.h>
#include "avcodec.h"
#include "me_cmp.h"
#include "thread.h"
Go to the source code of this file.
Data Structures | |
struct | ERPicture |
struct | ERContext |
Macros | |
#define | VP_START 1 |
< current MB is the first after a resync marker More... | |
#define | ER_AC_ERROR 2 |
#define | ER_DC_ERROR 4 |
#define | ER_MV_ERROR 8 |
#define | ER_AC_END 16 |
#define | ER_DC_END 32 |
#define | ER_MV_END 64 |
#define | ER_MB_ERROR (ER_AC_ERROR|ER_DC_ERROR|ER_MV_ERROR) |
#define | ER_MB_END (ER_AC_END|ER_DC_END|ER_MV_END) |
Functions | |
void | ff_er_frame_start (ERContext *s) |
void | ff_er_frame_end (ERContext *s) |
void | ff_er_add_slice (ERContext *s, int startx, int starty, int endx, int endy, int status) |
Add a slice. More... | |
#define VP_START 1 |
< current MB is the first after a resync marker
Definition at line 30 of file error_resilience.h.
Referenced by decode_slice(), ff_er_add_slice(), ff_er_frame_end(), and ff_er_frame_start().
#define ER_AC_ERROR 2 |
Definition at line 31 of file error_resilience.h.
Referenced by decode_chunks(), decode_slice(), ff_er_add_slice(), ff_er_frame_end(), and slice_decode_thread().
#define ER_DC_ERROR 4 |
Definition at line 32 of file error_resilience.h.
Referenced by decode_chunks(), ff_er_add_slice(), ff_er_frame_end(), ff_mpeg4_decode_partitions(), guess_dc(), is_intra_more_likely(), and slice_decode_thread().
#define ER_MV_ERROR 8 |
Definition at line 33 of file error_resilience.h.
Referenced by decode_chunks(), ff_er_add_slice(), ff_er_frame_end(), ff_mpeg4_decode_partitions(), guess_mv(), is_intra_more_likely(), and slice_decode_thread().
#define ER_AC_END 16 |
Definition at line 34 of file error_resilience.h.
Referenced by decode_chunks(), decode_slice(), ff_er_add_slice(), ff_er_frame_end(), and slice_decode_thread().
#define ER_DC_END 32 |
Definition at line 35 of file error_resilience.h.
Referenced by decode_chunks(), decode_slice(), ff_er_add_slice(), ff_er_frame_end(), ff_mpeg4_decode_partitions(), and slice_decode_thread().
#define ER_MV_END 64 |
Definition at line 36 of file error_resilience.h.
Referenced by decode_chunks(), decode_slice(), ff_er_add_slice(), ff_er_frame_end(), ff_mpeg4_decode_partitions(), and slice_decode_thread().
#define ER_MB_ERROR (ER_AC_ERROR|ER_DC_ERROR|ER_MV_ERROR) |
Definition at line 38 of file error_resilience.h.
Referenced by decode_slice(), ff_er_add_slice(), ff_er_frame_end(), ff_er_frame_start(), ff_h263_decode_frame(), h_block_filter(), rv34_decode_slice(), v_block_filter(), vc1_decode_b_blocks(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), and vc1_decode_p_blocks().
Definition at line 39 of file error_resilience.h.
Referenced by decode_slice(), ff_er_frame_end(), ff_er_frame_start(), ff_vc1_decode_blocks(), ff_wmv2_decode_secondary_picture_header(), rv10_decode_packet(), rv34_decode_slice(), vc1_decode_b_blocks(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), vc1_decode_p_blocks(), and vc1_decode_skip_blocks().
Definition at line 797 of file error_resilience.c.
Referenced by ff_mpeg_er_frame_start(), and h264_frame_start().
Definition at line 901 of file error_resilience.c.
Referenced by decode_nal_units(), decode_wmv9(), ff_h263_decode_frame(), ff_rv34_decode_frame(), finish_frame(), rv10_decode_frame(), rv10_decode_packet(), slice_end(), and vc1_decode_frame().
Add a slice.
endx | x component of the last macroblock, can be -1 for the last of the previous line |
status | the status at the end (ER_MV_END, ER_AC_ERROR, ...), it is assumed that no earlier end or error of the same type occurred |
Definition at line 831 of file error_resilience.c.
Referenced by decode_chunks(), decode_slice(), er_add_slice(), ff_mpeg4_decode_partitions(), ff_vc1_decode_blocks(), ff_wmv2_decode_secondary_picture_header(), rv10_decode_packet(), rv34_decode_slice(), slice_decode_thread(), vc1_decode_b_blocks(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), vc1_decode_p_blocks(), and vc1_decode_skip_blocks().