FFmpeg
Macros | Functions
input.c File Reference
#include <math.h>
#include <stdint.h>
#include <stdio.h>
#include "libavutil/bswap.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/avassert.h"
#include "config.h"
#include "swscale_internal.h"

Go to the source code of this file.

Macros

#define input_pixel(pos)   (is_be ? AV_RB16(pos) : AV_RL16(pos))
 
#define IS_BE_LE   0
 
#define IS_BE_BE   1
 
#define IS_BE_   0
 
#define IS_BE(ENDIAN_IDENTIFIER)   IS_BE_ ## ENDIAN_IDENTIFIER
 
#define r   ((origin == AV_PIX_FMT_BGR48BE || origin == AV_PIX_FMT_BGR48LE || origin == AV_PIX_FMT_BGRA64BE || origin == AV_PIX_FMT_BGRA64LE) ? b_r : r_b)
 
#define b   ((origin == AV_PIX_FMT_BGR48BE || origin == AV_PIX_FMT_BGR48LE || origin == AV_PIX_FMT_BGRA64BE || origin == AV_PIX_FMT_BGRA64LE) ? r_b : b_r)
 
#define RGB64FUNCS_EXT(pattern, BE_LE, origin, is_be)
 
#define RGB64FUNCS(pattern, endianness, base_fmt)   RGB64FUNCS_EXT(pattern, endianness, base_fmt ## endianness, IS_BE(endianness))
 
#define RGB48FUNCS_EXT(pattern, BE_LE, origin, is_be)
 
#define RGB48FUNCS(pattern, endianness, base_fmt)   RGB48FUNCS_EXT(pattern, endianness, base_fmt ## endianness, IS_BE(endianness))
 
#define input_pixel(i)
 
#define RGB16_32FUNCS_EXT(fmt, name, shr, shg, shb, shp, maskr, maskg, maskb, rsh, gsh, bsh, S, is_be)
 
#define RGB16_32FUNCS(base_fmt, endianness, name, shr, shg, shb, shp, maskr, maskg, maskb, rsh, gsh, bsh, S)
 
#define y21xle_wrapper(bits, shift)
 
#define ayuv64_UV_funcs(pixfmt, U, V)
 
#define p01x_uv_wrapper(bits, shift)
 
#define p01x_wrapper(bits, shift)
 
#define rdpx(src)   (is_be ? AV_RB16(src) : AV_RL16(src))
 
#define rdpx(src)   (is_be ? av_int2float(AV_RB32(src)): av_int2float(AV_RL32(src)))
 
#define rgb9plus_planar_funcs_endian(nbits, endian_name, endian)
 
#define rgb9plus_planar_transparency_funcs(nbits)
 
#define rgb9plus_planar_funcs(nbits)
 
#define rgbf32_funcs_endian(endian_name, endian)
 
#define rdpx(src)   av_int2float(half2float(is_be ? AV_RB16(&src) : AV_RL16(&src), h2f_tbl))
 
#define rgbaf16_funcs_endian(endian_name, endian)
 

Functions

static av_always_inline void rgb64ToY_c_template (uint16_t *dst, const uint16_t *src, int width, enum AVPixelFormat origin, int32_t *rgb2yuv, int is_be)
 
static av_always_inline void rgb64ToUV_c_template (uint16_t *dstU, uint16_t *dstV, const uint16_t *src1, const uint16_t *src2, int width, enum AVPixelFormat origin, int32_t *rgb2yuv, int is_be)
 
static av_always_inline void rgb64ToUV_half_c_template (uint16_t *dstU, uint16_t *dstV, const uint16_t *src1, const uint16_t *src2, int width, enum AVPixelFormat origin, int32_t *rgb2yuv, int is_be)
 
static av_always_inline void rgb48ToY_c_template (uint16_t *dst, const uint16_t *src, int width, enum AVPixelFormat origin, int32_t *rgb2yuv, int is_be)
 
static av_always_inline void rgb48ToUV_c_template (uint16_t *dstU, uint16_t *dstV, const uint16_t *src1, const uint16_t *src2, int width, enum AVPixelFormat origin, int32_t *rgb2yuv, int is_be)
 
static av_always_inline void rgb48ToUV_half_c_template (uint16_t *dstU, uint16_t *dstV, const uint16_t *src1, const uint16_t *src2, int width, enum AVPixelFormat origin, int32_t *rgb2yuv, int is_be)
 
static av_always_inline void rgb16_32ToY_c_template (int16_t *dst, const uint8_t *src, int width, enum AVPixelFormat origin, int shr, int shg, int shb, int shp, int maskr, int maskg, int maskb, int rsh, int gsh, int bsh, int S, int32_t *rgb2yuv, int is_be)
 
static av_always_inline void rgb16_32ToUV_c_template (int16_t *dstU, int16_t *dstV, const uint8_t *src, int width, enum AVPixelFormat origin, int shr, int shg, int shb, int shp, int maskr, int maskg, int maskb, int rsh, int gsh, int bsh, int S, int32_t *rgb2yuv, int is_be)
 
static av_always_inline void rgb16_32ToUV_half_c_template (int16_t *dstU, int16_t *dstV, const uint8_t *src, int width, enum AVPixelFormat origin, int shr, int shg, int shb, int shp, int maskr, int maskg, int maskb, int rsh, int gsh, int bsh, int S, int32_t *rgb2yuv, int is_be)
 
static void gbr24pToUV_half_c (uint8_t *_dstU, uint8_t *_dstV, const uint8_t *gsrc, const uint8_t *bsrc, const uint8_t *rsrc, int width, uint32_t *rgb2yuv, void *opq)
 
static void rgba64leToA_c (uint8_t *_dst, const uint8_t *_src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused, void *opq)
 
static void rgba64beToA_c (uint8_t *_dst, const uint8_t *_src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused, void *opq)
 
static void abgrToA_c (uint8_t *_dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused, void *opq)
 
static void rgbaToA_c (uint8_t *_dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused, void *opq)
 
static void palToA_c (uint8_t *_dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *pal, void *opq)
 
static void palToY_c (uint8_t *_dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *pal, void *opq)
 
static void palToUV_c (uint8_t *_dstU, uint8_t *_dstV, const uint8_t *unused0, const uint8_t *src1, const uint8_t *src2, int width, uint32_t *pal, void *opq)
 
static void monowhite2Y_c (uint8_t *_dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused, void *opq)
 
static void monoblack2Y_c (uint8_t *_dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused, void *opq)
 
static void yuy2ToY_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused, void *opq)
 
static void yuy2ToUV_c (uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src1, const uint8_t *src2, int width, uint32_t *unused, void *opq)
 
static void yvy2ToUV_c (uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src1, const uint8_t *src2, int width, uint32_t *unused, void *opq)
 
 y21xle_wrapper (10, 6)
 
static void bswap16UV_c (uint8_t *_dstU, uint8_t *_dstV, const uint8_t *unused0, const uint8_t *_src1, const uint8_t *_src2, int width, uint32_t *unused, void *opq)
 
static void read_ya16le_gray_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused, void *opq)
 
static void read_ya16le_alpha_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused, void *opq)
 
static void read_ya16be_gray_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused, void *opq)
 
static void read_ya16be_alpha_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused, void *opq)
 
static void read_ayuv64le_Y_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused0, const uint8_t *unused1, int width, uint32_t *unused2, void *opq)
 
static void read_ayuv64be_Y_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused0, const uint8_t *unused1, int width, uint32_t *unused2, void *opq)
 
static av_always_inline void ayuv64le_UV_c (uint8_t *dstU, uint8_t *dstV, const uint8_t *src, int width, int u_offset, int v_offset)
 
static av_always_inline void ayuv64be_UV_c (uint8_t *dstU, uint8_t *dstV, const uint8_t *src, int width, int u_offset, int v_offset)
 
 ayuv64_UV_funcs (ayuv64, 4, 6)
 
static void read_ayuv64be_A_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused0, const uint8_t *unused1, int width, uint32_t *unused2, void *opq)
 
static void read_vuyx_UV_c (uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src, const uint8_t *unused1, int width, uint32_t *unused2, void *opq)
 
static void read_vuyx_Y_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused0, const uint8_t *unused1, int width, uint32_t *unused2, void *opq)
 
static void read_vuya_A_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused0, const uint8_t *unused1, int width, uint32_t *unused2, void *opq)
 
static void read_ayuv_UV_c (uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src, const uint8_t *unused1, int width, uint32_t *unused2, void *opq)
 
static void read_ayuv_Y_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused0, const uint8_t *unused1, int width, uint32_t *unused2, void *opq)
 
static void read_ayuv_A_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused0, const uint8_t *unused1, int width, uint32_t *unused2, void *opq)
 
static void read_uyva_UV_c (uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src, const uint8_t *unused1, int width, uint32_t *unused2, void *opq)
 
static void vyuToY_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused0, const uint8_t *unused1, int width, uint32_t *unused2, void *opq)
 
static void vyuToUV_c (uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src, const uint8_t *unused1, int width, uint32_t *unused2, void *opq)
 
static void read_v30xle_Y_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused0, const uint8_t *unused1, int width, uint32_t *unused2, void *opq)
 
static void read_v30xle_UV_c (uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src, const uint8_t *unused1, int width, uint32_t *unused2, void *opq)
 
static void read_xv30le_Y_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused0, const uint8_t *unused1, int width, uint32_t *unused2, void *opq)
 
static void read_xv30le_UV_c (uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src, const uint8_t *unused1, int width, uint32_t *unused2, void *opq)
 
static void read_xv36le_Y_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused0, const uint8_t *unused1, int width, uint32_t *unused2, void *opq)
 
static void read_xv36le_UV_c (uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src, const uint8_t *unused1, int width, uint32_t *unused2, void *opq)
 
static void read_xv36be_Y_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused0, const uint8_t *unused1, int width, uint32_t *unused2, void *opq)
 
static void read_xv36be_UV_c (uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src, const uint8_t *unused1, int width, uint32_t *unused2, void *opq)
 
static void uyvyToY_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused, void *opq)
 
static void uyvyToUV_c (uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src1, const uint8_t *src2, int width, uint32_t *unused, void *opq)
 
