|
| AVFILTER_DEFINE_CLASS (paletteuse) |
|
static int | load_apply_palette (FFFrameSync *fs) |
|
static int | query_formats (const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out) |
|
static av_always_inline uint32_t | dither_color (uint32_t px, int er, int eg, int eb, int scale, int shift) |
|
static av_always_inline int | diff (const struct color_info *a, const struct color_info *b, const int trans_thresh) |
|
static struct color_info | get_color_from_srgb (uint32_t srgb) |
|
static void | colormap_nearest_node (const struct color_node *map, const int node_pos, const struct color_info *target, const int trans_thresh, struct nearest_color *nearest) |
|
static av_always_inline uint8_t | colormap_nearest (const struct color_node *node, const struct color_info *target, const int trans_thresh) |
|
static av_always_inline int | color_get (PaletteUseContext *s, uint32_t color) |
| Check if the requested color is in the cache already. More...
|
|
static av_always_inline int | get_dst_color_err (PaletteUseContext *s, uint32_t c, int *er, int *eg, int *eb) |
|
static av_always_inline int | set_frame (PaletteUseContext *s, AVFrame *out, AVFrame *in, int x_start, int y_start, int w, int h, enum dithering_mode dither) |
|
static void | disp_node (AVBPrint *buf, const struct color_node *map, int parent_id, int node_id, int depth) |
|
static int | disp_tree (const struct color_node *node, const char *fname) |
|
static int | get_next_color (const uint8_t *color_used, const uint32_t *palette, int *component, const struct color_rect *box) |
|
static int | colormap_insert (struct color_node *map, uint8_t *color_used, int *nb_used, const uint32_t *palette, const int trans_thresh, const struct color_rect *box) |
|
static int | cmp_pal_entry (const void *a, const void *b) |
|
static void | load_colormap (PaletteUseContext *s) |
|
static void | set_processing_window (enum diff_mode diff_mode, const AVFrame *prv_src, const AVFrame *cur_src, const AVFrame *prv_dst, AVFrame *cur_dst, int *xp, int *yp, int *wp, int *hp) |
|
static int | apply_palette (AVFilterLink *inlink, AVFrame *in, AVFrame **outf) |
|
static int | config_output (AVFilterLink *outlink) |
|
static int | config_input_palette (AVFilterLink *inlink) |
|
static void | load_palette (PaletteUseContext *s, const AVFrame *palette_frame) |
|
static int | dither_value (int p) |
|
static av_cold int | init (AVFilterContext *ctx) |
|
static int | activate (AVFilterContext *ctx) |
|
static av_cold void | uninit (AVFilterContext *ctx) |
|
Use a palette to downsample an input video stream.
Definition in file vf_paletteuse.c.
Definition at line 166 of file vf_paletteuse.c.
Referenced by abs_sub_q(), activate(), add_hfyu_median_pred_int16_c(), add_lag_median_prediction(), add_median_pred_c(), add_median_prediction(), adpcm_ct_expand_nibble(), adpcm_decode_frame(), adpcm_ima_alp_compress_sample(), adpcm_ima_alp_expand_nibble(), adpcm_ima_expand_nibble(), adpcm_ima_oki_expand_nibble(), adpcm_ima_qt_compress_sample(), adpcm_ima_qt_expand_nibble(), adpcm_ima_wav_expand_nibble(), adpcm_sbpro_expand_nibble(), amdl_update_prob(), aptx_encode_channel(), aribcaption_trans_ass_subtitle(), arith2_get_consumed_bytes(), asf_read_frame_header(), block_angle(), blur(), build_diff_map(), calc_slice_sizes(), cbs_av1_get_relative_dist(), cclm_get_params(), celt_decode_tf_changes(), celt_enc_tf(), celt_quant_fine(), check_add_median_pred(), codebook_sanity_check_for_rate_quarter(), colormap_nearest_node(), comp_harmonic_coeff(), compare_blocks(), compute_target_delay(), config_filter(), copy_region_enc(), correct_input_start_times(), deband_16_c(), deband_8_c(), decode(), decode_channel_sf_idx(), decode_channel_wordlen(), decode_dc(), decode_dc_le(), decode_frame(), decode_line(), decode_packet(), decode_residual(), decode_tones_amplitude(), dering_TMPL(), derive_bdof_vx_vy(), derive_mmvd(), derive_subblock_diff_mvs(), detect_scene_change(), diff_c(), dnxhd_calc_bits_thread(), dnxhd_encode_dc(), do_backgroundkey16_slice(), do_backgroundkey_slice(), do_chromahold16_slice(), do_chromahold_slice(), do_chromakey_pixel(), do_chromakey_pixel16(), do_colorkey_pixel(), do_hsvkey_pixel(), dpcm_decode_frame(), dpcm_predict(), draw_spatial(), dts_probe(), encode_block(), encode_dc(), encode_high(), encode_line(), encode_low(), encode_residual_ch(), encode_scale_factors(), enqueue_packet(), est_alpha_diff(), estimate_pitch(), eval_sse(), exp_quant_coarse(), fbdev_write_packet(), ff_dcaadpcm_subband_analysis(), ff_icc_profile_sanitize(), ff_libwebp_get_frame(), ff_mpeg1_decode_block_intra(), ff_mpeg4_encode_mb(), ff_rate_estimate_qscale(), filter_bilin32(), filter_frame(), filter_luma_edge(), find_block_motion(), find_missing_packets(), find_timestamp_in_playlist(), fixed_gain_smooth(), fold(), get_closest_codebook(), get_pts(), get_relative_dist(), get_scene_score(), get_video_frame(), h263_decode_block(), h264_filter(), index_mb(), init_quantized_coeffs_elem0(), inv_predict_11(), IsAlmostEqual(), limitdiff16(), limitdiff8(), ljpeg_encode_bgr(), lsf2lsp(), lsf_decode(), luma_intra_pred_mode(), magicyuv_median_pred16(), main(), make_noises(), max_component_diff(), max_negtive(), mdec_decode_block_intra(), mf_enca_output_score(), min_positive(), motion_search(), mpeg2_decode_block_intra(), mux_log_debug_ts(), mvi_update_prediction(), mvinfo_is_deblock_cand(), parse_playlist(), parse_tonal(), perform_dc_correction(), pixel_color7_slow(), process_line(), process_subpacket_9(), put_alpha_diff(), pxr24_uncompress(), read_slice_sizes(), rgb2yuv_fsb(), rtp_parse_one_packet(), rv30_weak_loop_filter(), rv40_weak_loop_filter(), sad_16width_msa(), sad_8width_msa(), sad_horiz_bilinear_filter_16width_msa(), sad_horiz_bilinear_filter_8width_msa(), sad_hv_bilinear_filter_16width_msa(), sad_hv_bilinear_filter_8width_msa(), sad_vert_bilinear_filter_16width_msa(), sad_vert_bilinear_filter_8width_msa(), select_from_pts_buffer(), silk_stabilize_lsf(), smvd_find(), speedhq_init_static_data(), sqrdiff(), svq1_decode_motion_vector(), swap_samplerates_on_filter(), synchronize_audio(), tm2_null_res_block(), truemotion2rt_decode_frame(), update_ch_subobj(), update_qscale(), validate_options(), vp8_handle_packet(), wavpack_encode_block(), and wmv2_pred_motion().