FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
input.c File Reference
#include <assert.h>
#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 RGB2YUV_SHIFT   15
 
#define BY   ((int)(0.114 * 219 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
 
#define BV   (-(int)(0.081 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
 
#define BU   ((int)(0.500 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
 
#define GY   ((int)(0.587 * 219 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
 
#define GV   (-(int)(0.419 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
 
#define GU   (-(int)(0.331 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
 
#define RY   ((int)(0.299 * 219 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
 
#define RV   ((int)(0.500 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
 
#define RU   (-(int)(0.169 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
 
#define input_pixel(pos)   (isBE(origin) ? AV_RB16(pos) : AV_RL16(pos))
 
#define r   ((origin == AV_PIX_FMT_BGR48BE || origin == AV_PIX_FMT_BGR48LE) ? b_r : r_b)
 
#define b   ((origin == AV_PIX_FMT_BGR48BE || origin == AV_PIX_FMT_BGR48LE) ? 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)
 

Functions

static av_always_inline void rgb64ToY_c_template (uint16_t *dst, const uint16_t *src, int width, enum AVPixelFormat origin)
 
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)
 
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)
 
 rgb64funcs (rgb64funcs(rgb, 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)
 
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)
 
 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)
 
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)
 
 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 *unused)
 
static void rgba64ToA_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 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 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 bgr24ToY_c (uint8_t *_dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused)
 
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 *unused)
 
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 *unused)
 
static void rgb24ToY_c (uint8_t *_dst, const uint8_t *src, const uint8_t *unused1, const uint8_t *unused2, int width, uint32_t *unused)
 
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 *unused)
 
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 *unused)
 
static void planar_rgb_to_y (uint8_t *_dst, const uint8_t *src[4], int width)
 
static void planar_rgb_to_uv (uint8_t *_dstU, uint8_t *_dstV, const uint8_t *src[4], int width)
 
static av_always_inline void planar_rgb16_to_y (uint8_t *_dst, const uint8_t *_src[4], int width, int bpc, int is_be)
 
static void planar_rgb9le_to_y (uint8_t *dst, const uint8_t *src[4], int w)
 
static void planar_rgb9be_to_y (uint8_t *dst, const uint8_t *src[4], int w)
 
static void planar_rgb10le_to_y (uint8_t *dst, const uint8_t *src[4], int w)
 
static void planar_rgb10be_to_y (uint8_t *dst, const uint8_t *src[4], int w)
 
static void planar_rgb12le_to_y (uint8_t *dst, const uint8_t *src[4], int w)
 
static void planar_rgb12be_to_y (uint8_t *dst, const uint8_t *src[4], int w)
 
static void planar_rgb14le_to_y (uint8_t *dst, const uint8_t *src[4], int w)
 
static void planar_rgb14be_to_y (uint8_t *dst, const uint8_t *src[4], int w)
 
static void planar_rgb16le_to_y (uint8_t *dst, const uint8_t *src[4], int w)
 
static void planar_rgb16be_to_y (uint8_t *dst, const uint8_t *src[4], int w)
 
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)
 
static void planar_rgb9le_to_uv (uint8_t *dstU, uint8_t *dstV, const uint8_t *src[4], int w)
 
static void planar_rgb9be_to_uv (uint8_t *dstU, uint8_t *dstV, const uint8_t *src[4], int w)
 
static void planar_rgb10le_to_uv (uint8_t *dstU, uint8_t *dstV, const uint8_t *src[4], int w)
 
static void planar_rgb10be_to_uv (uint8_t *dstU, uint8_t *dstV, const uint8_t *src[4], int w)
 
static void planar_rgb12le_to_uv (uint8_t *dstU, uint8_t *dstV, const uint8_t *src[4], int w)
 
static void planar_rgb12be_to_uv (uint8_t *dstU, uint8_t *dstV, const uint8_t *src[4], int w)
 
static void planar_rgb14le_to_uv (uint8_t *dstU, uint8_t *dstV, const uint8_t *src[4], int w)
 