static av_always_inline void nvXXtoUV_c (uint8_t *dst1, uint8_t *dst2, const uint8_t *src, int width)
 
static void nv12ToUV_c (uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src1, const uint8_t *src2, int width, uint32_t *unused, void *opq)
 
static void nv21ToUV_c (uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src1, const uint8_t *src2, int width, uint32_t *unused, void *opq)
 
 p01x_wrapper (10, 6)
 
static void bgr24ToUV_c (uint8_t *_dstU, uint8_t *_dstV, const uint8_t *unused0, const uint8_t *src1, const uint8_t *src2, int width, uint32_t *rgb2yuv, void *opq)
 
static void bgr24ToUV_half_c (uint8_t *_dstU, uint8_t *_dstV, const uint8_t *unused0, const uint8_t *src1, const uint8_t *src2, int width, uint32_t *rgb2yuv, void *opq)
 
static void rgb24ToY_c (uint8_t *_dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *rgb2yuv, void *opq)
 
static void rgb24ToUV_c (uint8_t *_dstU, uint8_t *_dstV, const uint8_t *unused0, const uint8_t *src1, const uint8_t *src2, int width, uint32_t *rgb2yuv, void *opq)
 
static void rgb24ToUV_half_c (uint8_t *_dstU, uint8_t *_dstV, const uint8_t *unused0, const uint8_t *src1, const uint8_t *src2, int width, uint32_t *rgb2yuv, void *opq)
 
static void planar_rgb_to_y (uint8_t *_dst, const uint8_t *src[4], int width, int32_t *rgb2yuv, void *opq)
 
static void planar_rgb_to_a (uint8_t *_dst, const uint8_t *src[4], int width, int32_t *unused, void *opq)
 
static void planar_rgb_to_uv (uint8_t *_dstU, uint8_t *_dstV, const uint8_t *src[4], int width, int32_t *rgb2yuv, void *opq)
 
static av_always_inline void planar_rgb16_to_y (uint8_t *_dst, const uint8_t *_src[4], int width, int bpc, int is_be, int32_t *rgb2yuv)
 
static av_always_inline void planar_rgb16_to_a (uint8_t *_dst, const uint8_t *_src[4], int width, int bpc, int is_be, int32_t *rgb2yuv)
 
static av_always_inline void planar_rgb16_to_uv (uint8_t *_dstU, uint8_t *_dstV, const uint8_t *_src[4], int width, int bpc, int is_be, int32_t *rgb2yuv)
 
static av_always_inline void planar_rgbf32_to_a (uint8_t *_dst, const uint8_t *_src[4], int width, int is_be, int32_t *rgb2yuv)
 
static av_always_inline void planar_rgbf32_to_uv (uint8_t *_dstU, uint8_t *_dstV, const uint8_t *_src[4], int width, int is_be, int32_t *rgb2yuv)
 
static av_always_inline void planar_rgbf32_to_y (uint8_t *_dst, const uint8_t *_src[4], int width, int is_be, int32_t *rgb2yuv)
 
static av_always_inline void rgbf32_to_uv_c (uint8_t *_dstU, uint8_t *_dstV, const uint8_t *unused1, const uint8_t *_src, const uint8_t *unused2, int width, int is_be, int32_t *rgb2yuv)
 
static av_always_inline void rgbf32_to_y_c (uint8_t *_dst, const uint8_t *_src, const uint8_t *unused1, const uint8_t *unused2, int width, int is_be, int32_t *rgb2yuv)
 
static av_always_inline void grayf32ToY16_c (uint8_t *_dst, const uint8_t *_src, const uint8_t *unused1, const uint8_t *unused2, int width, int is_be, uint32_t *unused)
 
 rgb9plus_planar_funcs (9)
 
static av_always_inline void rgbaf16ToUV_endian (uint16_t *dstU, uint16_t *dstV, int is_be, const uint16_t *src, int width, int32_t *rgb2yuv, Half2FloatTables *h2f_tbl)
 
static av_always_inline void rgbaf16ToY_endian (uint16_t *dst, const uint16_t *src, int is_be, int width, int32_t *rgb2yuv, Half2FloatTables *h2f_tbl)
 
static av_always_inline void rgbaf16ToA_endian (uint16_t *dst, const uint16_t *src, int is_be, int width, Half2FloatTables *h2f_tbl)
 
static av_always_inline void rgbf16ToUV_half_endian (uint16_t *dstU, uint16_t *dstV, int is_be, const uint16_t *src, int width, int32_t *rgb2yuv, Half2FloatTables *h2f_tbl)
 
static av_always_inline void rgbf16ToUV_endian (uint16_t *dstU, uint16_t *dstV, int is_be, const uint16_t *src, int width, int32_t *rgb2yuv, Half2FloatTables *h2f_tbl)
 
static av_always_inline void rgbf16ToY_endian (uint16_t *dst, const uint16_t *src, int is_be, int width, int32_t *rgb2yuv, Half2FloatTables *h2f_tbl)
 
 rgbaf16_funcs_endian (le, 0)
 

Macro Definition Documentation

◆ input_pixel [1/2]

#define input_pixel (   pos)    (is_be ? AV_RB16(pos) : AV_RL16(pos))

Definition at line 251 of file input.c.

◆ IS_BE_LE

#define IS_BE_LE   0

Definition at line 33 of file input.c.

◆ IS_BE_BE

#define IS_BE_BE   1

Definition at line 34 of file input.c.

◆ IS_BE_

#define IS_BE_   0

Definition at line 35 of file input.c.

◆ IS_BE

#define IS_BE (   ENDIAN_IDENTIFIER)    IS_BE_ ## ENDIAN_IDENTIFIER

Definition at line 38 of file input.c.

◆ r

#define r   ((origin == AV_PIX_FMT_BGR48BE || origin == AV_PIX_FMT_BGR48LE || origin == AV_PIX_FMT_BGRA64BE || origin == AV_PIX_FMT_BGRA64LE) ? b_r : r_b)

Definition at line 40 of file input.c.

◆ b

here the reader knows that b   ((origin == AV_PIX_FMT_BGR48BE || origin == AV_PIX_FMT_BGR48LE || origin == AV_PIX_FMT_BGRA64BE || origin == AV_PIX_FMT_BGRA64LE) ? r_b : b_r)

Definition at line 41 of file input.c.

