FFmpeg
Macros | Functions | Variables
input.c File Reference
#include <math.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "libavutil/avutil.h"
#include "libavutil/bswap.h"
#include "libavutil/cpu.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"
#include "libavutil/pixdesc.h"
#include "libavutil/avassert.h"
#include "config.h"
#include "rgb2rgb.h"
#include "swscale.h"
#include "swscale_internal.h"

Go to the source code of this file.

Macros

#define input_pixel(pos)   (isBE(origin) ? AV_RB16(pos) : AV_RL16(pos))
 
#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(pattern, BE_LE, origin)
 
#define rgb48funcs(pattern, BE_LE, origin)
 
#define input_pixel(i)
 
#define rgb16_32_wrapper(fmt, name, shr, shg, shb, shp, maskr, maskg, maskb, rsh, gsh, bsh, S)
 
#define input_pixel(pos)   (isBE(origin) ? AV_RB16(pos) : AV_RL16(pos))
 
#define rdpx(src)   is_be ? AV_RB16(src) : AV_RL16(src)
 
#define rgb9plus_planar_funcs_endian(nbits, endian_name, endian)
 
#define rgb9plus_planar_transparency_funcs(nbits)
 
#define rgb9plus_planar_funcs(nbits)
 

Functions

static av_always_inline void rgb64ToY_c_template (uint16_t *dst, const uint16_t *src, int width, enum AVPixelFormat origin, int32_t *rgb2yuv)
 
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)
 
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)
 
 rgb64funcs (rgb64funcs(rgb, rgb64funcs(LE, AV_PIX_FMT_RGBA64LE)
 
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)
 
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)
 
 rgb48funcs (rgb48funcs(rgb, rgb48funcs(LE, AV_PIX_FMT_RGB48LE)
 
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)
 
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)
 
 rgb16_32_wrapper (AV_PIX_FMT_BGR32, bgr32, 16, 0, 0, 0, 0xFF0000, 0xFF00, 0x00FF, 8, 0, 8, RGB2YUV_SHIFT+8) rgb16_32_wrapper(AV_PIX_FMT_BGR32_1
 
RGB2YUV_SHIFT rgb16_32_wrapper (AV_PIX_FMT_RGB32, rgb32, 0, 0, 16, 0, 0x00FF, 0xFF00, 0xFF0000, 8, 0, 8, RGB2YUV_SHIFT+8) rgb16_32_wrapper(AV_PIX_FMT_RGB32_1
 
RGB2YUV_SHIFT RGB2YUV_SHIFT rgb16_32_wrapper (AV_PIX_FMT_BGR565LE, bgr16le, 0, 0, 0, 0, 0x001F, 0x07E0, 0xF800, 11, 5, 0, RGB2YUV_SHIFT+8) rgb16_32_wrapper(AV_PIX_FMT_BGR555LE
 
RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT rgb16_32_wrapper (AV_PIX_FMT_BGR444LE, bgr12le, 0, 0, 0, 0, 0x000F, 0x00F0, 0x0F00, 8, 4, 0, RGB2YUV_SHIFT+4) rgb16_32_wrapper(AV_PIX_FMT_RGB565LE
 
RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT rgb16_32_wrapper (AV_PIX_FMT_RGB555LE, rgb15le, 0, 0, 0, 0, 0x7C00, 0x03E0, 0x001F, 0, 5, 10, RGB2YUV_SHIFT+7) rgb16_32_wrapper(AV_PIX_FMT_RGB444LE
 
RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT rgb16_32_wrapper (AV_PIX_FMT_BGR565BE, bgr16be, 0, 0, 0, 0, 0x001F, 0x07E0, 0xF800, 11, 5, 0, RGB2YUV_SHIFT+8) rgb16_32_wrapper(AV_PIX_FMT_BGR555BE
 
RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT rgb16_32_wrapper (AV_PIX_FMT_BGR444BE, bgr12be, 0, 0, 0, 0, 0x000F, 0x00F0, 0x0F00, 8, 4, 0, RGB2YUV_SHIFT+4) rgb16_32_wrapper(AV_PIX_FMT_RGB565BE
 
RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT rgb16_32_wrapper (AV_PIX_FMT_RGB555BE, rgb15be, 0, 0, 0, 0, 0x7C00, 0x03E0, 0x001F, 0, 5, 10, RGB2YUV_SHIFT+7) rgb16_32_wrapper(AV_PIX_FMT_RGB444BE
 
RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT static RGB2YUV_SHIFT 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)
 
static void rgba64leToA_c (uint8_t *_dst, const uint8_t *_src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused)
 
static void rgba64beToA_c (uint8_t *_dst, const uint8_t *_src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused)
 
static void abgrToA_c (uint8_t *_dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused)
 
static void rgbaToA_c (uint8_t *_dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused)
 
static void palToA_c (uint8_t *_dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *pal)
 
static void palToY_c (uint8_t *_dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *pal)
 
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)
 
static void monowhite2Y_c (uint8_t *_dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused)
 
static void monoblack2Y_c (uint8_t *_dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused)
 
static void yuy2ToY_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused)
 
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)
 
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)
 
static void bswap16Y_c (uint8_t *_dst, const uint8_t *_src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
static void read_ayuv64le_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)
 
static void read_ayuv64le_A_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused0, const uint8_t *unused1, int width, uint32_t *unused2)
 
static void uyvyToY_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused)
 
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)
 
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)
 
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)
 
