misc image conversion routines More...
#include "avcodec.h"#include "dsputil.h"#include "internal.h"#include "libavutil/colorspace.h"#include "libavutil/common.h"#include "libavutil/pixdesc.h"#include "libavutil/imgutils.h"Go to the source code of this file.
Macros | |
| #define | deinterlace_line_inplace deinterlace_line_inplace_c |
| #define | deinterlace_line deinterlace_line_c |
Functions | |
| void | avcodec_get_chroma_sub_sample (enum AVPixelFormat pix_fmt, int *h_shift, int *v_shift) |
| static int | is_gray (const AVPixFmtDescriptor *desc) |
| int | avcodec_get_pix_fmt_loss (enum AVPixelFormat dst_pix_fmt, enum AVPixelFormat src_pix_fmt, int has_alpha) |
| Compute what kind of losses will occur when converting from one specific pixel format to another. More... | |
| static enum AVPixelFormat | avcodec_find_best_pix_fmt1 (enum AVPixelFormat *pix_fmt_list, enum AVPixelFormat src_pix_fmt, int has_alpha, int loss_mask) |
| enum AVPixelFormat | avcodec_find_best_pix_fmt2 (enum AVPixelFormat *pix_fmt_list, enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr) |
| Find the best pixel format to convert to given a certain source pixel format. More... | |
| void | ff_shrink22 (uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height) |
| void | ff_shrink44 (uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height) |
| void | ff_shrink88 (uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height) |
| static int | is_yuv_planar (const AVPixFmtDescriptor *desc) |
| int | av_picture_crop (AVPicture *dst, const AVPicture *src, enum AVPixelFormat pix_fmt, int top_band, int left_band) |
| Crop image top and left side. More... | |
| int | av_picture_pad (AVPicture *dst, const AVPicture *src, int height, int width, enum AVPixelFormat pix_fmt, int padtop, int padbottom, int padleft, int padright, int *color) |
| Pad image. More... | |
| static void | deinterlace_line_c (uint8_t *dst, const uint8_t *lum_m4, const uint8_t *lum_m3, const uint8_t *lum_m2, const uint8_t *lum_m1, const uint8_t *lum, int size) |
| static void | deinterlace_line_inplace_c (uint8_t *lum_m4, uint8_t *lum_m3, uint8_t *lum_m2, uint8_t *lum_m1, uint8_t *lum, int size) |
| static void | deinterlace_bottom_field (uint8_t *dst, int dst_wrap, const uint8_t *src1, int src_wrap, int width, int height) |
| static void | deinterlace_bottom_field_inplace (uint8_t *src1, int src_wrap, int width, int height) |
| int | avpicture_deinterlace (AVPicture *dst, const AVPicture *src, enum AVPixelFormat pix_fmt, int width, int height) |
| deinterlace - if not supported return -1 More... | |
misc image conversion routines
Definition in file imgconvert.c.
| #define deinterlace_line deinterlace_line_c |
Definition at line 50 of file imgconvert.c.
Referenced by deinterlace_bottom_field().
| #define deinterlace_line_inplace deinterlace_line_inplace_c |
Definition at line 49 of file imgconvert.c.
Referenced by deinterlace_bottom_field_inplace().
|
static |
Definition at line 105 of file imgconvert.c.
Referenced by avcodec_find_best_pix_fmt2().
|
static |
Definition at line 422 of file imgconvert.c.
Referenced by avpicture_deinterlace().
|
static |
Definition at line 451 of file imgconvert.c.
Referenced by avpicture_deinterlace().
|
static |
Definition at line 370 of file imgconvert.c.
|
static |
Definition at line 395 of file imgconvert.c.
| void ff_shrink22 | ( | uint8_t * | dst, |
| int | dst_wrap, | ||
| const uint8_t * | src, | ||
| int | src_wrap, | ||
| int | width, | ||
| int | height | ||
| ) |
Definition at line 192 of file imgconvert.c.
Referenced by ff_dsputil_init().
| void ff_shrink44 | ( | uint8_t * | dst, |
| int | dst_wrap, | ||
| const uint8_t * | src, | ||
| int | src_wrap, | ||
| int | width, | ||
| int | height | ||
| ) |
Definition at line 225 of file imgconvert.c.
Referenced by ff_dsputil_init().
| void ff_shrink88 | ( | uint8_t * | dst, |
| int | dst_wrap, | ||
| const uint8_t * | src, | ||
| int | src_wrap, | ||
| int | width, | ||
| int | height | ||
| ) |
Definition at line 256 of file imgconvert.c.
Referenced by ff_dsputil_init().
|
static |
Definition at line 60 of file imgconvert.c.
Referenced by avcodec_get_pix_fmt_loss().
|
inlinestatic |
Definition at line 278 of file imgconvert.c.
Referenced by av_picture_crop(), and av_picture_pad().