static void planar_rgb14be_to_uv (uint8_t *dstU, uint8_t *dstV, const uint8_t *src[4], int w)
 
static void planar_rgb16le_to_uv (uint8_t *dstU, uint8_t *dstV, const uint8_t *src[4], int w)
 
static void planar_rgb16be_to_uv (uint8_t *dstU, uint8_t *dstV, const uint8_t *src[4], int w)
 
av_cold void ff_sws_init_input_funcs (SwsContext *c)
 

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

#define RGB2YUV_SHIFT   15
#define BY   ((int)(0.114 * 219 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
#define BV   (-(int)(0.081 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
#define BU   ((int)(0.500 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
#define GY   ((int)(0.587 * 219 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
#define GV   (-(int)(0.419 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
#define GU   (-(int)(0.331 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
#define RY   ((int)(0.299 * 219 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
#define RV   ((int)(0.500 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
#define RU   (-(int)(0.169 * 224 / 255 * (1 << RGB2YUV_SHIFT) + 0.5))
#define input_pixel (   pos)    (isBE(origin) ? AV_RB16(pos) : AV_RL16(pos))
#define r   ((origin == AV_PIX_FMT_BGR48BE || origin == AV_PIX_FMT_BGR48LE) ? b_r : r_b)

Definition at line 52 of file input.c.

Referenced by add_bell(), add_hfyu_left_prediction_bgr32_c(), alloc_frame_buffer(), av_inv_q(), av_realloc_f(), av_rescale_rnd(), avcodec_default_execute(), avcodec_default_execute2(), avfilter_graph_request_oldest(), avfilter_graph_send_command(), avpriv_set_systematic_pal2(), bgr24ToUV_c(), bgr24ToUV_half_c(), bgr24ToY_c(), cache_read(), cdg_load_palette(), cdxl_decode_ham6(), cdxl_decode_ham8(), cinepak_decode_codebook(), cng_decode_frame(), color_distance(), compute_lpc_coefs(), config_props(), convert_timestamp(), crypt(), dca_downmix(), decode_block(), decode_block_coeffs_internal(), decode_frame(), decode_hybrid(), decode_mvc2(), decode_pal(), decode_rbsp_trailing(), decode_refpass(), decode_rgb_frame(), decode_rice(), dither_int_to_float_triangular_c(), dshow_cycle_devices(), dshow_cycle_pins(), dshow_list_device_options(), dshow_open_device(), dshow_read_close(), dshow_read_header(), dv_read_seek(), dvbsub_init_decoder(), dvbsub_parse_clut_segment(), encode_dvb_subtitles(), encode_frame(), encode_rgb_frame(), encode_scalar(), encode_thread(), eval_expr(), expand_script(), expand_tseq(), ff_alloc_picture(), ff_alsa_extend_reorder_buf(), ff_gmc_c(), ff_lag_rac_init(), ff_mov_read_stsd_entries(), ff_parse_time_base(), ff_rtp_send_h264(), ff_rtp_send_mpegvideo(), file_read(), file_write(), fill_picture_parameters(), fill_slice_long(), filter(), filter_frame(), flic_decode_frame_8BPP(), foo(), frac64(), gbr24pToUV_half_c(), gen_image(), generate_interval(), generate_intervals(), generate_joint_tables(), generate_plateau(), generate_transition(), get_high_utility_cell(), get_strl(), get_symbol2(), guess_palette(), h263_handle_packet(), hpel_motion_search(), idcin_read_packet(), idct_col2(), idct_row(), import_palette(), init(), iterative_me(), lag_decode_frame(), lex_char(), lex_time(), ls_decode_line(), main(), make_cdt15_entry(), make_cdt16_entry(), make_cdt24_entry(), matroska_parse_laces(), mc_block(), modplug_read_header(), mp_yuv_to_rgb(), mpeg4_decode_sprite_trajectory(), mpegts_push_data(), mss2_blit_wmv9_template(), mss2_decode_frame(), mul32(), MULH(), opt_list(), paf_vid_decode(), paint_mouse_pointer(), parse_block_def(), parse_options(), parse_palette_segment(), parse_script(), parse_synth_channel(), parse_synth_def(), parse_time_sequence(), parse_timestamp(), pix_abs16x16_x2_mvi(), planar_rgb16_to_uv(), planar_rgb16_to_y(), planar_rgb_to_uv(), planar_rgb_to_y(), png_filter_row(), pop_integer(), pow_poly(), process_ipmovie_chunk(), ps_stereo_interpolate_c(), ps_stereo_interpolate_ipdopd_c(), push_integer(), put_pixel(), put_symbol2(), qpel_motion_search(), qtrle_decode_24bpp(), read_var_block_data(), read_whole_file(), request_frame(), restore_rgb_planes(), 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(), rgb24toyv12_c(), rgb48funcs(), rgb48ToUV_c_template(), rgb48ToUV_half_c_template(), rgb64funcs(), rgb64ToUV_c_template(), rgb64ToUV_half_c_template(), rgb64ToY_c_template(), ring2_test(), roundToInt16(), rtmp_close(), rtmp_get_file_handle(), rtmp_open(), rtmp_read(), rtmp_read_pause(), rtmp_read_seek(), rtmp_write(), rtsp_read_packet(), rv30_decode_init(), rv40_decode_init(), sad_hpel_motion_search(), sbg_read_header(), sbg_read_probe(), search_keyval(), set_palette(), smacker_decode_bigtree(), smacker_decode_tree(), sub_left_prediction_bgr32(), sub_left_prediction_rgb24(), subtitle_thread(), super2xsai(), swri_rematrix_init(), sws_scale(), tta_decode_frame(), update_palette_index(), vmd_decode(), vmdvideo_decode_init(), vqa_decode_chunk(), wavesynth_decode(), wavesynth_init(), xan_decode_frame(), xface_encode_frame(), yuv2rgb_1_c_template(), yuv2rgb_2_c_template(), yuv2rgb_full_X_c_template(), yuv2rgb_write(), yuv2rgb_X_c_template(), and yuv_a_to_rgba().