Referenced by __powf(), add_8x8_clip_c(), add_bytes_c(), add_bytes_l2_c(), add_cb(), add_coefficients(), add_hfyu_left_pred_bgr32_c(), add_int16_c(), alf_get_subblocks(), alf_init_subblock(), alias_pix_read_probe(), alloc_buffer(), apng_find_chunk(), apply_band_extension(), apply_gain(), apply_intensity_stereo(), apply_scalefactors(), aribcaption_trans_bitmap_subtitle(), ARRAY_RENAME(), ascii_to_wc(), atrac9_decode_block(), atrac9_decode_flush(), audio_element_obu(), av_add_i(), av_add_q(), av_add_sf(), av_clip_intp2_rvi(), av_cmp_i(), av_cmp_q(), av_cmp_sf(), av_cmp_sf_ieee754(), av_compare_mod(), av_compare_ts(), av_div_i(), av_div_q(), av_div_sf(), av_div_sf_ieee754(), av_gcd(), av_gcd_q(), av_gt_sf(), av_mlfg_get(), av_mod_i(), av_mul_i(), av_mul_q(), av_mul_sf(), av_mul_sf_ieee754(), av_nearer_q(), av_rescale(), av_rescale_delta(), av_rescale_q_rnd(), av_rescale_rnd(), av_sat_add32_c(), av_sat_add64_c(), av_sat_dadd32_c(), av_sat_dsub32_c(), av_sat_sub32_c(), av_sat_sub64_c(), av_size_mult(), av_strcasecmp(), av_strncasecmp(), av_sub_i(), av_sub_q(), av_sub_sf(), av_video_enc_params_alloc(), avg_pixels16_l2_shift5_mmi(), avg_pixels8_l2_shift5_mmi(), avio_w8(), avpriv_set_systematic_pal2(), bgr24ToUV_c(), bgr24ToUV_half_c(), bidir_refine(), binkb_read_bundle(), biquad(), block_matching_multi(), blur_power(), bmp_probe(), body(), bonk_read_header(), bprint_color(), bprint_pascal(), buffer_replace(), build_canonical_huff(), build_huffman(), build_map(), bval2bmax(), bytestream_get_buffer(), bytestream_put_buffer(), calc_precision(), calc_sum5(), calculate_cubic_bc_coeffs(), calculate_visual_weight(), can_merge_channel_layouts(), can_merge_generic(), can_merge_pix_fmts(), can_merge_sample_fmts(), can_merge_samplerates(), cas_slice16(), cas_slice8(), cbs_av1_get_relative_dist(), cbs_h2645_split_fragment(), cbs_vp9_read_le(), cbs_vp9_write_le(), cclm_get_params(), cclm_get_params_default(), cclm_linear_pred(), cdata_probe(), cdg_load_palette(), cdg_tile_block(), cdtoons_decode_frame(), cdxl_decode_ham6(), cdxl_decode_ham8(), ceil2(), celt_apply_preemph_filter(), celt_compute_qn(), celt_frame_mdct(), celt_frame_setup_input(), chebyshev1_bp_filter(), chebyshev1_fo_section(), chebyshev2_bp_filter(), chebyshev2_fo_section(), checkstride(), choose_rct_params(), chroma_mc(), chs_assemble_msbs_lsbs(), chs_clear_band_data(), chs_filter_band_data(), chs_parse_band_data(), chs_parse_header(), cin_decode_huffman(), cinepak_decode_codebook(), clamp_add_subtract_half(), cleanup_derivative_buffers(), clip_to_subpic(), clut_pick_or_set(), cmp(), cmp_color(), cmp_decomp(), cmp_func_names(), cmp_intervals(), cmp_matches(), cmp_nop(), cmp_pal_entry(), cmp_pkt_sub_pos_ts(), cmp_pkt_sub_ts_pos(), cmp_scores(), cmp_str(), codeblock(), codec_config_obu(), color_balance16(), color_balance16_p(), color_balance8(), color_balance8_p(), color_correlation(), color_decorrelation(), color_distance(), colorcontrast_slice16(), colorcontrast_slice16p(), colorcontrast_slice8(), colorcontrast_slice8p(), colormap_slice(), colorscale_matrix(), comb_c(), comp(), comp_chord(), comp_chord_length(), compare_addr(), compare_by_length(), compare_by_prob(), compare_codec_desc(), compare_encryption_info(), compare_encryption_init_info(), compare_int64(), compare_sl(), compare_vlcspec(), comparef(), compress_color(), compute_bit_allocation(), compute_error(), compute_kernel(), compute_lpc_coefs(), compute_metric(), compute_mod(), compute_weights_line_c(), config_input(), constrain_rgb(), convert(), convert_dir2svf(), correlate(), correlate_slice_buffered(), count_hq_slice(), cqt_calc(), create_luma_lut(), cri_probe(), cubic_interpolate_func(), dds_probe(), decode3(), decode_555(), decode_adaptive45(), decode_adaptive6(), decode_argb(), decode_argbi(), decode_argx(), decode_argxi(), decode_audio_s16(), decode_block(), decode_block_coeffs_internal(), decode_blocks(), decode_blocks_ind(), decode_bool(), decode_coeffs(), decode_component(), decode_delta_j(), decode_frame(), decode_frame_lscr(), decode_gain_control(), decode_hybrid(), decode_init(), decode_inter(), decode_intra(), decode_mad1(), decode_mad1_24(), decode_mode(), decode_pal(), decode_plte_chunk(), decode_predictor_coeffs(), decode_raw_intra_rgb(), decode_rgb(), decode_rgb_frame(), decode_rgbi(), decode_rgbx(), decode_rgbxi(), decode_rle(), decode_rtv1(), decode_run_i(), decode_run_p(), decode_sb_mem(), decode_sbit_chunk(), decode_scale_factors(), decode_spectrum_ac(), decode_spectrum_and_dequant(), decode_subband_arith(), decode_subband_golomb(), decode_subband_internal(), decode_subband_slice_buffered(), decode_subframe(), decode_subframe_fixed(), decode_tonal_components(), decode_unit3(), decode_units(), decode_value3(), decompose_transform(), decompose_zp2biquads(), decompress(), decompress_2(), decompress_5(), decompress_68(), decompress_i(), decompress_i3(), decompress_p(), decompress_p3(), decorrelate(), decorrelate_33bps(), decorrelate_ls(), decorrelate_sf(), decorrelate_sm(), decorrelate_sr(), decorrelate_stereo(), decorrelation(), deInterlaceBlendLinear_TMPL(), deInterlaceInterpolateLinear_TMPL(), deInterlaceMedian_TMPL(), dequantize(), dequantize_slice_buffered(), diff(), diff16_fun(), diff_bytes_c(), diff_c(), diff_fun(), diff_int16_c(), diffinplace16_fun(), diffinplace_fun(), distance_limited(), div_round64(), do_colorkey_pixel(), do_lumakey_slice16(), do_lumakey_slice8(), do_xpsnr(), double_near_abs_eps(), double_near_abs_eps_array(), dpx_probe(), draw_dot(), draw_response(), dump_spherical(), dv100_actual_quantize(), dv_encode_video_segment(), dv_guess_qnos(), dv_guess_qnos_hd(), dvbsub_encode(), dvbsub_parse_clut_segment(), dwt_plane(), dx2_decode_slice_5x5(), encode_15_7(), encode_all_blocks(), encode_bgr(), encode_block(), encode_frame(), encode_picture(), encode_q_branch2(), encode_residual_fixed(), encode_rgb_frame(), encode_subband(), encode_subband_c0run(), encode_superframe(), encode_zlib(), encode_zlibprime(), eq_interp(), eval_sse(), evaluate_parameters(), exr_probe(), extract_line(), ff_aac_ac_update_context(), ff_add_png_paeth_prediction(), ff_adx_calculate_coeffs(), ff_avg_pixels4_xy2_8_mmi(), ff_avg_pixels8_xy2_8_mmi(), ff_big_add(), ff_big_div(), ff_big_mul(), ff_celp_lp_synthesis_filterf(), ff_celt_quant_bands(), ff_dot_product(), ff_dot_productf(), ff_dsd2pcm_translate(), ff_dvdclut_yuv_to_rgb(), ff_eac3_decode_transform_coeffs_aht_ch(), ff_eval_refl(), ff_ffv1_encode_init(), ff_framequeue_add(), ff_framequeue_peek(), ff_framequeue_skip_samples(), ff_framequeue_take(), ff_g723_1_dot_product(), ff_get_qtpalette(), ff_h264_chroma_dc_dequant_idct(), ff_h264_filter_mb(), ff_idet_filter_line_c(), ff_idet_filter_line_c_16bit(), ff_index_search_timestamp(), ff_interp(), ff_ivi_decode_frame(), ff_ivi_init_planes(), ff_ivi_init_tiles(), ff_jpeg2000_ceildiv(), ff_jpeg2000_ceildivpow2(), ff_jpeg2000_dwt_init(), ff_jpegls_decode_picture(), ff_lpc_calc_ref_coefs_f(), ff_match_2uint16(), ff_mjpeg_decode_frame_from_buf(), ff_mjpeg_find_marker(), ff_mpeg4_pred_dc(), ff_mpv_export_qp_table(), ff_msmpeg4_coded_block_pred(), ff_msmpeg4_pred_dc(), ff_nut_sp_pos_cmp(), ff_nut_sp_pts_cmp(), ff_oklab_int_to_srgb_u8(), ff_opus_rc_enc_uint_step(), ff_png_filter_row(), ff_put_no_rnd_pixels8_xy2_8_mmi(), ff_put_no_rnd_pixels_l2_mmi(), ff_put_no_rnd_pixels_l2_msa(), ff_put_pixels4_xy2_8_mmi(), ff_put_pixels8_xy2_8_mmi(), ff_put_vp8_bilinear16_h_mmi(), ff_put_vp8_bilinear16_hv_mmi(), ff_put_vp8_bilinear4_h_mmi(), ff_put_vp8_bilinear4_hv_mmi(), ff_put_vp8_bilinear8_h_mmi(), ff_put_vp8_bilinear8_hv_mmi(), ff_qp_table_extract(), ff_rgb48Toxyz12(), ff_rms(), ff_snow_common_end(), ff_snow_common_init_after_header(), ff_sqrt(), ff_sws_alphablendaway(), ff_tx_decompose_length(), ff_u8_to_s8(), ff_update_palette(), ff_vc1_h_overlap_mmi(), ff_vc1_h_s_overlap_mmi(), ff_vc1_pred_dc(), ff_vc1_v_overlap_mmi(), ff_vc1_v_s_overlap_mmi(), ff_vp9_decode_block(), ff_vp9_fill_mv(), ff_vvc_inv_dct2_16(), ff_vvc_inv_dct2_32(), ff_vvc_inv_dct2_4(), ff_vvc_inv_dct2_8(), ff_wma_init(), ff_xyz12Torgb48(), ffat_compare_channel_descriptions(), ffio_fill(), fill24(), fill_elements(), fill_in_tongue(), fill_lut(), filter(), filter_channels(), filter_frame(), filter_mb_dir(), filter_mb_edgech(), filter_mb_edgecv(), filter_mb_edgeh(), filter_mb_edgev(), filter_mb_mbaff_edgecv(), filter_mb_mbaff_edgev(), filter_plane(), filter_rgb24(), filter_rgb48(), filter_rgba(), filter_rgba64(), find_body_sid_by_absolute_offset(), find_ref_mvs(), fits_probe(), flac_decorrelate_ls_c(), flac_decorrelate_ms_c(), flac_decorrelate_rs_c(), flic_decode_frame_8BPP(), float_near_abs_eps(), float_near_abs_eps_array(), float_near_abs_eps_array_ulp(), float_near_abs_eps_ulp(), float_near_ulp(), float_near_ulp_array(), for(), frac64(), frame_checksum_compare(), frame_header_obu(), gamma_convert(), gamma_correct_rgb(), gauss_solve(), gauss_solve_triangular(), gaussian_simpson_integration(), gbr24pToUV_half_c(), gdv_decode_frame(), gdv_read_header(), gem_decode_frame(), gem_probe(), gen_image(), gen_sub_bitmap(), generate_joint_tables(), generate_window_func(), get_4block_rd(), get_badness(), get_band_noise(), get_block_bits(), get_block_size(), get_block_sizes(), get_block_sum(), get_bs(), get_cmy_scale(), get_coeffs(), get_component(), get_dc(), get_default_pattern_localtime_fmt(), get_dst_color_err(), get_matching_parameters(), get_max_component_diff(), get_mse(), get_reconstructed_area(), get_relative_dist(), get_response(), get_rgb_scale(), get_svf(), get_triplet(), get_urice(), get_wsse(), getSplineCoeff(), gfmul(), global_mv(), gsm_mult(), gsm_probe(), guess_palette(), h264_export_enc_params(), h264_filter_mb_fast_internal(), h_block_filter(), hable(), half(), half3(), half_horz(), half_vert(), hammer_to_xyz(), handle_p_frame_apng(), hls_init(), horizontal_compose53i(), horizontal_compose_daub97i_TMPL(), horizontal_compose_dd137i_TMPL(), horizontal_compose_dd97i_TMPL(), horizontal_compose_dirac53i_TMPL(), horizontal_compose_fidelityi_TMPL(), horizontal_compose_haar0i_TMPL(), horizontal_compose_haar1i_TMPL(), horizontal_compose_haari_TMPL(), horizontal_decompose53i(), horizontal_decompose97i(), horizX1Filter(), hpel_motion_search(), hsl2rgb(), huff_cmp(), huff_cmp_sym(), id3v2_parse(), idcin_read_packet(), idct_1d(), if(), ilog2(), import_palette(), imx_decode_frame(), incr_cntdec(), init(), init_axis_color(), init_blocks(), init_default_clut(), init_hca(), init_planes(), int_sqrt(), inter_pred(), inter_recon(), interleave(), interpol(), intra_cclm_pred(), intra_recon(), inv_cdf(), inverse4(), invert_step(), ipm_compar(), ipmovie_probe(), is_fallback_mode(), iterate_frame(), iterative_me(), ivi_free_buffers(), ivi_init_tiles(), j2k_probe(), jp2_find_codestream(), jpeg_probe(), jpegls_probe(), jpegxl_probe(), k12(), k13(), k23(), k24(), k34(), k35(), k44(), k45(), latm_get_value(), layouts_compatible(), lbr_bank_c(), lead_decode_frame(), lerp(), lerp_colors32(), lerpf(), less(), lfe_fir_fixed_c(), lfe_fir_float_c(), lfe_x96_fixed_c(), lfe_x96_float_c(), limit_gain(), linear(), loco_predict(), log16(), log_add(), LOOP_FILTER(), luma_intra_pred_mode(), MAC64(), magy_decode_slice(), magy_decode_slice10(), main(), make_cdt15_entry(), make_cdt16_entry(), make_cdt24_entry(), map_idx_10_to_20(), mark_all_blocks(), matrix_multiply(), max16_fun(), max_fun(), max_q(), maxinplace16_fun(), maxinplace_fun(), mc_block(), mdl64_decode(), median4(), merge_channel_layouts(), merge_channel_layouts_internal(), merge_formats_internal(), merge_generic(), merge_generic_internal(), merge_pix_fmts(), merge_sample_fmts(), merge_samplerates(), merge_samplerates_internal(), mid_pred(), min16_fun(), min_fun(), minima_cmp(), mininplace16_fun(), mininplace_fun(), mix(), mix_core(), mix_presentation_obu(), mjpeg2000_probe(), MLS64(), mobius(), mod(), monochrome_slice16(), monochrome_slice8(), mov_read_iprp(), mov_read_sv3d(), mov_write_video_tag(), mp_decode_layer2(), mp_yuv_to_rgb(), mpegts_write_section(), mul15(), mul16(), mul17(), mul22(), mul23(), mul31(), mul32(), mul__(), mul_poly(), MULH(), multiply(), multiply_quaternion(), multiswap_dec(), multiswap_enc(), mvinfo_is_deblock_cand(), mvinfo_matches_backward(), mvinfo_matches_forward(), mxf_absolute_bodysid_offset(), mxf_get_next_track_edit_unit(), mxf_read_sync(), next_byte(), no_rnd_avg32(), no_rnd_avg64(), normalize(), on2avc_apply_ms(), on2avc_decode_band_scales(), on2avc_read_channel_data(), on2avc_read_ms_info(), optimize_colors(), opus_rc_enc_update(), output_audio_block(), p01x_wrapper(), pack16to32(), pack8to16(), paf_video_decode(), parameter_block_obu(), parse_3dl(), parse_band_ext(), parse_cinespace(), parse_gradient(), parse_ifo_palette(), parse_mantissas(), parse_palette(), parse_palette_segment(), parse_pixel_format(), pcx_probe(), pget(), pgx_probe(), pick_4(), pick_5(), pick_6(), pick_8(), pictor_probe(), pitch_search(), planar_rgb16_to_uv(), planar_rgb16_to_y(), planar_rgb_to_uv(), planar_rgb_to_uv_lasx(), planar_rgb_to_y(), planar_rgb_to_y_lasx(), planar_rgbf32_to_uv(), planar_rgbf32_to_y(), png_get_interlaced_row(), png_probe(), png_put_interlaced_row(), pnm_decode_frame(), pnm_encode_frame(), pnm_magic_check(), pnm_probe(), pop_greys(), pop_integer(), pow_m1_4(), power(), pred16x16_vertical(), pred8x16_plane(), pred8x16_vertical(), pred8x8_plane(), pred8x8_vertical(), pred8x8l_vertical(), pred_hor_angle(), pred_spatial_direct_motion(), pred_ver_angle(), predict_slice(), premult2straight(), preserve_color(), preservel(), print_audio_bytes(), print_pkt_side_data(), probe(), process_bayer(), process_frame(), process_ipmovie_chunk(), process_sample(), prompeg_create_bitstring(), prompeg_write_fec(), psd_probe(), pullup_lock_buffer(), pullup_release_buffer(), pullup_submit_field(), push_integer(), put_amf_bool(), put_cabac_bit(), put_pixel(), put_swf_matrix(), pvq_band_cost(), qdm2_fft_decode_tones(), qdmc_decode_init(), qdraw_probe(), qpel_motion_search(), qsort_comparison_function_int16(), qtrle_decode_24bpp(), quant_band_template(), QUANT_FN(), quantize(), query_formats(), ratecontrol_1pass(), rd_frame(), read16(), read32(), read_block_types(), read_cb(), read_close(), read_colors(), read_dcs(), read_frame_data(), read_header(), read_highpass(), read_line(), read_motion_values(), read_packet(), read_patterns(), read_runs(), read_scalefactors(), read_seek(), read_var_block_data(), read_xing_toc(), refine_colors(), remove_avoptions(), render_charset(), renew_table3(), resample_cubic(), rescale(), rescale_dec(), rescale_rational(), restore_rgb_planes10_c(), restore_rgb_planes_c(), resync(), rgb12to15(), rgb16_32ToUV_c_template(), rgb16_32ToUV_half_c_template(), rgb16_32ToY_c_template(), rgb24_to_rgb555(), rgb24_to_yuv420p(), rgb24to15_c(), rgb24to16_c(), rgb24tobgr15_c(), rgb24tobgr16_c(), rgb24ToUV_c(), rgb24ToUV_half_c(), rgb24ToY_c(), rgb2yuv(), rgb48ToUV_c_template(), rgb48ToUV_half_c_template(), rgb48ToY_c_template(), rgb64ToUV_c_template(), rgb64ToUV_half_c_template(), rgb64ToY_c_template(), rgb9plus_planar_funcs(), rgb_to_yuv(), rgba2ycocg(), rgbaf16ToUV_endian(), rgbaf16ToY_endian(), rgbf16ToUV_endian(), rgbf16ToUV_half_endian(), rgbf16ToY_endian(), rgbf32_to_uv_c(), rgbf32_to_y_c(), rgtc2_block_internal(), ripemd128_transform(), ripemd160_transform(), ripemd256_transform(), ripemd320_transform(), rnd_avg32(), rnd_avg64(), run_channel_fft(), run_postproc(), run_psnr(), sad_hpel_motion_search(), same_block(), saturation_matrix(), search_for_quantizers_fast(), search_for_quantizers_twoloop(), search_frag_moof_offset(), search_frag_timestamp(), seq_decode_op1(), set_ap(), set_ap1(), set_frame(), set_hp(), set_lp(), set_major_params(), set_palette(), set_string_binary(), setdc(), setup_derivative_buffers(), sgi_probe(), sha1_transform(), sha256_transform(), sha512_transform(), shift(), shift_down(), show_differences(), silk_decode_excitation(), simbiosis_imx_read_packet(), sin32(), size_mult(), smc_cmp_values(), snow_horizontal_compose97i(), sort_offsets(), spatial_compose_daub97i_dy_TMPL(), spatial_compose_dd137i_dy_TMPL(), spatial_compose_dd97i_dy_TMPL(), spatial_compose_dirac53i_dy_TMPL(), spatial_compose_fidelity_TMPL(), squared_diff_macroblock(), ssim360_4x4x2_tape(), ssim360_4x4xn_16bit(), ssim360_4x4xn_8bit(), ssim_4x4x2_core(), ssim_4x4xn_16bit(), ssim_4x4xn_8bit(), stereo_processing(), sub_left_prediction_bgr32(), sub_left_prediction_rgb24(), sub_png_paeth_prediction(), subband_coeffs(), sum_bits(), sunrast_probe(), svg_probe(), sws_addVec(), sws_sumVec(), synth_filter_fixed(), synth_filter_fixed_64(), synth_filter_float(), synth_filter_float_64(), t15(), t27(), t37(), temperature_slice16(), temperature_slice16p(), temperature_slice32(), temperature_slice8(), temperature_slice8p(), tgq_calculate_qtable(), tiff_probe(), transform1(), transform2(), transform_step(), trc_arib_std_b67(), trc_bt1361(), trc_bt709(), trc_iec61966_2_1(), trc_iec61966_2_4(), trc_smpte240M(), try_8x8basis_c(), uintpow(), UMULH(), uninit(), unpack_14(), unpack_3(), unpack_coeffs(), update_model1_to_2(), update_palette_index(), upsample_plane_c(), url_bio_bputs(), url_bio_bread(), url_bio_bwrite(), url_bio_create(), url_bio_ctrl(), ut_huff_cmp_len(), utf8len(), v_block_filter(), vb_decode_framedata(), vb_stereo(), vbn_probe(), vc1_coded_block_pred(), vc1_h_overlap_c(), vc1_h_s_overlap_c(), vc1_i_pred_dc(), vc1_parse(), vc1_v_overlap_c(), vc1_v_s_overlap_c(), vc2_encode_init(), vertX1Filter_TMPL(), very_broken_op(), vibrance_slice16(), vibrance_slice16p(), vibrance_slice8(), vibrance_slice8p(), video_audio_display(), vmd_decode(), vmdvideo_decode_init(), vp56_add_predictors_dc(), vp56_conceal_mv(), vp56_decode_4mv(), vp56_decode_mv(), vp56_mc(), vp56_render_mb(), vp5_parse_coeff(), vp6_build_huff_tree(), vp6_huff_cmp(), vp6_parse_coeff(), vp6_parse_coeff_huffman(), vp9_export_enc_params(), vqa_decode_frame_pal8(), wdec14(), wdec16(), webp_probe(), wma_lsp_to_curve_init(), wmv2_idct_col(), wmv2_idct_col_mmi(), wmv2_idct_row(), wmv2_idct_row_mmi(), write_all_blocks(), write_block(), write_cb(), write_matrix(), writer_w8_avio(), writer_w8_printf(), x8_get_prediction(), xan_decode_frame(), xface_decode_frame(), xface_encode_frame(), xfade_frame(), xpm_probe(), xwd_probe(), xyz_to_rgb(), yae_load_data(), yae_load_frag(), yae_overlap_add(), ycocg2rgba(), yuv2rgb_1_c_template(), yuv2rgb_1_template_lasx(), yuv2rgb_1_template_lsx(), yuv2rgb_2_c_template(), yuv2rgb_2_template_lasx(), yuv2rgb_2_template_lsx(), yuv2rgb_full_1_template_lasx(), yuv2rgb_full_1_template_lsx(), yuv2rgb_write(), yuv2rgb_write_full(), yuv2rgb_X_c_template(), yuv2rgb_X_template_lasx(), yuv2rgb_X_template_lsx(), yuv_a_to_rgba(), yuv_from_cqt(), yuv_to_rgba(), and zero_remaining().

