FFmpeg
|
#include <inttypes.h>
#include "libavutil/avassert.h"
#include "libavutil/thread.h"
#include "avcodec.h"
#include "bytestream.h"
#include "bswapdsp.h"
#include "get_bits.h"
#include "golomb.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | BlockXY |
struct | MotionXY |
struct | MobiClipContext |
Macros | |
#define | MOBI_RL_VLC_BITS 12 |
#define | MOBI_MV_VLC_BITS 6 |
Functions | |
static av_cold void | mobiclip_init_static (void) |
static av_cold int | mobiclip_init (AVCodecContext *avctx) |
static int | setup_qtables (AVCodecContext *avctx, int quantizer) |
static void | inverse4 (unsigned *rs) |
static void | idct (int *arr, int size) |
static void | read_run_encoding (AVCodecContext *avctx, int *last, int *run, int *level) |
static int | add_coefficients (AVCodecContext *avctx, AVFrame *frame, int bx, int by, int size, int plane) |
static int | add_pframe_coefficients (AVCodecContext *avctx, AVFrame *frame, int bx, int by, int size, int plane) |
static int | adjust (int x, int size) |
static uint8_t | pget (BlockXY b) |
static uint8_t | half (int a, int b) |
static uint8_t | half3 (int a, int b, int c) |
static uint8_t | pick_above (BlockXY bxy) |
static uint8_t | pick_left (BlockXY bxy) |
static uint8_t | half_horz (BlockXY bxy) |
static uint8_t | half_vert (BlockXY bxy) |
static uint8_t | pick_4 (BlockXY bxy) |
static uint8_t | pick_5 (BlockXY bxy) |
static uint8_t | pick_6 (BlockXY bxy) |
static uint8_t | pick_7 (BlockXY bxy) |
static uint8_t | pick_8 (BlockXY bxy) |
static void | block_fill_simple (uint8_t *block, int size, int linesize, int fill) |
static void | block_fill (uint8_t *block, int size, int linesize, int w, int h, int ax, int ay, uint8_t(*pick)(BlockXY bxy)) |
static int | block_sum (const uint8_t *block, int w, int h, int linesize) |
static int | predict_intra (AVCodecContext *avctx, AVFrame *frame, int ax, int ay, int pmode, int add_coeffs, int size, int plane) |
static int | get_prediction (AVCodecContext *avctx, int x, int y, int size) |
static int | process_block (AVCodecContext *avctx, AVFrame *frame, int x, int y, int pmode, int has_coeffs, int plane) |
static int | decode_macroblock (AVCodecContext *avctx, AVFrame *frame, int x, int y, int predict) |
static int | get_index (int x) |
static int | predict_motion (AVCodecContext *avctx, int width, int height, int index, int offsetm, int offsetx, int offsety) |
static int | mobiclip_decode (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *pkt) |
static void | mobiclip_flush (AVCodecContext *avctx) |
static av_cold int | mobiclip_close (AVCodecContext *avctx) |
Variables | |
static const uint8_t | zigzag4x4_tab [] |
static const uint8_t | quant4x4_tab [][16] |
static const uint8_t | quant8x8_tab [][64] |
static const uint8_t | block4x4_coefficients_tab [] |
static const uint8_t | pframe_block4x4_coefficients_tab [] |
static const uint8_t | block8x8_coefficients_tab [] |
static const uint8_t | pframe_block8x8_coefficients_tab [] |
static const uint8_t | run_residue [2][256] |
static const uint8_t | bits0 [] |
static const uint16_t | syms0 [] |
static const uint16_t | syms1 [] |
static const uint8_t | mv_len [16] |
static const uint8_t | mv_bits [2][16][10] |
static const uint8_t | mv_syms [2][16][10] |
static VLC | rl_vlc [2] |
static VLC | mv_vlc [2][16] |
const AVCodec | ff_mobiclip_decoder |
#define MOBI_RL_VLC_BITS 12 |
Definition at line 36 of file mobiclip.c.
#define MOBI_MV_VLC_BITS 6 |
Definition at line 37 of file mobiclip.c.
|
static |
Definition at line 279 of file mobiclip.c.
Referenced by mobiclip_init().
|
static |
Definition at line 302 of file mobiclip.c.
|
static |
Definition at line 332 of file mobiclip.c.
Referenced by mobiclip_decode().
|
static |
Definition at line 357 of file mobiclip.c.
Referenced by idct().
Definition at line 370 of file mobiclip.c.
Referenced by add_coefficients().
|
static |
Definition at line 407 of file mobiclip.c.
Referenced by add_coefficients().
|
static |
Definition at line 420 of file mobiclip.c.
Referenced by add_pframe_coefficients(), and predict_intra().
|
static |
Definition at line 486 of file mobiclip.c.
Referenced by mobiclip_decode().
Definition at line 514 of file mobiclip.c.
Referenced by comp_adjust(), fir_to_phase(), init_gaussian_filter(), libopenjpeg_copy_to_packed16(), libopenjpeg_copyto16(), and predict_intra().
|
static |
Definition at line 519 of file mobiclip.c.
Referenced by half_horz(), half_vert(), pick_4(), pick_5(), pick_6(), pick_7(), pick_8(), pick_above(), and pick_left().
Definition at line 540 of file mobiclip.c.
Referenced by avg_pixels16_l2_8_lsx(), avg_pixels8_l2_8_lsx(), clear_slice16(), clear_slice8(), combine_fft(), do_hsvhold16_slice(), do_hsvkey_pixel(), ff_avg_h264_qpel16_mc01_lasx(), ff_avg_h264_qpel16_mc01_mmi(), ff_avg_h264_qpel16_mc03_lasx(), ff_avg_h264_qpel16_mc03_mmi(), ff_avg_h264_qpel16_mc10_lasx(), ff_avg_h264_qpel16_mc10_mmi(), ff_avg_h264_qpel16_mc30_lasx(), ff_avg_h264_qpel16_mc30_mmi(), ff_avg_h264_qpel4_mc01_mmi(), ff_avg_h264_qpel4_mc03_mmi(), ff_avg_h264_qpel4_mc10_mmi(), ff_avg_h264_qpel4_mc30_mmi(), ff_avg_h264_qpel8_mc01_mmi(), ff_avg_h264_qpel8_mc03_mmi(), ff_avg_h264_qpel8_mc10_lasx(), ff_avg_h264_qpel8_mc10_mmi(), ff_avg_h264_qpel8_mc30_lasx(), ff_avg_h264_qpel8_mc30_mmi(), ff_put_h264_qpel16_mc01_lasx(), ff_put_h264_qpel16_mc01_mmi(), ff_put_h264_qpel16_mc03_lasx(), ff_put_h264_qpel16_mc03_mmi(), ff_put_h264_qpel16_mc10_lasx(), ff_put_h264_qpel16_mc10_mmi(), ff_put_h264_qpel16_mc30_lasx(), ff_put_h264_qpel16_mc30_mmi(), ff_put_h264_qpel4_mc01_mmi(), ff_put_h264_qpel4_mc03_mmi(), ff_put_h264_qpel4_mc10_mmi(), ff_put_h264_qpel4_mc30_mmi(), ff_put_h264_qpel8_mc01_lasx(), ff_put_h264_qpel8_mc01_mmi(), ff_put_h264_qpel8_mc03_lasx(), ff_put_h264_qpel8_mc03_mmi(), ff_put_h264_qpel8_mc10_lasx(), ff_put_h264_qpel8_mc10_mmi(), ff_put_h264_qpel8_mc30_lasx(), ff_put_h264_qpel8_mc30_mmi(), fill_ltable(), init(), init_axis_color(), maskedmerge16(), pick_4(), pick_5(), pick_6(), pick_8(), premultiply16(), premultiply16offset(), premultiply16yuv(), put_mspel8_mc10_c(), put_mspel8_mc30_c(), put_pixels16_l2_8_lsx(), put_pixels8_l2_8_lsx(), subtract_mean_new(), subtract_mean_old(), transform(), and unpremultiply16yuv().
Definition at line 545 of file mobiclip.c.
Referenced by half_horz(), half_vert(), and pick_7().
|
static |
Definition at line 550 of file mobiclip.c.
Referenced by predict_intra().
|
static |
Definition at line 557 of file mobiclip.c.
Referenced by predict_intra().
|
static |
Definition at line 564 of file mobiclip.c.
|
static |
Definition at line 574 of file mobiclip.c.
Referenced by mm_decode_inter(), mm_decode_intra(), pick_4(), pick_5(), and pick_6().
|
static |
Definition at line 584 of file mobiclip.c.
Referenced by predict_intra().
|
static |
Definition at line 615 of file mobiclip.c.
Referenced by predict_intra().
|
static |
Definition at line 655 of file mobiclip.c.
Referenced by predict_intra().
|
static |
Definition at line 695 of file mobiclip.c.
Referenced by predict_intra().
|
static |
Definition at line 727 of file mobiclip.c.
Referenced by predict_intra().
Definition at line 778 of file mobiclip.c.
Referenced by predict_intra().
|
static |
Definition at line 786 of file mobiclip.c.
Referenced by predict_intra().
Definition at line 814 of file mobiclip.c.
Referenced by encode_block(), and predict_intra().
|
static |
Definition at line 828 of file mobiclip.c.
Referenced by decode_macroblock(), and process_block().
|
static |
Definition at line 928 of file mobiclip.c.
Referenced by process_block().
|
static |
Definition at line 950 of file mobiclip.c.
Referenced by decode_macroblock().
|
static |
Definition at line 991 of file mobiclip.c.
Referenced by mobiclip_decode().
Definition at line 1071 of file mobiclip.c.
Referenced by predict_motion().
|
static |
Definition at line 1076 of file mobiclip.c.
Referenced by mobiclip_decode().
|
static |
Definition at line 1210 of file mobiclip.c.
|
static |
Definition at line 1318 of file mobiclip.c.
|
static |
Definition at line 1326 of file mobiclip.c.
|
static |
Definition at line 39 of file mobiclip.c.
Referenced by add_coefficients().
|
static |
Definition at line 45 of file mobiclip.c.
Referenced by setup_qtables().
|
static |
Definition at line 55 of file mobiclip.c.
Referenced by setup_qtables().
|
static |
Definition at line 71 of file mobiclip.c.
Referenced by process_block().
|
static |
Definition at line 76 of file mobiclip.c.
Referenced by add_pframe_coefficients().
|
static |
Definition at line 81 of file mobiclip.c.
Referenced by decode_macroblock().
|
static |
Definition at line 91 of file mobiclip.c.
Referenced by mobiclip_decode().
|
static |
Definition at line 99 of file mobiclip.c.
Referenced by add_coefficients().
|
static |
Definition at line 123 of file mobiclip.c.
Referenced by mobiclip_init_static().
|
static |
Definition at line 133 of file mobiclip.c.
Referenced by mobiclip_init_static().
|
static |
Definition at line 146 of file mobiclip.c.
Referenced by mobiclip_init_static().
|
static |
Definition at line 157 of file mobiclip.c.
Referenced by mobiclip_init_static().
|
static |
Definition at line 162 of file mobiclip.c.
Referenced by merge_context_after_encode(), and mobiclip_init_static().
|
static |
Definition at line 202 of file mobiclip.c.
Referenced by clv_init_static(), and mobiclip_init_static().
|
static |
Definition at line 276 of file mobiclip.c.
Referenced by ff_msmpeg4_decode_block(), ff_msmpeg4_decode_init(), mobiclip_init_static(), mpeg4_decode_block(), and read_run_encoding().
|
static |
Definition at line 277 of file mobiclip.c.
Referenced by mobiclip_decode(), mobiclip_init_static(), and predict_motion().
const AVCodec ff_mobiclip_decoder |
Definition at line 1342 of file mobiclip.c.