#define b   ((origin == AV_PIX_FMT_BGR48BE || origin == AV_PIX_FMT_BGR48LE) ? r_b : b_r)

Definition at line 53 of file input.c.

Referenced by add_bytes_c(), add_bytes_l2_c(), add_hfyu_left_prediction_bgr32_c(), analyze(), av_add_q(), av_compare_mod(), av_compare_ts(), av_mlfg_get(), av_mul_q(), av_nearer_q(), av_rescale_delta(), av_rescale_q_rnd(), av_size_mult(), avg2(), avg2_no_rnd(), avio_w8(), avpriv_set_systematic_pal2(), bgr24ToUV_c(), bgr24ToUV_half_c(), bgr24ToY_c(), bidir_refine(), binkb_read_bundle(), blend_frame(), blur_power(), body(), cdata_probe(), cdg_load_palette(), cdxl_decode_ham6(), cdxl_decode_ham8(), cin_decode_huffman(), cinepak_decode_codebook(), cmp(), cmp_intervals(), cmp_pkt_sub(), compare_codec_desc(), compare_int64(), compare_vlcspec(), compute_bit_allocation(), compute_lpc_coefs(), compute_metric(), compute_mod(), config_input_top(), decode_0(), decode_555(), decode_audio_s16(), decode_block(), decode_block_coeffs_internal(), decode_blocks(), decode_blocks_ind(), decode_component(), decode_frame(), decode_hybrid(), decode_init(), decode_pal(), decode_predictor_coeffs(), decode_rgb_frame(), decode_rle(), decode_scale_factors(), decode_spectrum_and_dequant(), decode_subband_golomb(), decode_subframe(), decode_subframe_fixed(), decode_tonal_components(), decorrelate(), decorrelate_stereo(), deInterlaceBlendLinear_TMPL(), deInterlaceInterpolateLinear_TMPL(), deInterlaceMedian_TMPL(), diff_bytes_c(), divide(), dv_encode_video_segment(), dv_guess_qnos(), dvbsub_init_decoder(), dvbsub_parse_clut_segment(), encode_all_blocks(), encode_dvb_subtitles(), encode_frame(), encode_init(), encode_picture(), encode_residual_fixed(), encode_rgb_frame(), encode_superframe(), ff_add_png_paeth_prediction(), ff_adx_calculate_coeffs(), ff_celp_lp_synthesis_filterf(), ff_eac3_decode_transform_coeffs_aht_ch(), ff_eval_refl(), ff_h264_chroma_dc_dequant_idct(), ff_h264_filter_mb(), ff_id3v2_parse(), ff_index_search_timestamp(), ff_interp(), ff_ivi_decode_frame(), ff_ivi_init_planes(), ff_ivi_init_tiles(), ff_j2k_ceildiv(), ff_j2k_ceildivpow2(), ff_j2k_dwt_init(), ff_match_2uint16(), ff_merge_channel_layouts(), ff_merge_samplerates(), ff_mjpeg_find_marker(), ff_mov_read_stsd_entries(), ff_mpeg4_pred_dc(), ff_msmpeg4_coded_block_pred(), ff_msmpeg4_pred_dc(), ff_pullup_lock_buffer(), ff_rms(), ff_snow_common_end(), ff_snow_common_init_after_header(), ff_sqrt(), ff_ut_huff_cmp_len(), ff_wma_init(), fill24(), filter_frame(), filter_mb_edgech(), filter_mb_edgecv(), filter_mb_edgeh(), filter_mb_edgev(), filter_mb_mbaff_edgecv(), filter_mb_mbaff_edgev(), flac_decorrelate_ls_c(), flac_decorrelate_ms_c(), flac_decorrelate_rs_c(), flic_decode_frame_8BPP(), for(), frac64(), gbr24pToUV_half_c(), gen_image(), generate_joint_tables(), get_block_sizes(), get_dc(), get_shift(), global_mv(), glyph_cmp(), guess_palette(), h264_filter_mb_fast_internal(), h_block_filter(), horizX1Filter(), hpel_motion_search(), huff_cmp(), huff_cmp_sym(), idcin_read_packet(), ilpack(), import_palette(), init(), init_blocks(), init_planes(), initPv(), int_sqrt(), interleave(), interpol(), ipmovie_probe(), ivi_free_buffers(), lag_decode_frame(), load_with_perm_vec(), loco_predict(), log16(), main(), make_cdt15_entry(), make_cdt16_entry(), make_cdt24_entry(), mark_all_blocks(), matroska_read_header(), mc_block(), mid_pred(), mix_core(), mp_decode_layer2(), mp_yuv_to_rgb(), mpegts_write_section(), mul_poly(), multiswap_dec(), multiswap_enc(), mxf_read_sync(), next_byte(), no_rnd_avg32(), no_rnd_avg64(), nsv_parse_NSVf_header(), output_audio_block(), paf_vid_decode(), paint_mouse_pointer(), parse_palette_segment(), planar_rgb16_to_uv(), planar_rgb16_to_y(), planar_rgb_to_uv(), planar_rgb_to_y(), png_filter_row(), png_get_interlaced_row(), png_put_interlaced_row(), pow_m1_4(), pred16x16_vertical(), pred8x16_plane(), pred8x16_vertical(), pred8x8_plane(), pred8x8_vertical(), pred8x8l_vertical(), pred_spatial_direct_motion(), probe(), process_ipmovie_chunk(), put_image(), put_no_rnd_pixels_l2(), put_pixel(), put_vp8_epel_h_altivec_core(), qpel_motion_search(), qsort_comparison_function_int16(), qtrle_decode_24bpp(), read_close(), read_frame_data(), read_header(), read_line(), read_packet(), read_var_block_data(), read_xing_toc(), render_charset(), request_frame(), resampleCubic(), restore_rgb_planes(), 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(), rgb24toyv12_c(), rgb48funcs(), rgb48ToUV_c_template(), rgb48ToUV_half_c_template(), rgb64funcs(), rgb64ToUV_c_template(), rgb64ToUV_half_c_template(), rgb64ToY_c_template(), rnd_avg32(), rnd_avg64(), run_psnr(), sad_hpel_motion_search(), search_for_quantizers_faac(), search_for_quantizers_twoloop(), seq_decode_op1(), set_brightness(), set_palette(), set_string_binary(), sha1_transform(), sha256_transform(), shift(), spatial_compose_daub97i_dy(), spatial_compose_dd137i_dy(), spatial_compose_dd97i_dy(), spatial_compose_dirac53i_dy(), spatial_compose_fidelity(), sub_left_prediction_bgr32(), sub_left_prediction_rgb24(), sub_png_paeth_prediction(), subtitle_thread(), sum_bits(), sws_scale(), synth_filter_float(), tgq_calculate_qtable(), try_8x8basis_c(), uninit(), update_palette_index(), upsample_plane_c(), v_block_filter(), vb_decode_framedata(), vc1_coded_block_pred(), vc1_h_overlap_c(), vc1_h_s_overlap_c(), vc1_i_pred_dc(), vc1_pred_dc(), vc1_v_overlap_c(), vc1_v_s_overlap_c(), vertX1Filter_TMPL(), video_audio_display(), vmd_decode(), vmdvideo_decode_init(), vp56_add_predictors_dc(), vp56_decode_4mv(), vp56_decode_mb(), vp56_decode_mv(), vp56_mc(), vp5_parse_coeff(), vp6_build_huff_tree(), vp6_huff_cmp(), vp6_parse_coeff(), vp6_parse_coeff_huffman(), vqa_decode_chunk(), wma_lsp_to_curve_init(), write_all_blocks(), write_float_3d_array(), x8_get_prediction(), xface_decode_frame(), xface_encode_frame(), yae_load_data(), yae_load_frag(), yae_overlap_add(), yuv2rgb_1_c_template(), yuv2rgb_2_c_template(), yuv2rgb_full_X_c_template(), yuv2rgb_write(), yuv2rgb_X_c_template(), and yuv_a_to_rgba().

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