static void p010LEToY_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused)
 
static void p010BEToY_c (uint8_t *dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused)
 
static void p010LEToUV_c (uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src1, const uint8_t *src2, int width, uint32_t *unused)
 
static void p010BEToUV_c (uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src1, const uint8_t *src2, int width, uint32_t *unused)
 
static void p016LEToUV_c (uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src1, const uint8_t *src2, int width, uint32_t *unused)
 
static void p016BEToUV_c (uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, const uint8_t *src1, const uint8_t *src2, int width, uint32_t *unused)
 
static void bgr24ToY_c (uint8_t *_dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *rgb2yuv)
 
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)
 
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)
 
static void rgb24ToY_c (uint8_t *_dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *rgb2yuv)
 
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)
 
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)
 
static void planar_rgb_to_y (uint8_t *_dst, const uint8_t *src[4], int width, int32_t *rgb2yuv)
 
static void planar_rgb_to_a (uint8_t *_dst, const uint8_t *src[4], int width, int32_t *unused)
 
static void planar_rgb_to_uv (uint8_t *_dstU, uint8_t *_dstV, const uint8_t *src[4], int width, int32_t *rgb2yuv)
 
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 grayf32ToY16_c (uint8_t *_dst, const uint8_t *_src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused)
 
static av_always_inline void grayf32ToY16_bswap_c (uint8_t *_dst, const uint8_t *_src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused)
 
 rgb9plus_planar_funcs (9)
 

Variables

 bgr321
 
RGB2YUV_SHIFT rgb321
 
RGB2YUV_SHIFT RGB2YUV_SHIFT bgr15le
 
RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT rgb16le
 
RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT rgb12le
 
RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT bgr15be
 
RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT rgb16be
 
RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT rgb12be
 

Macro Definition Documentation

◆ input_pixel [1/3]

#define input_pixel (   pos)    (isBE(origin) ? AV_RB16(pos) : AV_RL16(pos))