◆ RGB64FUNCS_EXT

#define RGB64FUNCS_EXT (   pattern,
  BE_LE,
  origin,
  is_be 
)
Value:
static void pattern ## 64 ## BE_LE ## ToY_c(uint8_t *_dst, const uint8_t *_src, const uint8_t *unused0, const uint8_t *unused1,\
int width, uint32_t *rgb2yuv, void *opq) \
{ \
const uint16_t *src = (const uint16_t *) _src; \
uint16_t *dst = (uint16_t *) _dst; \
rgb64ToY_c_template(dst, src, width, origin, rgb2yuv, is_be); \
} \
\
static void pattern ## 64 ## BE_LE ## ToUV_c(uint8_t *_dstU, uint8_t *_dstV, \
const uint8_t *unused0, const uint8_t *_src1, const uint8_t *_src2, \
int width, uint32_t *rgb2yuv, void *opq) \
{ \
const uint16_t *src1 = (const uint16_t *) _src1, \
*src2 = (const uint16_t *) _src2; \
uint16_t *dstU = (uint16_t *) _dstU, *dstV = (uint16_t *) _dstV; \
rgb64ToUV_c_template(dstU, dstV, src1, src2, width, origin, rgb2yuv, is_be); \
} \
\
static void pattern ## 64 ## BE_LE ## ToUV_half_c(uint8_t *_dstU, uint8_t *_dstV, \
const uint8_t *unused0, const uint8_t *_src1, const uint8_t *_src2, \
int width, uint32_t *rgb2yuv, void *opq) \
{ \
const uint16_t *src1 = (const uint16_t *) _src1, \
*src2 = (const uint16_t *) _src2; \
uint16_t *dstU = (uint16_t *) _dstU, *dstV = (uint16_t *) _dstV; \
rgb64ToUV_half_c_template(dstU, dstV, src1, src2, width, origin, rgb2yuv, is_be); \
}