Definition at line 103 of file input.c.

#define rgb48funcs (   pattern,
  BE_LE,
  origin 
)

Definition at line 194 of file input.c.

#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 593 of file input.c.

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

Definition at line 343 of file input.c.

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

Definition at line 593 of file input.c.

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

Definition at line 719 of file input.c.

Referenced by planar_rgb16_to_uv(), and planar_rgb16_to_y().

Function Documentation

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

Definition at line 56 of file input.c.

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

Definition at line 70 of file input.c.

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

Definition at line 87 of file input.c.

rgb64funcs ( rgb64funcs(  rgb,
LE  ,
AV_PIX_FMT_RGBA64LE   
)

Definition at line 132 of file input.c.

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

Definition at line 149 of file input.c.

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

Definition at line 168 of file input.c.

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

Definition at line 236 of file input.c.

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

Definition at line 273 of file input.c.

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

Definition at line 300 of file input.c.

rgb16_32_wrapper ( AV_PIX_FMT_BGR32  ,
bgr32  ,
16  ,
,
,
,
0xFF0000  ,
0xFF00  ,
0x00FF  ,
,
,
,
RGB2YUV_SHIFT 8 
)
RGB2YUV_SHIFT rgb16_32_wrapper ( AV_PIX_FMT_RGB32  ,
rgb32  ,
,
,
16  ,
,
0x00FF  ,
0xFF00  ,
0xFF0000  ,
,
,
,
RGB2YUV_SHIFT 8 
)
RGB2YUV_SHIFT RGB2YUV_SHIFT rgb16_32_wrapper ( AV_PIX_FMT_BGR565LE  ,
bgr16le  ,
,
,
,
,
0x001F  ,
0x07E0  ,
0xF800  ,
11  ,
,
,
RGB2YUV_SHIFT 8 
)
RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT rgb16_32_wrapper ( AV_PIX_FMT_BGR444LE  ,
bgr12le  ,
,
,
,
,
0x000F  ,
0x00F0  ,
0x0F00  ,
,
,
,
RGB2YUV_SHIFT 4 
)
RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT rgb16_32_wrapper ( AV_PIX_FMT_RGB555LE  ,
rgb15le  ,
,
,
,
,
0x7C00  ,
0x03E0  ,
0x001F  ,
,
,
10  ,
RGB2YUV_SHIFT 7 
)
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 
)
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 
)
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 
)
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 *  unused 
)
static