Definition at line 744 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 add_bytes_c(), add_bytes_l2_c(), add_cb(), add_hfyu_left_pred_bgr32_c(), add_int16_c(), alias_pix_read_probe(), alloc_buffer(), apng_find_chunk(), apply_band_extension(), apply_gain(), apply_intensity_stereo(), apply_scalefactors(), ARRAY_RENAME(), ascii_to_wc(), atrac9_decode_block(), atrac9_decode_flush(), av_add_i(), av_add_q(), av_add_sf(), 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_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_dadd32_c(), av_sat_dsub32_c(), av_sat_sub32_c(), av_size_mult(), av_strcasecmp(), av_strncasecmp(), av_sub_i(), av_sub_q(), av_sub_sf(), avg2(), avg2_no_rnd(), avg_pixels16_l2_shift5_mmi(), avg_pixels8_l2_shift5_mmi(), avio_w8(), avpriv_set_systematic_pal2(), avpriv_trc_arib_std_b67(), avpriv_trc_bt1361(), avpriv_trc_bt709(), avpriv_trc_iec61966_2_1(), avpriv_trc_iec61966_2_4(), avpriv_trc_smpte240M(), bgr24ToUV_c(), bgr24ToUV_half_c(), bgr24ToY_c(), bidir_refine(), binkb_read_bundle(), biquad_process(), block_matching_multi(), blur_power(), bmp_probe(), body(), bprint_color(), bprint_pascal(), buffer_replace(), build_canonical_huff(), build_huffman(), bval2bmax(), bytestream_get_buffer(), bytestream_put_buffer(), calc_precision(), calc_sum5(), calculate_visual_weight(), can_merge_formats(), cbs_av1_get_relative_dist(), cbs_vp9_read_le(), cbs_vp9_write_le(), cdata_probe(), cdg_load_palette(), cdg_tile_block(), cdxl_decode_ham6(), cdxl_decode_ham8(), 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(), 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(), cmp(), cmp_color(), cmp_func_names(), cmp_intervals(), cmp_nop(), cmp_pal_entry(), cmp_pkt_sub_pos_ts(), cmp_pkt_sub_ts_pos(), cmp_scores(), cmp_str(), codeblock(), color_correlation(), color_decorrelation(), color_distance(), color_get(), color_hash(), comb_c(), 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_lpc_coefs(), compute_metric(), compute_mod(), config_output(), constrain_rgb(), correlate(), correlate_slice_buffered(), count_hq_slice(), cqt_calc(), create_luma_lut(), cubic_interpolate_func(), dds_probe(), debug_accuracy(), 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_coeffs(), decode_component(), decode_delta_j(), decode_frame(), decode_gain_control(), decode_hybrid(), decode_init(), decode_mode(), decode_pal(), decode_plte_chunk(), decode_predictor_coeffs(), decode_raw_intra_rgb(), decode_rgb(), decode_rgb_frame_TMPL(), decode_rgbi(), decode_rgbx(), decode_rgbxi(), decode_rle(), decode_run_i(), decode_run_p(), decode_sb_mem(), decode_scale_factors(), 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_zp2biquads(), decompress(), decompress_2(), decompress_5(), decompress_68(), decompress_i(), decompress_i3(), decompress_p(), decompress_p3(), decorrelate(), decorrelate_ls(), decorrelate_sf(), decorrelate_sm(), decorrelate_sr(), decorrelate_stereo(), deInterlaceBlendLinear_TMPL(), deInterlaceInterpolateLinear_TMPL(), deInterlaceMedian_TMPL(), dequantize(), dequantize_slice_buffered(), diff(), diff_bytes_c(), diff_c(), diff_int16_c(), distance_limited(), do_colorhold_slice(), do_colorkey_pixel(), do_lumakey_slice16(), do_lumakey_slice8(), double_near_abs_eps(), double_near_abs_eps_array(), dpx_probe(), draw_response(), dump_spherical(), dv_encode_video_segment(), dv_guess_qnos(), dvbsub_init_decoder(), dvbsub_parse_clut_segment(), dwt_plane(), dx2_decode_slice_5x5(), encode_15_7(), encode_all_blocks(), encode_bgr(), encode_block(), encode_dvb_subtitles(), encode_frame(), encode_init(), encode_picture(), encode_q_branch2(), encode_residual_fixed(), encode_rgb_frame_TMPL(), encode_subband(), encode_subband_c0run(), encode_superframe(), encode_zlib(), encode_zlibprime(), eval_sse(), evaluate_parameters(), exr_probe(), extract_line(), 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_dirac_golomb_read_16bit(), ff_dirac_golomb_read_32bit(), ff_dot_product(), ff_dot_productf(), ff_dsd2pcm_translate(), ff_eac3_decode_transform_coeffs_aht_ch(), ff_eval_refl(), 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_chroma_dc_dequant_idct_8_mmi(), 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_merge_channel_layouts(), ff_merge_formats(), ff_merge_samplerates(), ff_mjpeg_decode_frame(), ff_mjpeg_find_marker(), ff_mpeg4_pred_dc(), ff_msmpeg4_coded_block_pred(), ff_msmpeg4_pred_dc(), ff_nut_sp_pos_cmp(), ff_nut_sp_pts_cmp(), ff_opus_rc_enc_uint_step(), 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_rgb24toyv12_c(), ff_rms(), ff_snow_common_end(), ff_snow_common_init_after_header(), ff_snow_horizontal_compose97i(), ff_sqrt(), ff_sws_alphablendaway(), ff_u8_to_s8(), ff_ut10_huff_cmp_len(), ff_ut_huff_cmp_len(), 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_wma_init(), ffat_compare_channel_descriptions(), ffio_fill(), fill24(), fill_elements(), fill_in_tongue(), fill_lut(), 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_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_header_obu(), gamma_convert(), gamma_correct_rgb(), gbr24pToUV_half_c(), gdv_decode_frame(), gdv_read_header(), gen_image(), gen_sub_bitmap(), generate_joint_tables(), generate_window_func(), get_4block_rd(), get_avg_color(), get_band_noise(), get_block_bits(), get_block_size(), get_block_sizes(), get_block_sum(), get_bs(), get_cmy_scale(), get_dc(), get_default_pattern_localtime_fmt(), get_dst_color_err(), get_matching_parameters(), get_next_color(), get_palette_frame(), get_rgb_scale(), get_shift(), getSplineCoeff(), gfmul(), global_mv(), glyph_cmp(), gsm_mult(), gsm_probe(), guess_palette(), h264_filter_mb_fast_internal(), h_block_filter(), hable(), 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(), huff_cmp(), huff_cmp_len(), huff_cmp_len10(), huff_cmp_len12(), huff_cmp_sym(), id3v2_parse(), idcin_read_packet(), if(), ilog2(), import_palette(), incr_cntdec(), init(), init_axis_color(), init_blocks(), init_planes(), int_sqrt(), inter_pred(), inter_recon(), interleave(), interpol(), intra_recon(), inv_cdf(), inv_log_scale(), invert_step(), ipmovie_probe(), iterate_frame(), iterative_me(), ivi_free_buffers(), ivi_init_tiles(), j2k_probe(), jp2_find_codestream(), jpeg_probe(), jpegls_probe(), k12(), k13(), k23(), k24(), k34(), k35(), k44(), k45(), latm_get_value(), lbr_bank_c(), lfe_fir_fixed_c(), lfe_fir_float_c(), lfe_x96_fixed_c(), lfe_x96_float_c(), limit_gain(), linear(), loco_predict(), log16(), log_add(), log_scale(), LOOP_FILTER(), MAC64(), magy_decode_slice(), magy_decode_slice10(), magy_encode_frame(), magy_huff_cmp_len(), main(), make_cdt15_entry(), make_cdt16_entry(), make_cdt24_entry(), map_idx_34_to_20(), mark_all_blocks(), mc_block(), median4(), mid_pred(), minima_cmp(), mix_core(), mkv_write_video_projection(), MLS64(), mobius(), 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(), multiswap_dec(), multiswap_enc(), mxf_absolute_bodysid_offset(), mxf_get_next_track_edit_unit(), mxf_read_sync(), next_byte(), nlmeans_slice(), no_rnd_avg32(), no_rnd_avg64(), on2avc_apply_ms(), on2avc_decode_band_scales(), on2avc_read_channel_data(), on2avc_read_ms_info(), optimize_colors(), opus_rc_enc_update(), output_audio_block(), pack16to32(), pack8to16(), paf_video_decode(), parse_3dl(), parse_band_ext(), parse_gradient(), parse_ifo_palette(), parse_mantissas(), parse_palette(), parse_palette_segment(), parse_pixel_format(), pcx_probe(), pictor_probe(), planar_rgb16_to_uv(), planar_rgb16_to_y(), planar_rgb_to_uv(), planar_rgb_to_y(), png_filter_row(), png_get_interlaced_row(), png_probe(), png_put_interlaced_row(), pnm_magic_check(), pnm_probe(), pop_greys(), pop_integer(), pow_m1_4(), pred16x16_vertical(), pred8x16_plane(), pred8x16_vertical(), pred8x8_plane(), pred8x8_vertical(), pred8x8l_vertical(), pred_spatial_direct_motion(), premult2straight(), print_audio_bytes(), print_pkt_side_data(), probe(), process_ipmovie_chunk(), 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(), ratecontrol_1pass(), rd_frame(), read16(), read32(), read_block_types(), 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(), restore_rgb_planes10_c(), restore_rgb_planes_c(), resync(), rgb12to15(), rgb16_32ToUV_c_template(), rgb16_32ToUV_half_c_template(), rgb24_to_yuv420p(), rgb24to15_c(), rgb24to15_TMPL(), rgb24to16_c(), rgb24to16_TMPL(), rgb24tobgr15_c(), rgb24tobgr15_TMPL(), rgb24tobgr16_c(), rgb24tobgr16_TMPL(), rgb24ToUV_c(), rgb24ToUV_half_c(), rgb24ToY_c(), rgb48funcs(), rgb48ToUV_c_template(), rgb48ToUV_half_c_template(), rgb48Toxyz12(), rgb64funcs(), rgb64ToUV_c_template(), rgb64ToUV_half_c_template(), rgb64ToY_c_template(), rgb_to_yuv(), rgba2ycocg(), 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(), search_for_quantizers_fast(), search_for_quantizers_twoloop(), search_frag_moof_offset(), search_frag_timestamp(), seq_decode_op1(), set_frame(), set_hp(), set_lp(), set_palette(), set_string_binary(), setup_derivative_buffers(), sgi_probe(), sha1_transform(), sha256_transform(), sha512_transform(), shift(), shift_down(), silk_decode_excitation(), 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(), ssim_4x4x2_core(), ssim_4x4xn_16bit(), ssim_4x4xn_8bit(), sub_left_prediction_bgr32(), sub_left_prediction_rgb24(), sub_png_paeth_prediction(), subband_coeffs(), sum_bits(), sunrast_probe(), svg_probe(), sws_addVec(), sws_convVec(), sws_diffVec(), sws_getConvVec(), sws_scale(), sws_subVec(), sws_sumVec(), synth_filter_fixed(), synth_filter_fixed_64(), synth_filter_float(), synth_filter_float_64(), t15(), t27(), t37(), tgq_calculate_qtable(), tiff_probe(), transform_step(), 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(), utf8len(), v_block_filter(), vb_decode_framedata(), 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_slice8(), 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(), vqa_decode_chunk(), 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_matrix(), x8_get_prediction(), xan_decode_frame(), xface_decode_frame(), xface_encode_frame(), xpm_probe(), xwd_probe(), xyz12Torgb48(), xyz_to_rgb(), yae_load_data(), yae_load_frag(), yae_overlap_add(), ycocg2rgba(), yuv2rgb_1_c_template(), yuv2rgb_2_c_template(), yuv2rgb_write(), yuv2rgb_write_full(), yuv2rgb_X_c_template(), yuv_a_to_rgba(), yuv_from_cqt(), yuv_to_rgba(), and zero_remaining().

