FFmpeg
Loading...
Searching...
No Matches
huffyuv.h File Reference

huffyuv codec for libavcodec. More...

#include <stdint.h>
#include "config.h"

Go to the source code of this file.

Macros

#define B   0
 
#define G   1
 
#define R   2
 
#define A   3
 
#define MAX_BITS   16
 
#define MAX_N   (1<<MAX_BITS)
 
#define MAX_VLC_N   16384
 
#define READ_LOWBYTE(plane, bps)
 

Enumerations

enum  Predictor { LEFT = 0 , PLANE , MEDIAN }
 

Functions

int ff_huffyuv_generate_bits_table (uint32_t *dst, const uint8_t *len_table, int n)
 

Detailed Description

huffyuv codec for libavcodec.

Definition in file huffyuv.h.

Macro Definition Documentation

◆ B

#define B   0

Definition at line 42 of file huffyuv.h.

Referenced by add_gradient_pred_c(), add_hfyu_left_pred_bgr32_c(), av_twofish_init(), avg_no_rnd_vc1_chroma_mc4_c(), avg_no_rnd_vc1_chroma_mc8_c(), blend_slice_packed_rgb(), boundary_strength(), boundary_strength(), celt_extract_collapse_mask(), color_balance16(), color_balance8(), colorcontrast_slice16p(), colorcontrast_slice8p(), compare_mv_ref_idx(), compare_pf_ref_idx(), config_input(), config_output(), decode_bgr_1(), decode_haar_block(), decode_image_block(), decode_slice(), do_decode(), draw_region_rgb_packed(), encode_frame(), epic_decode_pixel_pred(), epx2_slice(), epx3_slice(), fade_gain(), ff_avg_h264_chroma_mc4_mmi(), ff_avg_h264_chroma_mc8_mmi(), ff_avg_no_rnd_vc1_chroma_mc4_mmi(), ff_avg_no_rnd_vc1_chroma_mc8_mmi(), ff_h263_pred_motion(), ff_put_h264_chroma_mc4_mmi(), ff_put_h264_chroma_mc8_mmi(), ff_put_no_rnd_vc1_chroma_mc4_mmi(), ff_put_no_rnd_vc1_chroma_mc8_lasx(), ff_put_no_rnd_vc1_chroma_mc8_mmi(), ff_vc1_pred_b_mv(), ff_vc1_pred_mv(), ff_vc1_pred_mv_intfr(), ff_vvc_inv_dct2_32(), filter_frame(), filter_frame(), filter_frame(), filter_mafq12(), filter_rgb(), filter_slice_packed(), filter_slice_planar(), filter_slice_rgba_packed(), filter_slice_rgba_planar(), find_and_decode_index(), generate_joint_tables(), generate_slice(), geq_init(), get_coeffs(), gmc1_c(), idct(), idct10(), idct_column_false_mmi(), idct_column_true_mmi(), idct_msa(), idct_row_mmi(), initFilter(), ipvideo_decode_block_opcode_0x2(), ipvideo_decode_block_opcode_0x3(), ipvideo_decode_block_opcode_0x4(), IsAlmostEqual(), median_predict(), mvi_predict(), pred_16x8_motion(), pred_motion(), pred_pskip_motion(), pred_spatial_direct_motion(), process_bayer(), put_no_rnd_vc1_chroma_mc4_c(), put_no_rnd_vc1_chroma_mc8_c(), restore_gradient_planar(), restore_gradient_planar_il(), restore_median_planar(), restore_median_planar_il(), rv30_decode_intra_types(), rv34_pred_b_vector(), rv34_pred_mv(), rv34_pred_mv_b(), rv34_pred_mv_rv3(), rv40_decode_intra_types(), sbr_hf_assemble(), sbr_hf_assemble(), sub_left_prediction_bgr32(), svq3_pred_motion(), temperature_slice16p(), temperature_slice8p(), vibrance_slice16p(), vibrance_slice8p(), wmv2_pred_motion(), wv_unpack_stereo(), yuv2gbrp16_full_X_c(), yuv2gbrp_full_X_c(), yuv2gbrpf32_full_X_c(), yuv2rgb_full_1_template_lasx(), yuv2rgb_full_1_template_lsx(), yuv2rgb_full_2_template_lasx(), yuv2rgb_full_2_template_lsx(), yuv2rgb_full_X_template_lasx(), yuv2rgb_full_X_template_lsx(), yuv2rgb_write_full(), yuv2rgb_write_full(), yuv2rgb_write_full(), yuv2rgba64_1_c_template(), yuv2rgba64_2_c_template(), yuv2rgba64_full_1_c_template(), yuv2rgba64_full_2_c_template(), yuv2rgba64_full_X_c_template(), and yuv2rgba64_X_c_template().