Definition at line 96 of file input.c.

◆ RGB64FUNCS

#define RGB64FUNCS (   pattern,
  endianness,
  base_fmt 
)    RGB64FUNCS_EXT(pattern, endianness, base_fmt ## endianness, IS_BE(endianness))

Definition at line 124 of file input.c.

◆ RGB48FUNCS_EXT

#define RGB48FUNCS_EXT (   pattern,
  BE_LE,
  origin,
  is_be 
)

Definition at line 199 of file input.c.

◆ RGB48FUNCS

#define RGB48FUNCS (   pattern,
  endianness,
  base_fmt 
)    RGB48FUNCS_EXT(pattern, endianness, base_fmt ## endianness, IS_BE(endianness))

Definition at line 243 of file input.c.

◆ input_pixel [2/2]

#define input_pixel (   i)
Value:
((origin == AV_PIX_FMT_RGBA || \
origin == AV_PIX_FMT_BGRA || \
origin == AV_PIX_FMT_ARGB || \
origin == AV_PIX_FMT_ABGR) \
? AV_RN32A(&src[(i) * 4]) \
: ((origin == AV_PIX_FMT_X2RGB10LE || \
origin == AV_PIX_FMT_X2BGR10LE) \
? AV_RL32(&src[(i) * 4]) \
: (is_be ? AV_RB16(&src[(i) * 2]) \
: AV_RL16(&src[(i) * 2]))))

Definition at line 251 of file input.c.

◆ RGB16_32FUNCS_EXT

#define RGB16_32FUNCS_EXT (   fmt,
  name,
  shr,
  shg,
  shb,
  shp,
  maskr,
  maskg,
  maskb,
  rsh,
  gsh,
  bsh,
  S,
  is_be 
)
Value:
static void name ## ToY_c(uint8_t *dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, \
int width, uint32_t *tab, void *opq) \
{ \
rgb16_32ToY_c_template((int16_t*)dst, src, width, fmt, shr, shg, shb, shp, \
maskr, maskg, maskb, rsh, gsh, bsh, S, tab, is_be); \
} \
\
static void name ## ToUV_c(uint8_t *dstU, uint8_t *dstV, \
const uint8_t *unused0, const uint8_t *src, const uint8_t *dummy, \
int width, uint32_t *tab, void *opq) \
{ \
rgb16_32ToUV_c_template((int16_t*)dstU, (int16_t*)dstV, src, width, fmt, \
shr, shg, shb, shp, \
maskr, maskg, maskb, rsh, gsh, bsh, S, tab, is_be); \
} \
\
static void name ## ToUV_half_c(uint8_t *dstU, uint8_t *dstV, \
const uint8_t *unused0, const uint8_t *src, \
const uint8_t *dummy, \
int width, uint32_t *tab, void *opq) \
{ \
rgb16_32ToUV_half_c_template((int16_t*)dstU, (int16_t*)dstV, src, width, fmt, \
shr, shg, shb, shp, \
maskr, maskg, maskb, \
rsh, gsh, bsh, S, tab, is_be); \
}

Definition at line 359 of file input.c.

◆ RGB16_32FUNCS

#define RGB16_32FUNCS (   base_fmt,
  endianness,
  name,
  shr,
  shg,
  shb,
  shp,
  maskr,
  maskg,
  maskb,
  rsh,
  gsh,
  bsh,
  S 
)
Value:
RGB16_32FUNCS_EXT(base_fmt ## endianness, name, shr, shg, shb, shp, maskr, \
maskg, maskb, rsh, gsh, bsh, S, IS_BE(endianness))

Definition at line 388 of file input.c.

◆ y21xle_wrapper

#define y21xle_wrapper (   bits,
  shift 
)
Value:
static void y2 ## bits ## le_UV_c(uint8_t *dstU, uint8_t *dstV, \
const uint8_t *unused0, \
const uint8_t *src, \
const uint8_t *unused1, int width, \
uint32_t *unused2, void *opq) \
{ \
int i; \
for (i = 0; i < width; i++) { \
AV_WN16(dstU + i * 2, AV_RL16(src + i * 8 + 2) >> shift); \
AV_WN16(dstV + i * 2, AV_RL16(src + i * 8 + 6) >> shift); \
} \
} \
\
static void y2 ## bits ## le_Y_c(uint8_t *dst, const uint8_t *src, \
const uint8_t *unused0, \
const uint8_t *unused1, int width, \
uint32_t *unused2, void *opq) \
{ \
int i; \
for (i = 0; i < width; i++) \
AV_WN16(dst + i * 2, AV_RL16(src + i * 4) >> shift); \
}

Definition at line 578 of file input.c.

◆ ayuv64_UV_funcs

#define ayuv64_UV_funcs (   pixfmt,
  U,
  V 
)
Value:
static void read_ ## pixfmt ## le_UV_c(uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src, \
const uint8_t *unused1, int width, uint32_t *unused2, void *opq) \
{ \
ayuv64le_UV_c(dstU, dstV, src, width, U, V); \
} \
\
static void read_ ## pixfmt ## be_UV_c(uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src, \
const uint8_t *unused1, int width, uint32_t *unused2, void *opq) \
{ \
ayuv64be_UV_c(dstU, dstV, src, width, U, V); \
}

Definition at line 697 of file input.c.

◆ p01x_uv_wrapper

#define p01x_uv_wrapper (   bits,
  shift 
)
Value:
static void p0 ## bits ## LEToUV_c(uint8_t *dstU, uint8_t *dstV, \
const uint8_t *unused0, \
const uint8_t *src1, \
const uint8_t *src2, int width, \
uint32_t *unused, void *opq) \
{ \
int i; \
for (i = 0; i < width; i++) { \
AV_WN16(dstU + i * 2, AV_RL16(src1 + i * 4 + 0) >> shift); \
AV_WN16(dstV + i * 2, AV_RL16(src1 + i * 4 + 2) >> shift); \
} \
} \
\
static void p0 ## bits ## BEToUV_c(uint8_t *dstU, uint8_t *dstV, \
const uint8_t *unused0, \
const uint8_t *src1, \
const uint8_t *src2, int width, \
uint32_t *unused, void *opq) \
{ \
int i; \
for (i = 0; i < width; i++) { \
AV_WN16(dstU + i * 2, AV_RB16(src1 + i * 4 + 0) >> shift); \
AV_WN16(dstV + i * 2, AV_RB16(src1 + i * 4 + 2) >> shift); \
} \
}

Definition at line 931 of file input.c.

◆ p01x_wrapper

#define p01x_wrapper (   bits,
  shift 
)
Value:
static void p0 ## bits ## LEToY_c(uint8_t *dst, const uint8_t *src, \
const uint8_t *unused1, \
const uint8_t *unused2, int width, \
uint32_t *unused, void *opq) \
{ \
int i; \
for (i = 0; i < width; i++) { \
AV_WN16(dst + i * 2, AV_RL16(src + i * 2) >> shift); \
} \
} \
\
static void p0 ## bits ## BEToY_c(uint8_t *dst, const uint8_t *src, \
const uint8_t *unused1, \
const uint8_t *unused2, int width, \
uint32_t *unused, void *opq) \
{ \
int i; \
for (i = 0; i < width; i++) { \
AV_WN16(dst + i * 2, AV_RB16(src + i * 2) >> shift); \
} \
} \
p01x_uv_wrapper(bits, shift)

Definition at line 958 of file input.c.

◆ rdpx [1/3]

#define rdpx (   src)    (is_be ? AV_RB16(src) : AV_RL16(src))

Definition at line 1185 of file input.c.

◆ rdpx [2/3]

#define rdpx (   src)    (is_be ? av_int2float(AV_RB32(src)): av_int2float(AV_RL32(src)))

Definition at line 1185 of file input.c.

◆ rgb9plus_planar_funcs_endian