◆ rgb64funcs

#define rgb64funcs (   pattern,
  BE_LE,
  origin 
)
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) \
{ \
const uint16_t *src = (const uint16_t *) _src; \
uint16_t *dst = (uint16_t *) _dst; \
rgb64ToY_c_template(dst, src, width, origin, rgb2yuv); \
} \
\
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) \
{ \
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); \
} \
\
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) \
{ \
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); \
}

Definition at line 96 of file input.c.

◆ rgb48funcs

#define rgb48funcs (   pattern,
  BE_LE,
  origin 
)

Definition at line 197 of file input.c.

◆ input_pixel [2/3]

#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]) \
: (isBE(origin) ? AV_RB16(&src[(i) * 2]) \
: AV_RL16(&src[(i) * 2])))

Definition at line 744 of file input.c.

◆ rgb16_32_wrapper

#define rgb16_32_wrapper (   fmt,
  name,
  shr,
  shg,
  shb,
  shp,
  maskr,
  maskg,
  maskb,
  rsh,
  gsh,
  bsh,
  S 
)
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) \
{ \
rgb16_32ToY_c_template((int16_t*)dst, src, width, fmt, shr, shg, shb, shp, \
maskr, maskg, maskb, rsh, gsh, bsh, S, tab); \
} \
\
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) \
{ \
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);\
} \
\
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) \
{ \
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); \
}

