FFmpeg
|
#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 | 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, 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, 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 | 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 *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_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 void | planar_rgb9le_to_y (uint8_t *dst, const uint8_t *src[4], int w, int32_t *rgb2yuv) |
static void | planar_rgb9be_to_y (uint8_t *dst, const uint8_t *src[4], int w, int32_t *rgb2yuv) |
static void | planar_rgb10le_to_y (uint8_t *dst, const uint8_t *src[4], int w, int32_t *rgb2yuv) |
static void | planar_rgb10be_to_y (uint8_t *dst, const uint8_t *src[4], int w, int32_t *rgb2yuv) |
static void | planar_rgb12le_to_y (uint8_t *dst, const uint8_t *src[4], int w, int32_t *rgb2yuv) |
static void | planar_rgb12be_to_y (uint8_t *dst, const uint8_t *src[4], int w, int32_t *rgb2yuv) |
static void | planar_rgb14le_to_y (uint8_t *dst, const uint8_t *src[4], int w, int32_t *rgb2yuv) |
static void | planar_rgb14be_to_y (uint8_t *dst, const uint8_t *src[4], int w, int32_t *rgb2yuv) |
static void | planar_rgb16le_to_y (uint8_t *dst, const uint8_t *src[4], int w, int32_t *rgb2yuv) |
static void | planar_rgb16be_to_y (uint8_t *dst, const uint8_t *src[4], int w, 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 void | planar_rgb9le_to_uv (uint8_t *dstU, uint8_t *dstV, const uint8_t *src[4], int w, int32_t *rgb2yuv) |
static void | planar_rgb9be_to_uv (uint8_t *dstU, uint8_t *dstV, const uint8_t *src[4], int w, int32_t *rgb2yuv) |
static void | planar_rgb10le_to_uv (uint8_t *dstU, uint8_t *dstV, const uint8_t *src[4], int w, int32_t *rgb2yuv) |
static void | planar_rgb10be_to_uv (uint8_t *dstU, uint8_t *dstV, const uint8_t *src[4], int w, int32_t *rgb2yuv) |
static void | planar_rgb12le_to_uv (uint8_t *dstU, uint8_t *dstV, const uint8_t *src[4], int w, int32_t *rgb2yuv) |
static void | planar_rgb12be_to_uv (uint8_t *dstU, uint8_t *dstV, const uint8_t *src[4], int w, int32_t *rgb2yuv) |
static void | planar_rgb14le_to_uv (uint8_t *dstU, uint8_t *dstV, const uint8_t *src[4], int w, int32_t *rgb2yuv) |
static void | planar_rgb14be_to_uv (uint8_t *dstU, uint8_t *dstV, const uint8_t *src[4], int w, int32_t *rgb2yuv) |
static void | planar_rgb16le_to_uv (uint8_t *dstU, uint8_t *dstV, const uint8_t *src[4], int w, int32_t *rgb2yuv) |
static void | planar_rgb16be_to_uv (uint8_t *dstU, uint8_t *dstV, const uint8_t *src[4], int w, int32_t *rgb2yuv) |
av_cold void | ff_sws_init_input_funcs (SwsContext *c) |
Macro Definition Documentation
#define b ((origin == AV_PIX_FMT_BGR48BE || origin == AV_PIX_FMT_BGR48LE) ? r_b : b_r) |
Definition at line 42 of file input.c.
Referenced by add_bytes_c(), add_bytes_l2_c(), add_hfyu_left_prediction_bgr32_c(), av_add_q(), av_aes_init(), av_bprint_escape(), av_buffer_unref(), av_compare_mod(), av_compare_ts(), av_find_nearest_q_idx(), av_i2int(), av_mlfg_get(), av_mul_q(), av_nearer_q(), av_rescale_delta(), av_rescale_q_rnd(), av_size_mult(), av_tolower(), av_tree_enumerate(), avg2(), avg2_no_rnd(), avg_no_rnd_vc1_chroma_mc8_c(), avio_w8(), avpriv_set_systematic_pal2(), bgr24ToUV_c(), bgr24ToUV_half_c(), bgr24ToY_c(), bidir_refine(), bidir_sal(), binkb_read_bundle(), blend_frame(), blur_power(), body(), calculate_visual_weight(), 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(), config_output(), 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(), decorrelation(), deInterlaceBlendLinear(), deInterlaceInterpolateLinear(), deInterlaceMedian(), 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_q_branch2(), 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_init_cabac_states(), 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_ps_read_data(), ff_pullup_lock_buffer(), ff_rac_terminate(), ff_rgb24toyv12_c(), 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(), generate_joint_tables(), get_4block_rd(), get_block_bits(), 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(), if(), ilog2(), ilpack(), import_palette(), init(), init_blocks(), init_planes(), init_pullup(), initFilter(), initPv(), int_sqrt(), interleave(), interpol(), ipmovie_probe(), iterative_me(), ivi_free_buffers(), lag_decode_frame(), load_with_perm_vec(), loco_predict(), log16(), main(), make_cdt15_entry(), make_cdt16_entry(), make_cdt24_entry(), map_idx_10_to_20(), 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(), ratecontrol_1pass(), 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(), rgb24to15_c(), rgb24to16(), rgb24to16_c(), rgb24tobgr15(), rgb24tobgr15_c(), rgb24tobgr16(), rgb24tobgr16_c(), rgb24ToUV_c(), rgb24ToUV_half_c(), rgb24ToY_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_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(), ssim_4x4x2_core(), stereo_processing(), 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(), 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(), xan_decode_frame(), xan_wc3_decode_frame(), xface_decode_frame(), xface_encode_frame(), yae_load_data(), yae_load_frag(), yae_overlap_add(), yuv2rgb_1_c_template(), yuv2rgb_2_c_template(), yuv2rgb_write(), yuv2rgb_write_full(), yuv2rgb_X_c_template(), and yuv_a_to_rgba().
Definition at line 601 of file input.c.
Referenced by rgb16_32ToUV_c_template(), rgb16_32ToUV_half_c_template(), rgb48funcs(), rgb48ToUV_c_template(), rgb48ToUV_half_c_template(), rgb64funcs(), rgb64ToUV_c_template(), rgb64ToUV_half_c_template(), and rgb64ToY_c_template().
#define input_pixel | ( | i | ) |
#define r ((origin == AV_PIX_FMT_BGR48BE || origin == AV_PIX_FMT_BGR48LE) ? b_r : r_b) |
Definition at line 41 of file input.c.
Referenced by bgr24ToUV_c(), bgr24ToUV_half_c(), bgr24ToY_c(), gbr24pToUV_half_c(), planar_rgb16_to_uv(), planar_rgb16_to_y(), planar_rgb_to_uv(), planar_rgb_to_y(), rgb16_32ToUV_c_template(), rgb16_32ToUV_half_c_template(), rgb24ToUV_c(), rgb24ToUV_half_c(), rgb24ToY_c(), rgb48funcs(), rgb48ToUV_c_template(), rgb48ToUV_half_c_template(), rgb64funcs(), rgb64ToUV_c_template(), rgb64ToUV_half_c_template(), and rgb64ToY_c_template().
Definition at line 740 of file input.c.
Referenced by planar_rgb16_to_uv(), and planar_rgb16_to_y().
#define rgb64funcs | ( | pattern, | |
BE_LE, | |||
origin | |||
) |
Function Documentation
|
static |
Definition at line 424 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 618 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 637 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 603 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 543 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 533 of file input.c.
Referenced by ff_sws_init_input_funcs().
av_cold void ff_sws_init_input_funcs | ( | SwsContext * | c | ) |
Definition at line 889 of file input.c.
Referenced by sws_init_swScale_c(), and usePal().
|
static |
Definition at line 394 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 497 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 480 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 587 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 594 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 577 of file input.c.
Referenced by nv12ToUV_c(), and nv21ToUV_c().
|
static |
Definition at line 442 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 464 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 453 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 847 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 773 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 841 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 768 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 859 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 783 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 853 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 778 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 871 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 793 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 865 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 788 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 808 of file input.c.
Referenced by planar_rgb10be_to_uv(), planar_rgb10le_to_uv(), planar_rgb12be_to_uv(), planar_rgb12le_to_uv(), planar_rgb14be_to_uv(), planar_rgb14le_to_uv(), planar_rgb16be_to_uv(), planar_rgb16le_to_uv(), planar_rgb9be_to_uv(), and planar_rgb9le_to_uv().
|
static |
Definition at line 742 of file input.c.
Referenced by planar_rgb10be_to_y(), planar_rgb10le_to_y(), planar_rgb12be_to_y(), planar_rgb12le_to_y(), planar_rgb14be_to_y(), planar_rgb14le_to_y(), planar_rgb16be_to_y(), planar_rgb16le_to_y(), planar_rgb9be_to_y(), and planar_rgb9le_to_y().
|
static |
Definition at line 883 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 803 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 877 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 798 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 835 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 763 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 829 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 758 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 723 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 709 of file input.c.
Referenced by ff_sws_init_input_funcs().
rgb16_32_wrapper | ( | AV_PIX_FMT_BGR32 | , |
bgr32 | , | ||
16 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0xFF0000 | , | ||
0xFF00 | , | ||
0x00FF | , | ||
8 | , | ||
0 | , | ||
8 | , | ||
RGB2YUV_SHIFT+ | 8 | ||
) |
RGB2YUV_SHIFT rgb16_32_wrapper | ( | AV_PIX_FMT_RGB32 | , |
rgb32 | , | ||
0 | , | ||
0 | , | ||
16 | , | ||
0 | , | ||
0x00FF | , | ||
0xFF00 | , | ||
0xFF0000 | , | ||
8 | , | ||
0 | , | ||
8 | , | ||
RGB2YUV_SHIFT+ | 8 | ||
) |
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 | ||
) |
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 | ||
) |
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 | ||
) |
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 | ||
) |
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 | ||
) |
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 | ||
) |
|
static |
|
static |
|
static |
Definition at line 671 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 690 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 656 of file input.c.
Referenced by ff_sws_init_input_funcs().
rgb48funcs | ( | rgb48funcs( | rgb, |
rgb48funcs( | LE, | ||
AV_PIX_FMT_RGB48LE | |||
) |
|
static |
|
static |
rgb64funcs | ( | rgb64funcs( | rgb, |
LE | , | ||
AV_PIX_FMT_RGBA64LE | |||
) |
|
static |
|
static |
|
static |
|
static |
Definition at line 414 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 433 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 566 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 558 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 522 of file input.c.
Referenced by ff_sws_init_input_funcs().
|
static |
Definition at line 514 of file input.c.
Referenced by ff_sws_init_input_funcs().
Variable Documentation
RGB2YUV_SHIFT RGB2YUV_SHIFT bgr15le |
RGB2YUV_SHIFT RGB2YUV_SHIFT RGB2YUV_SHIFT rgb16le |
RGB2YUV_SHIFT rgb321 |
Generated on Mon Nov 18 2024 06:52:07 for FFmpeg by 1.8.11