#define rgb9plus_planar_funcs_endian (   nbits,
  endian_name,
  endian 
)
Value:
static void planar_rgb##nbits##endian_name##_to_y(uint8_t *dst, const uint8_t *src[4], \
int w, int32_t *rgb2yuv, void *opq) \
{ \
planar_rgb16_to_y(dst, src, w, nbits, endian, rgb2yuv); \
} \
static void planar_rgb##nbits##endian_name##_to_uv(uint8_t *dstU, uint8_t *dstV, \
const uint8_t *src[4], int w, int32_t *rgb2yuv, \
void *opq) \
{ \
planar_rgb16_to_uv(dstU, dstV, src, w, nbits, endian, rgb2yuv); \
} \

Definition at line 1288 of file input.c.

◆ rgb9plus_planar_transparency_funcs

#define rgb9plus_planar_transparency_funcs (   nbits)
Value:
static void planar_rgb##nbits##le_to_a(uint8_t *dst, const uint8_t *src[4], \
int w, int32_t *rgb2yuv, \
void *opq) \
{ \
planar_rgb16_to_a(dst, src, w, nbits, 0, rgb2yuv); \
} \
static void planar_rgb##nbits##be_to_a(uint8_t *dst, const uint8_t *src[4], \
int w, int32_t *rgb2yuv, \
void *opq) \
{ \
planar_rgb16_to_a(dst, src, w, nbits, 1, rgb2yuv); \
}

Definition at line 1301 of file input.c.

◆ rgb9plus_planar_funcs

#define rgb9plus_planar_funcs (   nbits)
Value:
rgb9plus_planar_funcs_endian(nbits, be, 1)

Definition at line 1315 of file input.c.

◆ rgbf32_funcs_endian

#define rgbf32_funcs_endian (   endian_name,
  endian 
)

◆ rdpx [3/3]

#define rdpx (   src)    av_int2float(half2float(is_be ? AV_RB16(&src) : AV_RL16(&src), h2f_tbl))

Definition at line 1185 of file input.c.

◆ rgbaf16_funcs_endian

#define rgbaf16_funcs_endian (   endian_name,
  endian 
)

Definition at line 1486 of file input.c.

Function Documentation

◆ rgb64ToY_c_template()

static av_always_inline void rgb64ToY_c_template ( uint16_t *  dst,
const uint16_t *  src,
int  width,
enum AVPixelFormat  origin,
int32_t rgb2yuv,
int  is_be 
)
static

Definition at line 44 of file input.c.

◆ rgb64ToUV_c_template()

static av_always_inline void rgb64ToUV_c_template ( uint16_t *  dstU,
uint16_t *  dstV,
const uint16_t *  src1,
const uint16_t *  src2,
int  width,
enum AVPixelFormat  origin,
int32_t rgb2yuv,
int  is_be 
)
static

Definition at line 59 of file input.c.

◆ rgb64ToUV_half_c_template()

static av_always_inline void rgb64ToUV_half_c_template ( uint16_t *  dstU,
uint16_t *  dstV,
const uint16_t *  src1,
const uint16_t *  src2,
int  width,
enum AVPixelFormat  origin,
int32_t rgb2yuv,
int  is_be 
)
static

Definition at line 78 of file input.c.

◆ rgb48ToY_c_template()

static av_always_inline void rgb48ToY_c_template ( uint16_t *  dst,
const uint16_t *  src,
int  width,
enum AVPixelFormat  origin,
int32_t rgb2yuv,
int  is_be 
)
static

Definition at line 132 of file input.c.

◆ rgb48ToUV_c_template()

static av_always_inline void rgb48ToUV_c_template ( uint16_t *  dstU,
uint16_t *  dstV,
const uint16_t *  src1,
const uint16_t *  src2,
int  width,
enum AVPixelFormat  origin,
int32_t rgb2yuv,
int  is_be 
)
static

Definition at line 148 of file input.c.

◆ rgb48ToUV_half_c_template()

static av_always_inline void rgb48ToUV_half_c_template ( uint16_t *  dstU,
uint16_t *  dstV,
const uint16_t *  src1,
const uint16_t *  src2,
int  width,
enum AVPixelFormat  origin,
int32_t rgb2yuv,
int  is_be 
)
static

Definition at line 170 of file input.c.

◆ rgb16_32ToY_c_template()

static av_always_inline void rgb16_32ToY_c_template ( int16_t *  dst,
const uint8_t *  src,
int  width,
enum AVPixelFormat  origin,
int  shr,
int  shg,
int  shb,
int  shp,
int  maskr,
int  maskg,
int  maskb,
int  rsh,
int  gsh,
int  bsh,
int  S,
int32_t rgb2yuv,
int  is_be 
)
static

Definition at line 262 of file input.c.

◆ rgb16_32ToUV_c_template()

static av_always_inline void rgb16_32ToUV_c_template ( int16_t *  dstU,
int16_t *  dstV,
const uint8_t *  src,
int  width,
enum AVPixelFormat  origin,
int  shr,
int  shg,
int  shb,
int  shp,
int  maskr,
int  maskg,
int  maskb,
int  rsh,
int  gsh,
int  bsh,
int  S,
int32_t rgb2yuv,
int  is_be 
)
static

Definition at line 287 of file input.c.

◆ rgb16_32ToUV_half_c_template()

static av_always_inline void rgb16_32ToUV_half_c_template ( int16_t *  dstU,
int16_t *  dstV,
const uint8_t *  src,
int  width,
enum AVPixelFormat  origin,
int  shr,
int  shg,
int  shb,
int  shp,
int  maskr,
int  maskg,
int  maskb,
int  rsh,
int  gsh,
int  bsh,
int  S,
int32_t rgb2yuv,
int  is_be 
)
static

Definition at line 315 of file input.c.

◆ gbr24pToUV_half_c()

static void gbr24pToUV_half_c ( uint8_t *  _dstU,
uint8_t *  _dstV,
const uint8_t *  gsrc,
const uint8_t *  bsrc,
const uint8_t *  rsrc,
int  width,
uint32_t *  rgb2yuv,
void *  opq 
)
static

Definition at line 412 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ rgba64leToA_c()

static void rgba64leToA_c ( uint8_t *  _dst,
const uint8_t *  _src,
const uint8_t *  unused1,
const uint8_t *  unused2,
int  width,
uint32_t *  unused,
void *  opq 
)
static

Definition at line 432 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ rgba64beToA_c()

static void rgba64beToA_c ( uint8_t *  _dst,
const uint8_t *  _src,
const uint8_t *  unused1,
const uint8_t *  unused2,
int  width,
uint32_t *  unused,
void *  opq 
)
static

Definition at line 442 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ abgrToA_c()

static void abgrToA_c ( uint8_t *  _dst,
const uint8_t *  src,
const uint8_t *  unused1,
const uint8_t *  unused2,
int  width,
uint32_t *  unused,
void *  opq 
)
static

Definition at line 452 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ rgbaToA_c()

static void rgbaToA_c ( uint8_t *  _dst,
const uint8_t *  src,
const uint8_t *  unused1,
const uint8_t *  unused2,
int  width,
uint32_t *  unused,
void *  opq 
)
static

Definition at line 462 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ palToA_c()

static void palToA_c ( uint8_t *  _dst,
const uint8_t *  src,
const uint8_t *  unused1,
const uint8_t *  unused2,
int  width,
uint32_t *  pal,
void *  opq 
)
static

Definition at line 472 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ palToY_c()

static void palToY_c ( uint8_t *  _dst,
const uint8_t *  src,
const uint8_t *  unused1,
const uint8_t *  unused2,
int  width,
uint32_t *  pal,
void *  opq 
)
static

Definition at line 484 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ palToUV_c()

static void palToUV_c ( uint8_t *  _dstU,
uint8_t *  _dstV,
const uint8_t *  unused0,
const uint8_t *  src1,
const uint8_t *  src2,
int  width,
uint32_t *  pal,
void *  opq 
)
static

Definition at line 496 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ monowhite2Y_c()

static void monowhite2Y_c ( uint8_t *  _dst,
const uint8_t *  src,
const uint8_t *  unused1,
const uint8_t *  unused2,
int  width,
uint32_t *  unused,
void *  opq 
)
static

Definition at line 512 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ monoblack2Y_c()

static void monoblack2Y_c ( uint8_t *  _dst,
const uint8_t *  src,
const uint8_t *  unused1,
const uint8_t *  unused2,
int  width,
uint32_t *  unused,
void *  opq 
)
static

Definition at line 530 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ yuy2ToY_c()

static void yuy2ToY_c ( uint8_t *  dst,
const uint8_t *  src,
const uint8_t *  unused1,
const uint8_t *  unused2,
int  width,
uint32_t *  unused,
void *  opq 
)
static

Definition at line 548 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ yuy2ToUV_c()

static void yuy2ToUV_c ( uint8_t *  dstU,
uint8_t *  dstV,
const uint8_t *  unused0,
const uint8_t *  src1,
const uint8_t *  src2,
int  width,
uint32_t *  unused,
void *  opq 
)
static

Definition at line 556 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ yvy2ToUV_c()

static void yvy2ToUV_c ( uint8_t *  dstU,
uint8_t *  dstV,
const uint8_t *  unused0,
const uint8_t *  src1,
const uint8_t *  src2,
int  width,
uint32_t *  unused,
void *  opq 
)
static

Definition at line 567 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ y21xle_wrapper()

y21xle_wrapper ( 10  ,
 
)

Definition at line 602 of file input.c.

◆ bswap16UV_c()

static void bswap16UV_c ( uint8_t *  _dstU,
uint8_t *  _dstV,
const uint8_t *  unused0,
const uint8_t *  _src1,
const uint8_t *  _src2,
int  width,
uint32_t *  unused,
void *  opq 
)
static

Definition at line 616 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ read_ya16le_gray_c()

static void read_ya16le_gray_c ( uint8_t *  dst,
const uint8_t *  src,
const uint8_t *  unused1,
const uint8_t *  unused2,
int  width,
uint32_t *  unused,
void *  opq 
)
static

Definition at line 629 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ read_ya16le_alpha_c()