◆ G

◆ R

#define R   2

Definition at line 44 of file huffyuv.h.

Referenced by aac_is_encoding_err(), add_hfyu_left_pred_bgr32_c(), apply_mid_side_stereo(), blend_slice_packed_rgb(), color_balance16(), color_balance8(), colorcontrast_slice16p(), colorcontrast_slice8p(), config_input(), config_output(), copy_TMPL(), decode_bgr_1(), decode_slice(), draw_region_rgb_packed(), encode_frame(), epic_decode_pixel_pred(), ff_aac_sbr_apply(), ff_aac_sbr_apply_fixed(), ff_aac_sbr_decode_extension_fixed(), ff_ps_apply(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_rgb(), filter_slice_packed(), filter_slice_planar(), filter_slice_rgba_packed(), filter_slice_rgba_planar(), generate_inverse_quantized_transform_coefficients(), generate_joint_tables(), geq_init(), ls_decode_line(), ls_encode_line(), mix6to2_TMPL(), mix8to2_TMPL(), nmr_apply_is_band(), nmr_apply_ms_band(), nmr_decide_stereo(), nmr_is_image_masked(), nmr_solve_group(), process_bayer(), read_iplane(), scan_int23(), scan_int32(), sub_left_prediction_bgr32(), sum2_TMPL(), temperature_slice16p(), temperature_slice8p(), vibrance_slice16p(), vibrance_slice8p(), wv_unpack_stereo(), yuv2gbrp16_full_X_c(), yuv2gbrp_full_X_c(), yuv2gbrpf32_full_X_c(), yuv2rgb_full_1_template_lasx(), yuv2rgb_full_1_template_lsx(), yuv2rgb_full_2_template_lasx(), yuv2rgb_full_2_template_lsx(), yuv2rgb_full_X_template_lasx(), yuv2rgb_full_X_template_lsx(), yuv2rgb_write_full(), yuv2rgb_write_full(), yuv2rgb_write_full(), yuv2rgba64_1_c_template(), yuv2rgba64_2_c_template(), yuv2rgba64_full_1_c_template(), yuv2rgba64_full_2_c_template(), yuv2rgba64_full_X_c_template(), and yuv2rgba64_X_c_template().

◆ A

#define A   3

Definition at line 45 of file huffyuv.h.

◆ MAX_BITS

#define MAX_BITS   16

Definition at line 48 of file huffyuv.h.

◆ MAX_N

#define MAX_N   (1<<MAX_BITS)

Definition at line 49 of file huffyuv.h.

Referenced by encode_init().

◆ MAX_VLC_N

#define MAX_VLC_N   16384

Definition at line 50 of file huffyuv.h.

Referenced by decode_init(), and encode_init().

◆ READ_LOWBYTE

#define READ_LOWBYTE ( plane,
bps )
Value:
((bps) <= 8 ? (plane)[0] : *(const uint16_t *)(plane) & 0xFF)
unsigned bps
Definition movenc.c:2074

Definition at line 58 of file huffyuv.h.

Referenced by decode_slice(), and encode_frame().

Enumeration Type Documentation

◆ Predictor

enum Predictor
Enumerator
LEFT 
PLANE 
MEDIAN 

Definition at line 52 of file huffyuv.h.

Function Documentation

◆ ff_huffyuv_generate_bits_table()

int ff_huffyuv_generate_bits_table ( uint32_t * dst,
const uint8_t * len_table,
int n )

Definition at line 40 of file huffyuv.c.

Referenced by read_huffman_tables(), and store_huffman_tables().