Definition at line 389 of file input.c.

Referenced by ff_sws_init_input_funcs().

static void rgba64ToA_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 406 of file input.c.

Referenced by ff_sws_init_input_funcs().

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 416 of file input.c.

Referenced by ff_sws_init_input_funcs().

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 425 of file input.c.

Referenced by ff_sws_init_input_funcs().

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 434 of file input.c.

Referenced by ff_sws_init_input_funcs().

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 445 of file input.c.

Referenced by ff_sws_init_input_funcs().

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 456 of file input.c.

Referenced by ff_sws_init_input_funcs().

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 472 of file input.c.

Referenced by ff_sws_init_input_funcs().

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 489 of file input.c.

Referenced by ff_sws_init_input_funcs().

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 506 of file input.c.

Referenced by ff_sws_init_input_funcs().

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 514 of file input.c.

Referenced by ff_sws_init_input_funcs().

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 525 of file input.c.

Referenced by ff_sws_init_input_funcs().

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 535 of file input.c.

Referenced by ff_sws_init_input_funcs().

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 550 of file input.c.

Referenced by ff_sws_init_input_funcs().

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 558 of file input.c.

Referenced by ff_sws_init_input_funcs().

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

Definition at line 569 of file input.c.

Referenced by nv12ToUV_c(), and nv21ToUV_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 579 of file input.c.