Definition at line 349 of file input.c.

◆ input_pixel [3/3]

#define input_pixel (   pos)    (isBE(origin) ? AV_RB16(pos) : AV_RL16(pos))

Definition at line 744 of file input.c.

◆ rdpx

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

Definition at line 891 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) \
{ \
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) \
{ \
planar_rgb16_to_uv(dstU, dstV, src, w, nbits, endian, rgb2yuv); \
} \

Definition at line 969 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) \
{ \
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) \
{ \
planar_rgb16_to_a(dst, src, w, nbits, 1, rgb2yuv); \
}

Definition at line 981 of file input.c.

◆ rgb9plus_planar_funcs

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

Definition at line 993 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 
)
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 
)
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 
)
static

Definition at line 78 of file input.c.

◆ rgb64funcs()

rgb64funcs ( rgb64funcs(  rgb,
rgb64funcs(  LE,
AV_PIX_FMT_RGBA64LE   
)

Definition at line 125 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 
)
static

Definition at line 146 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 
)
static

Definition at line 168 of file input.c.

◆ rgb48funcs()

rgb48funcs ( rgb48funcs(  rgb,
rgb48funcs(  LE,
AV_PIX_FMT_RGB48LE   
)

Definition at line 239 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 
)
static

Definition at line 277 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 
)
static