static void read_ya16le_alpha_c ( uint8_t *  dst,
const uint8_t *  src,
const uint8_t *  unused1,
const uint8_t *  unused2,
int  width,
uint32_t *  unused,
void *  opq 
)
static

Definition at line 637 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ read_ya16be_gray_c()

static void read_ya16be_gray_c ( uint8_t *  dst,
const uint8_t *  src,
const uint8_t *  unused1,
const uint8_t *  unused2,
int  width,
uint32_t *  unused,
void *  opq 
)
static

Definition at line 645 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ read_ya16be_alpha_c()

static void read_ya16be_alpha_c ( uint8_t *  dst,
const uint8_t *  src,
const uint8_t *  unused1,
const uint8_t *  unused2,
int  width,
uint32_t *  unused,
void *  opq 
)
static

Definition at line 653 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ read_ayuv64le_Y_c()

static void read_ayuv64le_Y_c ( uint8_t *  dst,
const uint8_t *  src,
const uint8_t *  unused0,
const uint8_t *  unused1,
int  width,
uint32_t *  unused2,
void *  opq 
)
static

Definition at line 661 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ read_ayuv64be_Y_c()

static void read_ayuv64be_Y_c ( uint8_t *  dst,
const uint8_t *  src,
const uint8_t *  unused0,
const uint8_t *  unused1,
int  width,
uint32_t *  unused2,
void *  opq 
)
static

Definition at line 669 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ ayuv64le_UV_c()

static av_always_inline void ayuv64le_UV_c ( uint8_t *  dstU,
uint8_t *  dstV,
const uint8_t *  src,
int  width,
int  u_offset,
int  v_offset 
)
static

Definition at line 677 of file input.c.

◆ ayuv64be_UV_c()

static av_always_inline void ayuv64be_UV_c ( uint8_t *  dstU,
uint8_t *  dstV,
const uint8_t *  src,
int  width,
int  u_offset,
int  v_offset 
)
static

Definition at line 687 of file input.c.

◆ ayuv64_UV_funcs()

ayuv64_UV_funcs ( ayuv64  ,
,
 
)

Definition at line 710 of file input.c.

◆ read_ayuv64be_A_c()

static void read_ayuv64be_A_c ( uint8_t *  dst,
const uint8_t *  src,
const uint8_t *  unused0,
const uint8_t *  unused1,
int  width,
uint32_t *  unused2,
void *  opq 
)
static

Definition at line 721 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ read_vuyx_UV_c()

static void read_vuyx_UV_c ( uint8_t *  dstU,
uint8_t *  dstV,
const uint8_t *  unused0,
const uint8_t *  src,
const uint8_t *  unused1,
int  width,
uint32_t *  unused2,
void *  opq 
)
static

Definition at line 729 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ read_vuyx_Y_c()

static void read_vuyx_Y_c ( uint8_t *  dst,
const uint8_t *  src,
const uint8_t *  unused0,
const uint8_t *  unused1,
int  width,
uint32_t *  unused2,
void *  opq 
)
static

Definition at line 739 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ read_vuya_A_c()

static void read_vuya_A_c ( uint8_t *  dst,
const uint8_t *  src,
const uint8_t *  unused0,
const uint8_t *  unused1,
int  width,
uint32_t *  unused2,
void *  opq 
)
static

Definition at line 747 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ read_ayuv_UV_c()

static void read_ayuv_UV_c ( uint8_t *  dstU,
uint8_t *  dstV,
const uint8_t *  unused0,
const uint8_t *  src,
const uint8_t *  unused1,
int  width,
uint32_t *  unused2,
void *  opq 
)
static

Definition at line 755 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ read_ayuv_Y_c()

static void read_ayuv_Y_c ( uint8_t *  dst,
const uint8_t *  src,
const uint8_t *  unused0,
const uint8_t *  unused1,
int  width,
uint32_t *  unused2,
void *  opq 
)
static

Definition at line 765 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ read_ayuv_A_c()

static void read_ayuv_A_c ( uint8_t *  dst,
const uint8_t *  src,
const uint8_t *  unused0,
const uint8_t *  unused1,
int  width,
uint32_t *  unused2,
void *  opq 
)
static

Definition at line 773 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ read_uyva_UV_c()

static void read_uyva_UV_c ( uint8_t *  dstU,
uint8_t *  dstV,
const uint8_t *  unused0,
const uint8_t *  src,
const uint8_t *  unused1,
int  width,
uint32_t *  unused2,
void *  opq 
)
static

Definition at line 781 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ vyuToY_c()

static void vyuToY_c ( uint8_t *  dst,
const uint8_t *  src,
const uint8_t *  unused0,
const uint8_t *  unused1,
int  width,
uint32_t *  unused2,
void *  opq 
)
static

Definition at line 791 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ vyuToUV_c()

static void vyuToUV_c ( uint8_t *  dstU,
uint8_t *  dstV,
const uint8_t *  unused0,
const uint8_t *  src,
const uint8_t *  unused1,
int  width,
uint32_t *  unused2,
void *  opq 
)
static

Definition at line 799 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ read_v30xle_Y_c()

static void read_v30xle_Y_c ( uint8_t *  dst,
const uint8_t *  src,
const uint8_t *  unused0,
const uint8_t *  unused1,
int  width,
uint32_t *  unused2,
void *  opq 
)
static

Definition at line 809 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ read_v30xle_UV_c()

static void read_v30xle_UV_c ( uint8_t *  dstU,
uint8_t *  dstV,
const uint8_t *  unused0,
const uint8_t *  src,
const uint8_t *  unused1,
int  width,
uint32_t *  unused2,
void *  opq 
)
static

Definition at line 818 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ read_xv30le_Y_c()

static void read_xv30le_Y_c ( uint8_t *  dst,
const uint8_t *  src,
const uint8_t *  unused0,
const uint8_t *  unused1,
int  width,
uint32_t *  unused2,
void *  opq 
)
static

Definition at line 829 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ read_xv30le_UV_c()

static void read_xv30le_UV_c ( uint8_t *  dstU,
uint8_t *  dstV,
const uint8_t *  unused0,
const uint8_t *  src,
const uint8_t *  unused1,
int  width,
uint32_t *  unused2,
void *  opq 
)
static

Definition at line 838 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ read_xv36le_Y_c()

static void read_xv36le_Y_c ( uint8_t *  dst,
const uint8_t *  src,
const uint8_t *  unused0,
const uint8_t *  unused1,
int  width,
uint32_t *  unused2,
void *  opq 
)
static

Definition at line 848 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ read_xv36le_UV_c()

static void read_xv36le_UV_c ( uint8_t *  dstU,
uint8_t *  dstV,
const uint8_t *  unused0,
const uint8_t *  src,
const uint8_t *  unused1,
int  width,
uint32_t *  unused2,
void *  opq 
)
static

Definition at line 857 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ read_xv36be_Y_c()

static void read_xv36be_Y_c ( uint8_t *  dst,
const uint8_t *  src,
const uint8_t *  unused0,
const uint8_t *  unused1,
int  width,
uint32_t *  unused2,
void *  opq 
)
static

Definition at line 867 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ read_xv36be_UV_c()

static void read_xv36be_UV_c ( uint8_t *  dstU,
uint8_t *  dstV,
const uint8_t *  unused0,
const uint8_t *  src,
const uint8_t *  unused1,
int  width,
uint32_t *  unused2,
void *  opq 
)
static

Definition at line 876 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ uyvyToY_c()

static void uyvyToY_c ( uint8_t *  dst,
const uint8_t *  src,
const uint8_t *  unused1,
const uint8_t *  unused2,
int  width,
uint32_t *  unused,
void *  opq 
)
static

Definition at line 888 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ uyvyToUV_c()

static void uyvyToUV_c ( uint8_t *  dstU,
uint8_t *  dstV,
const uint8_t *  unused0,
const uint8_t *  src1,
const uint8_t *  src2,
int  width,
uint32_t *  unused,
void *  opq 
)
static

Definition at line 896 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ nvXXtoUV_c()

static av_always_inline void nvXXtoUV_c ( uint8_t *  dst1,
uint8_t *  dst2,
const uint8_t *  src,
int  width 
)
static

Definition at line 907 of file input.c.

Referenced by nv12ToUV_c(), and nv21ToUV_c().

◆ nv12ToUV_c()

static void nv12ToUV_c ( uint8_t *  dstU,
uint8_t *  dstV,
const uint8_t *  unused0,
const uint8_t *  src1,
const uint8_t *  src2,
int  width,
uint32_t *  unused,
void *  opq 
)
static

Definition at line 917 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ nv21ToUV_c()

static void nv21ToUV_c ( uint8_t *  dstU,
uint8_t *  dstV,
const uint8_t *  unused0,
const uint8_t *  src1,
const uint8_t *  src2,
int  width,
uint32_t *  unused,
void *  opq 
)
static

Definition at line 924 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ p01x_wrapper()

p01x_wrapper ( 10  ,
 
)

Definition at line 982 of file input.c.

◆ bgr24ToUV_c()

static void bgr24ToUV_c ( uint8_t *  _dstU,
uint8_t *  _dstV,
const uint8_t *  unused0,
const uint8_t *  src1,
const uint8_t *  src2,
int  width,
uint32_t *  rgb2yuv,
void *  opq 
)
static

Definition at line 1001 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ bgr24ToUV_half_c()

static void bgr24ToUV_half_c ( uint8_t *  _dstU,
uint8_t *  _dstV,
const uint8_t *  unused0,
const uint8_t *  src1,
const uint8_t *  src2,
int  width,
uint32_t *  rgb2yuv,
void *  opq 
)
static

Definition at line 1020 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ rgb24ToY_c()

static void rgb24ToY_c ( uint8_t *  _dst,
const uint8_t *  src,
const uint8_t *  unused1,
const uint8_t *  unused2,
int  width,
uint32_t *  rgb2yuv,
void *  opq 
)
static

Definition at line 1039 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ rgb24ToUV_c()

static void rgb24ToUV_c ( uint8_t *  _dstU,
uint8_t *  _dstV,
const uint8_t *  unused0,
const uint8_t *  src1,
const uint8_t *  src2,
int  width,
uint32_t *  rgb2yuv,
void *  opq 
)
static