Referenced by ff_sws_init_input_funcs().

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 586 of file input.c.

Referenced by ff_sws_init_input_funcs().

static void bgr24ToY_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 595 of file input.c.

Referenced by ff_sws_init_input_funcs().

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 *  unused 
)
static

Definition at line 609 of file input.c.

Referenced by ff_sws_init_input_funcs().

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 *  unused 
)
static

Definition at line 626 of file input.c.

Referenced by ff_sws_init_input_funcs().

static void rgb24ToY_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 643 of file input.c.

Referenced by ff_sws_init_input_funcs().

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 *  unused 
)
static

Definition at line 657 of file input.c.

Referenced by ff_sws_init_input_funcs().

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 *  unused 
)
static

Definition at line 674 of file input.c.

Referenced by ff_sws_init_input_funcs().

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

Definition at line 691 of file input.c.

Referenced by ff_sws_init_input_funcs().

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

Definition at line 704 of file input.c.

Referenced by ff_sws_init_input_funcs().

static av_always_inline void planar_rgb16_to_y ( uint8_t _dst,
const uint8_t _src[4],
int  width,
int  bpc,
int  is_be 
)
static
static void planar_rgb9le_to_y ( uint8_t dst,
const uint8_t src[4],
int  w 
)
static

Definition at line 736 of file input.c.

Referenced by ff_sws_init_input_funcs().

static void planar_rgb9be_to_y ( uint8_t dst,
const uint8_t src[4],
int  w 
)
static

Definition at line 741 of file input.c.

Referenced by ff_sws_init_input_funcs().

static void planar_rgb10le_to_y ( uint8_t dst,
const uint8_t src[4],
int  w 
)
static

Definition at line 746 of file input.c.

Referenced by ff_sws_init_input_funcs().

static void planar_rgb10be_to_y ( uint8_t dst,
const uint8_t src[4],
int  w 
)
static

Definition at line 751 of file input.c.

Referenced by ff_sws_init_input_funcs().

static void planar_rgb12le_to_y ( uint8_t dst,
const uint8_t src[4],
int  w 
)
static