Definition at line 305 of file input.c.

◆ rgb16_32_wrapper() [1/8]

rgb16_32_wrapper ( AV_PIX_FMT_BGR32  ,
bgr32  ,
16  ,
,
,
,
0xFF0000  ,
0xFF00  ,
0x00FF  ,
,
,
,
RGB2YUV_SHIFT 8 
)

◆ rgb16_32_wrapper() [2/8]

RGB2YUV_SHIFT rgb16_32_wrapper ( AV_PIX_FMT_RGB32  ,
rgb32  ,
,
,
16  ,
,
0x00FF  ,
0xFF00  ,
0xFF0000  ,
,
,
,
RGB2YUV_SHIFT 8 
)

◆ rgb16_32_wrapper() [3/8]

RGB2YUV_SHIFT RGB2YUV_SHIFT rgb16_32_wrapper ( AV_PIX_FMT_BGR565LE  ,
bgr16le  ,
,
,
,
,
0x001F  ,
0x07E0  ,
0xF800  ,
11  ,
,
,
RGB2YUV_SHIFT 8 
)

◆ rgb16_32_wrapper() [4/8]

RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT rgb16_32_wrapper ( AV_PIX_FMT_BGR444LE  ,
bgr12le  ,
,
,
,
,
0x000F  ,
0x00F0  ,
0x0F00  ,
,
,
,
RGB2YUV_SHIFT 4 
)

◆ rgb16_32_wrapper() [5/8]

RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT rgb16_32_wrapper ( AV_PIX_FMT_RGB555LE  ,
rgb15le  ,
,
,
,
,
0x7C00  ,
0x03E0  ,
0x001F  ,
,
,
10  ,
RGB2YUV_SHIFT 7 
)

◆ rgb16_32_wrapper() [6/8]

RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT rgb16_32_wrapper ( AV_PIX_FMT_BGR565BE  ,
bgr16be  ,
,
,
,
,
0x001F  ,
0x07E0  ,
0xF800  ,
11  ,
,
,
RGB2YUV_SHIFT 8 
)

◆ rgb16_32_wrapper() [7/8]

RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT rgb16_32_wrapper ( AV_PIX_FMT_BGR444BE  ,
bgr12be  ,
,
,
,
,
0x000F  ,
0x00F0  ,
0x0F00  ,
,
,
,
RGB2YUV_SHIFT 4 
)

◆ rgb16_32_wrapper() [8/8]

RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT rgb16_32_wrapper ( AV_PIX_FMT_RGB555BE  ,
rgb15be  ,
,
,
,
,
0x7C00  ,
0x03E0  ,
0x001F  ,
,
,
10  ,
RGB2YUV_SHIFT 7 
)

◆ gbr24pToUV_half_c()

RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT static RGB2YUV_SHIFT 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 
)
static

