#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "mp_msg.h"
#include "libavutil/avutil.h"
#include "libavutil/avassert.h"
Go to the source code of this file.
#define ASMALIGN | ( | ZEROBITS | ) | ".p2align " #ZEROBITS "\n\t" |
Definition at line 37 of file mp_image.h.
Referenced by affine_1d_MMX(), column_fidct_mmx(), lineNoise_MMX(), lineNoiseAvg_MMX(), pack_nn_MMX(), and process_MMX().
#define CODEC_FLAG2_MEMC_ONLY 0x00001000 |
Only do ME/MC (I frames -> ref, P frame -> ME+MC).
Definition at line 38 of file mp_image.h.
Referenced by config().
#define MP_IMGFIELD_BOTTOM 0x10 |
Definition at line 113 of file mp_image.h.
#define MP_IMGFIELD_INTERLACED 0x20 |
Definition at line 114 of file mp_image.h.
#define MP_IMGFIELD_ORDERED 0x01 |
#define MP_IMGFIELD_REPEAT_FIRST 0x04 |
#define MP_IMGFIELD_TOP 0x08 |
Definition at line 112 of file mp_image.h.
#define MP_IMGFIELD_TOP_FIRST 0x02 |
#define MP_IMGFLAG_ACCEPT_ALIGNED_STRIDE 0x4 |
#define MP_IMGFLAG_ACCEPT_STRIDE 0x10 |
#define MP_IMGFLAG_ACCEPT_WIDTH 0x20 |
Definition at line 56 of file mp_image.h.
#define MP_IMGFLAG_ALLOCATED 0x4000 |
Definition at line 84 of file mp_image.h.
Referenced by free_mp_image(), mp_image_alloc_planes(), and vf_get_image().
#define MP_IMGFLAG_COMMON_PLANE 0x80 |
Definition at line 61 of file mp_image.h.
#define MP_IMGFLAG_COMMON_STRIDE 0x40 |
Definition at line 59 of file mp_image.h.
#define MP_IMGFLAG_DIRECT 0x2000 |
Definition at line 82 of file mp_image.h.
Referenced by get_image(), put_image(), and vf_get_image().
#define MP_IMGFLAG_DRAW_CALLBACK 0x1000 |
#define MP_IMGFLAG_PLANAR 0x100 |
Definition at line 67 of file mp_image.h.
Referenced by config(), copy_image(), copy_merge_fields(), copy_mpi(), diff_fields(), diff_to_drop(), get_image(), imgop(), init(), init_pullup(), mp_image_alloc_planes(), mp_image_setfmt(), put_image(), vf_get_image(), vf_mpi_clear(), and vf_next_draw_slice().
#define MP_IMGFLAG_PREFER_ALIGNED_STRIDE 0x8 |
#define MP_IMGFLAG_PRESERVE 0x01 |
Definition at line 44 of file mp_image.h.
Referenced by end_frame(), get_image(), put_image(), and vf_next_put_image().
#define MP_IMGFLAG_READABLE 0x02 |
Definition at line 46 of file mp_image.h.
Referenced by end_frame(), get_image(), put_image(), and vf_get_image().
#define MP_IMGFLAG_RGB_PALETTE 0x800 |
Definition at line 73 of file mp_image.h.
Referenced by free_mp_image(), mp_image_alloc_planes(), and vf_get_image().
#define MP_IMGFLAG_SWAPPED 0x400 |
Definition at line 71 of file mp_image.h.
Referenced by mp_image_alloc_planes(), mp_image_setfmt(), vf_get_image(), and vf_mpi_clear().
#define MP_IMGFLAG_TYPE_DISPLAYED 0x8000 |
#define MP_IMGFLAG_YUV 0x200 |
Definition at line 69 of file mp_image.h.
Referenced by mp_image_setfmt(), put_image(), vf_get_image(), and vf_mpi_clear().
#define MP_IMGFLAGMASK_COLORS 0xF00 |
#define MP_IMGFLAGMASK_RESTRICTIONS 0xFF |
#define MP_IMGTYPE_EXPORT 0 |
#define MP_IMGTYPE_INCOMPLETE 6 |
Definition at line 105 of file mp_image.h.
#define MP_IMGTYPE_IP 3 |
#define MP_IMGTYPE_IPB 4 |
#define MP_IMGTYPE_NUMBERED 5 |
#define MP_IMGTYPE_STATIC 1 |
Definition at line 93 of file mp_image.h.
Referenced by get_image(), put_image(), and vf_get_image().
#define MP_IMGTYPE_TEMP 2 |
Definition at line 95 of file mp_image.h.
Referenced by config(), get_image(), put_image(), and vf_get_image().
#define MP_MAX_PLANES 4 |
typedef struct mp_image mp_image_t |
mp_image_t* alloc_mpi | ( | int | w, | |
int | h, | |||
unsigned long int | fmt | |||
) |
Definition at line 74 of file mp_image.c.
void copy_mpi | ( | mp_image_t * | dmpi, | |
mp_image_t * | mpi | |||
) |
Definition at line 83 of file mp_image.c.
void free_mp_image | ( | mp_image_t * | mpi | ) |
void mp_image_alloc_planes | ( | mp_image_t * | mpi | ) |
void mp_image_setfmt | ( | mp_image_t * | mpi, | |
unsigned int | out_fmt | |||
) |
Definition at line 98 of file mp_image.c.
Referenced by alloc_mpi(), end_frame(), and vf_get_image().
mp_image_t* new_mp_image | ( | int | w, | |
int | h | |||
) |
Definition at line 181 of file mp_image.c.
Referenced by alloc_mpi(), end_frame(), and vf_get_image().