Definition at line 756 of file input.c.

Referenced by ff_sws_init_input_funcs().

static void planar_rgb12be_to_y ( uint8_t dst,
const uint8_t src[4],
int  w 
)
static

Definition at line 761 of file input.c.

Referenced by ff_sws_init_input_funcs().

static void planar_rgb14le_to_y ( uint8_t dst,
const uint8_t src[4],
int  w 
)
static

Definition at line 766 of file input.c.

Referenced by ff_sws_init_input_funcs().

static void planar_rgb14be_to_y ( uint8_t dst,
const uint8_t src[4],
int  w 
)
static

Definition at line 771 of file input.c.

Referenced by ff_sws_init_input_funcs().

static void planar_rgb16le_to_y ( uint8_t dst,
const uint8_t src[4],
int  w 
)
static

Definition at line 776 of file input.c.

Referenced by ff_sws_init_input_funcs().

static void planar_rgb16be_to_y ( uint8_t dst,
const uint8_t src[4],
int  w 
)
static

Definition at line 781 of file input.c.

Referenced by ff_sws_init_input_funcs().

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 
)
static
static void planar_rgb9le_to_uv ( uint8_t dstU,
uint8_t dstV,
const uint8_t src[4],
int  w 
)
static

Definition at line 805 of file input.c.

Referenced by ff_sws_init_input_funcs().

static void planar_rgb9be_to_uv ( uint8_t dstU,
uint8_t dstV,
const uint8_t src[4],
int  w 
)
static

Definition at line 811 of file input.c.

Referenced by ff_sws_init_input_funcs().

static void planar_rgb10le_to_uv ( uint8_t dstU,
uint8_t dstV,
const uint8_t src[4],
int  w 
)
static

Definition at line 817 of file input.c.

Referenced by ff_sws_init_input_funcs().

static void planar_rgb10be_to_uv ( uint8_t dstU,
uint8_t dstV,
const uint8_t src[4],
int  w 
)
static

Definition at line 823 of file input.c.

Referenced by ff_sws_init_input_funcs().

static void planar_rgb12le_to_uv ( uint8_t dstU,
uint8_t dstV,
const uint8_t src[4],
int  w 
)
static

Definition at line 829 of file input.c.

Referenced by ff_sws_init_input_funcs().

static void planar_rgb12be_to_uv ( uint8_t dstU,
uint8_t dstV,
const uint8_t src[4],
int  w 
)
static

Definition at line 835 of file input.c.

Referenced by ff_sws_init_input_funcs().

static void planar_rgb14le_to_uv ( uint8_t dstU,
uint8_t dstV,
const uint8_t src[4],
int  w 
)
static

Definition at line 841 of file input.c.

Referenced by ff_sws_init_input_funcs().

static void planar_rgb14be_to_uv ( uint8_t dstU,
uint8_t dstV,
const uint8_t src[4],
int  w 
)
static

Definition at line 847 of file input.c.

Referenced by ff_sws_init_input_funcs().

static void planar_rgb16le_to_uv ( uint8_t dstU,
uint8_t dstV,
const uint8_t src[4],
int  w 
)
static

Definition at line 853 of file input.c.

Referenced by ff_sws_init_input_funcs().

static void planar_rgb16be_to_uv ( uint8_t dstU,
uint8_t dstV,
const uint8_t src[4],
int  w 
)
static

Definition at line 859 of file input.c.

Referenced by ff_sws_init_input_funcs().

av_cold void ff_sws_init_input_funcs ( SwsContext c)

Definition at line 865 of file input.c.

Referenced by sws_init_swScale_c().

Variable Documentation

bgr321

Definition at line 373 of file input.c.

RGB2YUV_SHIFT rgb321

Definition at line 375 of file input.c.

Definition at line 377 of file input.c.

Definition at line 379 of file input.c.

Definition at line 381 of file input.c.

Definition at line 383 of file input.c.

Definition at line 385 of file input.c.

Definition at line 387 of file input.c.