Definition at line 395 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 415 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 425 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 435 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 444 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 453 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 464 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 475 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 491 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 508 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 525 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 533 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 544 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ bswap16Y_c()

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

Definition at line 555 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 565 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 578 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 586 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 594 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 602 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 610 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ read_ayuv64le_UV_c()

static void read_ayuv64le_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 
)
static

Definition at line 619 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ read_ayuv64le_A_c()

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

Definition at line 629 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 639 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 647 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 658 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 
)
static

Definition at line 668 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 675 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ p010LEToY_c()

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

Definition at line 682 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ p010BEToY_c()

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

Definition at line 691 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ p010LEToUV_c()

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

Definition at line 700 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ p010BEToUV_c()

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

Definition at line 711 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ p016LEToUV_c()

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

Definition at line 722 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ p016BEToUV_c()

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

Definition at line 733 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ bgr24ToY_c()

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

Definition at line 746 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 761 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 780 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 799 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 814 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 833 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ planar_rgb_to_y()

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

Definition at line 852 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ planar_rgb_to_a()

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

Definition at line 866 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 
)
static

Definition at line 874 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ 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 893 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 910 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 923 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,
uint32_t *  unused 
)
static

Definition at line 945 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ grayf32ToY16_bswap_c()

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

Definition at line 957 of file input.c.

Referenced by rgb9plus_planar_funcs().

◆ rgb9plus_planar_funcs()

rgb9plus_planar_funcs ( )

Definition at line 997 of file input.c.

Variable Documentation

◆ bgr321

bgr321

Definition at line 379 of file input.c.

◆ rgb321

RGB2YUV_SHIFT rgb321

Definition at line 381 of file input.c.

◆ bgr15le

Definition at line 383 of file input.c.

◆ rgb16le

Definition at line 385 of file input.c.

◆ rgb12le

Definition at line 387 of file input.c.

◆ bgr15be

Definition at line 389 of file input.c.

◆ rgb16be

Definition at line 391 of file input.c.

◆ rgb12be

Definition at line 393 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
rgb2yuv
static void fn() rgb2yuv(uint8_t *_yuv[3], const ptrdiff_t yuv_stride[3], int16_t *rgb[3], ptrdiff_t s, int w, int h, const int16_t rgb2yuv_coeffs[3][3][8], const int16_t yuv_offset[8])
Definition: colorspacedsp_template.c:130
w
uint8_t w
Definition: llviddspenc.c:38
name
const char * name
Definition: avisynth_c.h:867
AV_PIX_FMT_BGRA
@ AV_PIX_FMT_BGRA
packed BGRA 8:8:8:8, 32bpp, BGRABGRA...
Definition: pixfmt.h:95
S
#define S(s, c, i)
Definition: flacdsp_template.c:46
fmt
const char * fmt
Definition: avisynth_c.h:861
tab
static const struct twinvq_data tab
Definition: twinvq_data.h:11135
src
#define src
Definition: vp8dsp.c:254
width
#define width
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:90
AV_PIX_FMT_RGBA
@ AV_PIX_FMT_RGBA
packed RGBA 8:8:8:8, 32bpp, RGBARGBA...
Definition: pixfmt.h:93
int32_t
int32_t
Definition: audio_convert.c:194
rgb9plus_planar_funcs_endian
#define rgb9plus_planar_funcs_endian(nbits, endian_name, endian)
Definition: input.c:969
AV_PIX_FMT_ABGR
@ AV_PIX_FMT_ABGR
packed ABGR 8:8:8:8, 32bpp, ABGRABGR...
Definition: pixfmt.h:94
isBE
static av_always_inline int isBE(enum AVPixelFormat pix_fmt)
Definition: swscale_internal.h:660
AV_PIX_FMT_ARGB
@ AV_PIX_FMT_ARGB
packed ARGB 8:8:8:8, 32bpp, ARGBARGB...
Definition: pixfmt.h:92
src1
#define src1
Definition: h264pred.c:139
i
#define i(width, name, range_min, range_max)
Definition: cbs_h2645.c:259
uint8_t
uint8_t
Definition: audio_convert.c:194
AV_RN32A
#define AV_RN32A(p)
Definition: intreadwrite.h:526
dummy
int dummy
Definition: motion.c:64
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:94