Definition at line 1054 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ rgb24ToUV_half_c()

static void rgb24ToUV_half_c ( uint8_t *  _dstU,
uint8_t *  _dstV,
const uint8_t *  unused0,
const uint8_t *  src1,
const uint8_t *  src2,
int  width,
uint32_t *  rgb2yuv,
void *  opq 
)
static

Definition at line 1073 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ planar_rgb_to_y()

static void planar_rgb_to_y ( uint8_t *  _dst,
const uint8_t *  src[4],
int  width,
int32_t rgb2yuv,
void *  opq 
)
static

Definition at line 1092 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ planar_rgb_to_a()

static void planar_rgb_to_a ( uint8_t *  _dst,
const uint8_t *  src[4],
int  width,
int32_t unused,
void *  opq 
)
static

Definition at line 1106 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ planar_rgb_to_uv()

static void planar_rgb_to_uv ( uint8_t *  _dstU,
uint8_t *  _dstV,
const uint8_t *  src[4],
int  width,
int32_t rgb2yuv,
void *  opq 
)
static

Definition at line 1114 of file input.c.

Referenced by rgbaf16_funcs_endian().

◆ planar_rgb16_to_y()

static av_always_inline void planar_rgb16_to_y ( uint8_t *  _dst,
const uint8_t *  _src[4],
int  width,
int  bpc,
int  is_be,
int32_t rgb2yuv 
)
static

Definition at line 1133 of file input.c.

◆ planar_rgb16_to_a()

static av_always_inline void planar_rgb16_to_a ( uint8_t *  _dst,
const uint8_t *  _src[4],
int  width,
int  bpc,
int  is_be,
int32_t rgb2yuv 
)
static

Definition at line 1150 of file input.c.

◆ planar_rgb16_to_uv()

static av_always_inline void planar_rgb16_to_uv ( uint8_t *  _dstU,
uint8_t *  _dstV,
const uint8_t *  _src[4],
int  width,
int  bpc,
int  is_be,
int32_t rgb2yuv 
)
static

Definition at line 1163 of file input.c.

◆ planar_rgbf32_to_a()

static av_always_inline void planar_rgbf32_to_a ( uint8_t *  _dst,
const uint8_t *  _src[4],
int  width,
int  is_be,
int32_t rgb2yuv 
)
static

Definition at line 1187 of file input.c.

◆ planar_rgbf32_to_uv()

static av_always_inline void planar_rgbf32_to_uv ( uint8_t *  _dstU,
uint8_t *  _dstV,
const uint8_t *  _src[4],
int  width,
int  is_be,
int32_t rgb2yuv 
)
static

Definition at line 1198 of file input.c.

◆ planar_rgbf32_to_y()

static av_always_inline void planar_rgbf32_to_y ( uint8_t *  _dst,
const uint8_t *  _src[4],
int  width,
int  is_be,
int32_t rgb2yuv 
)
static

Definition at line 1217 of file input.c.

◆ rgbf32_to_uv_c()

static av_always_inline void rgbf32_to_uv_c ( uint8_t *  _dstU,
uint8_t *  _dstV,
const uint8_t *  unused1,
const uint8_t *  _src,
const uint8_t *  unused2,
int  width,
int  is_be,
int32_t rgb2yuv 
)
static

Definition at line 1234 of file input.c.

◆ rgbf32_to_y_c()

static av_always_inline void rgbf32_to_y_c ( uint8_t *  _dst,
const uint8_t *  _src,
const uint8_t *  unused1,
const uint8_t *  unused2,
int  width,
int  is_be,
int32_t rgb2yuv 
)
static

Definition at line 1255 of file input.c.

◆ grayf32ToY16_c()

static av_always_inline void grayf32ToY16_c ( uint8_t *  _dst,
const uint8_t *  _src,
const uint8_t *  unused1,
const uint8_t *  unused2,
int  width,
int  is_be,
uint32_t *  unused 
)
static

Definition at line 1274 of file input.c.

◆ rgb9plus_planar_funcs()

rgb9plus_planar_funcs ( )

Definition at line 1319 of file input.c.

◆ rgbaf16ToUV_endian()

static av_always_inline void rgbaf16ToUV_endian ( uint16_t *  dstU,
uint16_t *  dstV,
int  is_be,
const uint16_t *  src,
int  width,
int32_t rgb2yuv,
Half2FloatTables h2f_tbl 
)
static

Definition at line 1393 of file input.c.

◆ rgbaf16ToY_endian()

static av_always_inline void rgbaf16ToY_endian ( uint16_t *  dst,
const uint16_t *  src,
int  is_be,
int  width,
int32_t rgb2yuv,
Half2FloatTables h2f_tbl 
)
static

Definition at line 1410 of file input.c.

◆ rgbaf16ToA_endian()

static av_always_inline void rgbaf16ToA_endian ( uint16_t *  dst,
const uint16_t *  src,
int  is_be,
int  width,
Half2FloatTables h2f_tbl 
)
static

Definition at line 1424 of file input.c.

◆ rgbf16ToUV_half_endian()

static av_always_inline void rgbf16ToUV_half_endian ( uint16_t *  dstU,
uint16_t *  dstV,
int  is_be,
const uint16_t *  src,
int  width,
int32_t rgb2yuv,
Half2FloatTables h2f_tbl 
)
static

Definition at line 1433 of file input.c.

◆ rgbf16ToUV_endian()

static av_always_inline void rgbf16ToUV_endian ( uint16_t *  dstU,
uint16_t *  dstV,
int  is_be,
const uint16_t *  src,
int  width,
int32_t rgb2yuv,
Half2FloatTables h2f_tbl 
)
static

Definition at line 1453 of file input.c.

◆ rgbf16ToY_endian()

static av_always_inline void rgbf16ToY_endian ( uint16_t *  dst,
const uint16_t *  src,
int  is_be,
int  width,
int32_t rgb2yuv,
Half2FloatTables h2f_tbl 
)
static

Definition at line 1470 of file input.c.

◆ rgbaf16_funcs_endian()

rgbaf16_funcs_endian ( le  ,
 
)

Definition at line 1555 of file input.c.

be
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it be(in the first position) for now. Options ------- Then comes the options array. This is what will define the user accessible options. For example
_dst
uint8_t * _dst
Definition: dsp.h:52
name
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default minimum maximum flags name is the option name
Definition: writing_filters.txt:88
src1
const pixel * src1
Definition: h264pred_template.c:421
w
uint8_t w
Definition: llviddspenc.c:38
rgb2yuv
static const char rgb2yuv[]
Definition: vf_scale_vulkan.c:69
AV_PIX_FMT_BGRA
@ AV_PIX_FMT_BGRA
packed BGRA 8:8:8:8, 32bpp, BGRABGRA...
Definition: pixfmt.h:102
_src
uint8_t ptrdiff_t const uint8_t * _src
Definition: dsp.h:52
S
#define S(s, c, i)
Definition: flacdsp_template.c:46
dummy
int dummy
Definition: motion.c:66
tab
static const struct twinvq_data tab
Definition: twinvq_data.h:10345
bits
uint8_t bits
Definition: vp3data.h:128
RGB16_32FUNCS_EXT
#define RGB16_32FUNCS_EXT(fmt, name, shr, shg, shb, shp, maskr, maskg, maskb, rsh, gsh, bsh, S, is_be)
Definition: input.c:359
AV_RL16
uint64_t_TMPL AV_WL64 unsigned int_TMPL AV_WL32 unsigned int_TMPL AV_WL24 unsigned int_TMPL AV_RL16
Definition: bytestream.h:94
AV_PIX_FMT_RGBA
@ AV_PIX_FMT_RGBA
packed RGBA 8:8:8:8, 32bpp, RGBARGBA...
Definition: pixfmt.h:100
rgb9plus_planar_funcs_endian
#define rgb9plus_planar_funcs_endian(nbits, endian_name, endian)
Definition: input.c:1288
V
#define V
Definition: avdct.c:31
AV_PIX_FMT_ABGR
@ AV_PIX_FMT_ABGR
packed ABGR 8:8:8:8, 32bpp, ABGRABGR...
Definition: pixfmt.h:101
AV_PIX_FMT_X2RGB10LE
@ AV_PIX_FMT_X2RGB10LE
packed RGB 10:10:10, 30bpp, (msb)2X 10R 10G 10B(lsb), little-endian, X=unused/undefined
Definition: pixfmt.h:384
shift
static int shift(int a, int b)
Definition: bonk.c:261
dst
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
Definition: dsp.h:83
IS_BE
#define IS_BE(ENDIAN_IDENTIFIER)
Definition: input.c:38
AV_PIX_FMT_ARGB
@ AV_PIX_FMT_ARGB
packed ARGB 8:8:8:8, 32bpp, ARGBARGB...
Definition: pixfmt.h:99
i
#define i(width, name, range_min, range_max)
Definition: cbs_h2645.c:256
src2
const pixel * src2
Definition: h264pred_template.c:422
AV_RN32A
#define AV_RN32A(p)
Definition: intreadwrite.h:522
pixfmt
enum AVPixelFormat pixfmt
Definition: kmsgrab.c:367
AV_RL32
uint64_t_TMPL AV_WL64 unsigned int_TMPL AV_RL32
Definition: bytestream.h:92
U
#define U(x)
Definition: vpx_arith.h:37
AV_PIX_FMT_X2BGR10LE
@ AV_PIX_FMT_X2BGR10LE
packed BGR 10:10:10, 30bpp, (msb)2X 10B 10G 10R(lsb), little-endian, X=unused/undefined
Definition: pixfmt.h:386
int32_t
int32_t
Definition: audioconvert.c:56
width
#define width
Definition: dsp.h:85
src
#define src
Definition: vp8dsp.c:248
AV_RB16
uint64_t_TMPL AV_WL64 unsigned int_TMPL AV_WL32 unsigned int_TMPL AV_WL24 unsigned int_TMPL AV_WL16 uint64_t_TMPL AV_WB64 unsigned int_TMPL AV_WB32 unsigned int_TMPL AV_WB24 unsigned int_TMPL AV_RB16
Definition: bytestream.h:98
AV_WN16
#define AV_WN16(p, v)
Definition: intreadwrite.h:368