Home
last modified time | relevance | path

Searched refs:GetBitContext (Results 1 – 25 of 311) sorted by relevance

12345678910>>...13

/third_party/ffmpeg/libavcodec/
Dget_bits.h61 typedef struct GetBitContext { struct
70 } GetBitContext; typedef
72 static inline unsigned int get_bits(GetBitContext *s, int n);
73 static inline void skip_bits(GetBitContext *s, int n);
74 static inline unsigned int show_bits(GetBitContext *s, int n);
219 static inline int get_bits_count(const GetBitContext *s) in get_bits_count()
229 static inline void refill_32(GetBitContext *s, int is_le) in refill_32()
244 static inline void refill_64(GetBitContext *s, int is_le) in refill_64()
259 static inline uint64_t get_val(GetBitContext *s, unsigned n, int is_le) in get_val()
274 static inline unsigned show_val(const GetBitContext *s, unsigned n) in show_val()
[all …]
Dhevc_sei.c31 static int decode_nal_sei_decoded_picture_hash(HEVCSEIPictureHash *s, GetBitContext *gb) in decode_nal_sei_decoded_picture_hash()
55 static int decode_nal_sei_mastering_display_info(HEVCSEIMasteringDisplay *s, GetBitContext *gb) in decode_nal_sei_mastering_display_info()
78 static int decode_nal_sei_content_light_info(HEVCSEIContentLight *s, GetBitContext *gb) in decode_nal_sei_content_light_info()
90 static int decode_nal_sei_frame_packing_arrangement(HEVCSEIFramePacking *s, GetBitContext *gb) in decode_nal_sei_frame_packing_arrangement()
115 static int decode_nal_sei_display_orientation(HEVCSEIDisplayOrientation *s, GetBitContext *gb) in decode_nal_sei_display_orientation()
130 static int decode_nal_sei_pic_timing(HEVCSEI *s, GetBitContext *gb, const HEVCParamSets *ps, in decode_nal_sei_pic_timing()
166 static int decode_registered_user_data_closed_caption(HEVCSEIA53Caption *s, GetBitContext *gb, in decode_registered_user_data_closed_caption()
184 static int decode_nal_sei_user_data_unregistered(HEVCSEIUnregistered *s, GetBitContext *gb, in decode_nal_sei_user_data_unregistered()
211 GetBitContext *gb, int size) in decode_registered_user_data_dynamic_hdr_plus()
238 static int decode_nal_sei_user_data_registered_itu_t_t35(HEVCSEI *s, GetBitContext *gb, in decode_nal_sei_user_data_registered_itu_t_t35()
[all …]
Dgolomb.h55 static inline int get_ue_golomb(GetBitContext *gb) in get_ue_golomb()
106 static inline unsigned get_ue_golomb_long(GetBitContext *gb) in get_ue_golomb_long()
122 static inline int get_ue_golomb_31(GetBitContext *gb) in get_ue_golomb_31()
145 static inline unsigned get_interleaved_ue_golomb(GetBitContext *gb) in get_interleaved_ue_golomb()
213 static inline int get_te0_golomb(GetBitContext *gb, int range) in get_te0_golomb()
228 static inline int get_te_golomb(GetBitContext *gb, int range) in get_te_golomb()
241 static inline int get_se_golomb(GetBitContext *gb) in get_se_golomb()
296 static inline int get_se_golomb_long(GetBitContext *gb) in get_se_golomb_long()
303 static inline int get_interleaved_se_golomb(GetBitContext *gb) in get_interleaved_se_golomb()
361 static inline int dirac_get_se_golomb(GetBitContext *gb) in dirac_get_se_golomb()
[all …]
Dh264_sei.c65 GetBitContext gb; in ff_h264_sei_process_picture_timing()
129 static int decode_picture_timing(H264SEIPictureTiming *h, GetBitContext *gb, in decode_picture_timing()
152 static int decode_registered_user_data_afd(H264SEIAFD *h, GetBitContext *gb, int size) in decode_registered_user_data_afd()
174 GetBitContext *gb, void *logctx, in decode_registered_user_data_closed_caption()
183 static int decode_registered_user_data(H264SEIContext *h, GetBitContext *gb, in decode_registered_user_data()
244 static int decode_unregistered_user_data(H264SEIUnregistered *h, GetBitContext *gb, in decode_unregistered_user_data()
280 static int decode_recovery_point(H264SEIRecoveryPoint *h, GetBitContext *gb, void *logctx) in decode_recovery_point()
298 static int decode_buffering_period(H264SEIBufferingPeriod *h, GetBitContext *gb, in decode_buffering_period()
336 GetBitContext *gb) in decode_frame_packing_arrangement()
364 GetBitContext *gb) in decode_display_orientation()
[all …]
Dmpeg4audio.c33 static int parse_config_ALS(GetBitContext *gb, MPEG4AudioConfig *c, void *logctx) in parse_config_ALS()
84 static inline int get_object_type(GetBitContext *gb) in get_object_type()
92 static inline int get_sample_rate(GetBitContext *gb, int *index) in get_sample_rate()
99 int ff_mpeg4audio_get_config_gb(MPEG4AudioConfig *c, GetBitContext *gb, in ff_mpeg4audio_get_config_gb()
176 GetBitContext gb; in avpriv_mpeg4audio_get_config()
193 GetBitContext gb; in avpriv_mpeg4audio_get_config2()
Dinterplayacm.c38 GetBitContext gb;
123 GetBitContext *gb = &s->gb; in linear()
136 GetBitContext *gb = &s->gb; in k13()
161 GetBitContext *gb = &s->gb; in k12()
179 GetBitContext *gb = &s->gb; in k24()
205 GetBitContext *gb = &s->gb; in k23()
223 GetBitContext *gb = &s->gb; in k35()
257 GetBitContext *gb = &s->gb; in k34()
282 GetBitContext *gb = &s->gb; in k45()
309 GetBitContext *gb = &s->gb; in k44()
[all …]
Dunary.h46 static inline int get_unary(GetBitContext *gb, int stop, int len) in get_unary()
59 static inline int get_unary_0_33(GetBitContext *gb) in get_unary_0_33()
64 static inline int get_unary_0_9(GetBitContext *gb) in get_unary_0_9()
Dbgmc.h43 int ff_bgmc_decode_init(GetBitContext *gb,
47 void ff_bgmc_decode_end(GetBitContext *gb);
50 void ff_bgmc_decode(GetBitContext *gb, unsigned int num, int32_t *dst,
Ddstdec.c71 GetBitContext gb;
109 static int read_map(GetBitContext *gb, Table *t, unsigned int map[DST_MAX_CHANNELS], int channels) in read_map()
132 static av_always_inline int get_sr_golomb_dst(GetBitContext *gb, unsigned int k) in get_sr_golomb_dst()
140 static void read_uncoded_coeff(GetBitContext *gb, int *dst, unsigned int elements, in read_uncoded_coeff()
150 static int read_table(GetBitContext *gb, Table *t, const int8_t code_pred_coeff[3][3], in read_table()
186 static void ac_init(ArithCoder *ac, GetBitContext *gb) in ac_init()
192 static av_always_inline void ac_get(ArithCoder *ac, GetBitContext *gb, int p, int *e) in ac_get()
249 GetBitContext *gb = &s->gb; in decode_frame()
Dcllc.c45 static int read_code_table(CLLCContext *ctx, GetBitContext *gb, VLC *vlc) in read_code_table()
88 static int read_argb_line(CLLCContext *ctx, GetBitContext *gb, int *top_left, in read_argb_line()
157 static int read_rgb24_component_line(CLLCContext *ctx, GetBitContext *gb, in read_rgb24_component_line()
187 static int read_yuv_component_line(CLLCContext *ctx, GetBitContext *gb, in read_yuv_component_line()
215 static int decode_argb_frame(CLLCContext *ctx, GetBitContext *gb, AVFrame *pic) in decode_argb_frame()
259 static int decode_rgb24_frame(CLLCContext *ctx, GetBitContext *gb, AVFrame *pic) in decode_rgb24_frame()
303 static int decode_yuv_frame(CLLCContext *ctx, GetBitContext *gb, AVFrame *pic) in decode_yuv_frame()
367 GetBitContext gb; in cllc_decode_frame()
Drv34.h128 int (*parse_slice_header)(struct RV34DecContext *r, GetBitContext *gb, SliceInfo *si);
130 int (*decode_intra_types)(struct RV34DecContext *r, GetBitContext *gb, int8_t *dst);
137 int ff_rv34_get_start_offset(GetBitContext *gb, int blocks);
Dhevc_ps.h347 int ff_hevc_parse_sps(HEVCSPS *sps, GetBitContext *gb, unsigned int *sps_id,
350 int ff_hevc_decode_nal_vps(GetBitContext *gb, AVCodecContext *avctx,
352 int ff_hevc_decode_nal_sps(GetBitContext *gb, AVCodecContext *avctx,
354 int ff_hevc_decode_nal_pps(GetBitContext *gb, AVCodecContext *avctx,
359 int ff_hevc_decode_short_term_rps(GetBitContext *gb, AVCodecContext *avctx,
Dav1_parse.h49 GetBitContext gb;
90 static inline int64_t leb128(GetBitContext *gb) { in leb128()
107 GetBitContext gb; in parse_obu_header()
Datrac3plus.c126 static int num_coded_units(GetBitContext *gb, Atrac3pChanParams *chan, in num_coded_units()
240 static int decode_channel_wordlen(GetBitContext *gb, Atrac3pChanUnitCtx *ctx, in decode_channel_wordlen()
387 static int decode_channel_sf_idx(GetBitContext *gb, Atrac3pChanUnitCtx *ctx, in decode_channel_sf_idx()
522 static int decode_quant_wordlen(GetBitContext *gb, Atrac3pChanUnitCtx *ctx, in decode_quant_wordlen()
555 static int decode_scale_factors(GetBitContext *gb, Atrac3pChanUnitCtx *ctx, in decode_scale_factors()
582 static int get_num_ct_values(GetBitContext *gb, Atrac3pChanUnitCtx *ctx, in get_num_ct_values()
635 static int decode_channel_code_tab(GetBitContext *gb, Atrac3pChanUnitCtx *ctx, in decode_channel_code_tab()
688 static int decode_code_table_indexes(GetBitContext *gb, Atrac3pChanUnitCtx *ctx, in decode_code_table_indexes()
721 static void decode_qu_spectra(GetBitContext *gb, const Atrac3pSpecCodeTab *tab, in decode_qu_spectra()
760 static void decode_spectrum(GetBitContext *gb, Atrac3pChanUnitCtx *ctx, in decode_spectrum()
[all …]
Dmpeg4audio.h59 int ff_mpeg4audio_get_config_gb(MPEG4AudioConfig *c, GetBitContext *gb,
138 GetBitContext *gb, in ff_pce_copy_bits()
146 static inline int ff_copy_pce_data(PutBitContext *pb, GetBitContext *gb) in ff_copy_pce_data()
Dwma.h70 GetBitContext gb;
153 unsigned int ff_wma_get_large_val(GetBitContext *gb);
154 int ff_wma_run_level_decode(AVCodecContext *avctx, GetBitContext *gb,
Dmotionpixels.c102 static void mp_read_changes_map(MotionPixelsContext *mp, GetBitContext *gb, int count, int bits_len… in mp_read_changes_map()
131 static int mp_get_code(MotionPixelsContext *mp, GetBitContext *gb, int size) in mp_get_code()
151 static int mp_read_codes_table(MotionPixelsContext *mp, GetBitContext *gb) in mp_read_codes_table()
198 static av_always_inline int mp_get_vlc(MotionPixelsContext *mp, GetBitContext *gb) in mp_get_vlc()
204 static void mp_decode_line(MotionPixelsContext *mp, GetBitContext *gb, int y) in mp_decode_line()
251 static void mp_decode_frame_helper(MotionPixelsContext *mp, GetBitContext *gb) in mp_decode_frame_helper()
287 GetBitContext gb; in mp_decode_frame()
Dtak.c93 void ff_tak_parse_streaminfo(TAKStreamInfo *s, GetBitContext *gb) in ff_tak_parse_streaminfo()
130 GetBitContext gb; in avpriv_tak_parse_streaminfo()
141 int ff_tak_decode_frame_header(AVCodecContext *avctx, GetBitContext *gb, in ff_tak_decode_frame_header()
Dh264_parse.h56 int ff_h264_pred_weight_table(GetBitContext *gb, const SPS *sps,
77 GetBitContext *gb, const PPS *pps,
Dmss4.c143 static av_always_inline int get_coeff_bits(GetBitContext *gb, int nbits) in get_coeff_bits()
157 static inline int get_coeff(GetBitContext *gb, VLC *vlc) in get_coeff()
164 static int mss4_decode_dct(GetBitContext *gb, VLC *dc_vlc, VLC *ac_vlc, in mss4_decode_dct()
219 static int mss4_decode_dct_block(MSS4Context *c, GetBitContext *gb, in mss4_decode_dct_block()
267 static void read_vec_pos(GetBitContext *gb, int *vec_pos, int *sel_flag, in read_vec_pos()
293 static int get_value_cached(GetBitContext *gb, int vec_pos, uint8_t *vec, in get_value_cached()
317 static int mss4_decode_image_block(MSS4Context *ctx, GetBitContext *gb, in mss4_decode_image_block()
452 GetBitContext gb; in mss4_decode_frame()
Dac3_parser.c54 int ff_ac3_parse_header(GetBitContext *gbc, AC3HeaderInfo *hdr) in ff_ac3_parse_header()
155 GetBitContext gb; in avpriv_ac3_parse_header()
178 GetBitContext gb; in av_ac3_parse_header()
202 GetBitContext gbc; in ac3_sync()
Dvc1.h410 int ff_vc1_decode_sequence_header(AVCodecContext *avctx, VC1Context *v, GetBitContext *gb);
412 int ff_vc1_decode_entry_point(AVCodecContext *avctx, VC1Context *v, GetBitContext *gb);
414 int ff_vc1_parse_frame_header (VC1Context *v, GetBitContext *gb);
415 int ff_vc1_parse_frame_header_adv(VC1Context *v, GetBitContext *gb);
Djvdec.c65 static inline void decode2x2(GetBitContext *gb, uint8_t *dst, int linesize) in decode2x2()
92 static inline void decode4x4(GetBitContext *gb, uint8_t *dst, int linesize) in decode4x4()
122 static inline void decode8x8(GetBitContext *gb, uint8_t *dst, int linesize, in decode8x8()
168 GetBitContext gb; in decode_frame()
Dintrax8.h54 GetBitContext *gb;
113 GetBitContext *gb, int *mb_x, int *mb_y,
/third_party/ffmpeg/libavformat/
Dhevc.c126 static void hvcc_parse_ptl(GetBitContext *gb, in hvcc_parse_ptl()
175 static void skip_sub_layer_hrd_parameters(GetBitContext *gb, in skip_sub_layer_hrd_parameters()
194 static int skip_hrd_parameters(GetBitContext *gb, uint8_t cprms_present_flag, in skip_hrd_parameters()
269 static void skip_timing_info(GetBitContext *gb) in skip_timing_info()
278 static void hvcc_parse_vui(GetBitContext *gb, in hvcc_parse_vui()
356 static void skip_sub_layer_ordering_info(GetBitContext *gb) in skip_sub_layer_ordering_info()
363 static int hvcc_parse_vps(GetBitContext *gb, in hvcc_parse_vps()
400 static void skip_scaling_list_data(GetBitContext *gb) in skip_scaling_list_data()
419 static int parse_rps(GetBitContext *gb, unsigned int rps_idx, in parse_rps()
486 static int hvcc_parse_sps(GetBitContext *gb, in hvcc_parse_sps()
[all …]

12345678910>>...13