|
FFmpeg
|
#include <limits.h>#include <stdarg.h>#include <stdio.h>#include <string.h>#include <time.h>#include "avstring.h"#include "bprint.h"#include "error.h"#include "macros.h"#include "mem.h"Go to the source code of this file.
Macros | |
| #define | av_bprint_room(buf) |
| #define | av_bprint_is_allocated(buf) |
| #define | WHITESPACES " \n\t\r" |
Functions | |
| static int | av_bprint_alloc (AVBPrint *buf, unsigned room) |
| static void | av_bprint_grow (AVBPrint *buf, unsigned extra_len) |
| void | av_bprint_init (AVBPrint *buf, unsigned size_init, unsigned size_max) |
| Init a print buffer. | |
| void | av_bprint_init_for_buffer (AVBPrint *buf, char *buffer, unsigned size) |
| Init a print buffer using a pre-existing buffer. | |
| void | av_vbprintf (AVBPrint *buf, const char *fmt, va_list vl_arg) |
| Append a formatted string to a print buffer. | |
| void | av_bprintf (AVBPrint *buf, const char *fmt,...) |
| void | av_bprint_chars (AVBPrint *buf, char c, unsigned n) |
| Append char c n times to a print buffer. | |
| void | av_bprint_append_data (AVBPrint *buf, const char *data, unsigned size) |
| Append data to a print buffer. | |
| void | av_bprint_strftime (AVBPrint *buf, const char *fmt, const struct tm *tm) |
| Append a formatted date and time to a print buffer. | |
| void | av_bprint_get_buffer (AVBPrint *buf, unsigned size, unsigned char **mem, unsigned *actual_size) |
| Allocate bytes in the buffer for external use. | |
| void | av_bprint_clear (AVBPrint *buf) |
| Reset the string to "" but keep internal allocated data. | |
| int | av_bprint_finalize (AVBPrint *buf, char **ret_str) |
| Finalize a print buffer. | |
| void | av_bprint_escape (AVBPrint *dstbuf, const char *src, const char *special_chars, enum AVEscapeMode mode, int flags) |
| Escape the content in src and append it to dstbuf. | |
| #define av_bprint_room | ( | buf | ) |
Definition at line 32 of file bprint.c.
Referenced by av_bprint_append_data(), av_bprint_chars(), av_bprint_get_buffer(), av_bprint_strftime(), and av_vbprintf().
| #define av_bprint_is_allocated | ( | buf | ) |
Definition at line 33 of file bprint.c.
Referenced by av_bprint_alloc(), and av_bprint_finalize().
|
static |
Definition at line 35 of file bprint.c.
Referenced by av_bprint_append_data(), av_bprint_chars(), av_bprint_get_buffer(), av_bprint_init(), av_bprint_strftime(), and av_vbprintf().
|
static |
Definition at line 59 of file bprint.c.
Referenced by av_bprint_append_data(), av_bprint_chars(), av_bprint_strftime(), and av_vbprintf().
| void av_bprintf | ( | AVBPrint * | buf, |
| const char * | fmt, | ||
| ... ) |
Definition at line 121 of file bprint.c.
Referenced by add_event(), aribcaption_trans_ass_subtitle(), ass_read_header(), audio_frame_cksum(), av_bprint_escape(), av_bprint_strftime(), av_channel_description_bprint(), av_channel_layout_describe_bprint(), av_channel_name_bprint(), avcodec_string(), avfilter_graph_dump_to_buf(), bprint_bytes(), bprint_color(), bprint_pascal(), bsf_list_item_name(), buffer_put_str(), buffer_w8(), c_escape_str(), capture_screen(), cat_header(), channel_layout_from_mask(), channel_layout_from_string(), channel_layout_retype(), compact_print_section_header(), config_output(), configure_input_audio_filter(), dashenc_delete_segment_file(), decode_frame_common(), decode_string(), default_print_section_header(), der_to_fingerprint(), der_to_pem(), desc_plane_order(), describe_type(), dict_to_headers(), disp_node(), disp_tree(), draw_qrcode(), draw_text(), dump_curves(), dvdsub_init(), exchange_sdp(), exif_ifd_to_dict(), expand_filename_template(), ff_ass_bprint_text_event(), ff_bprint_get_frame_filename(), ff_dvdclut_palette_extradata_cat(), ff_htmlmarkup_to_ass(), ff_iamf_add_audio_element(), ff_id3v2_parse_priv_dict(), ff_img_read_packet(), ff_jni_exception_get_summary(), ff_make_codec_str(), ff_opencl_print_const_matrix_3x3(), ff_print_debug_info2(), ff_print_eval_expr(), ff_print_formatted_eval_expr(), ff_print_pts(), ff_print_time(), ff_subtitles_read_text_chunk(), ff_sws_op_desc(), ff_sws_op_list_print(), ff_sws_uop_name(), ff_tadd_doubles_metadata(), ff_tadd_shorts_metadata(), ff_tx_init_subtx(), ff_url_read_all(), flat_escape_value_str(), flat_print_section_header(), flush_segment(), format_date_now(), format_line(), ftp_status(), func_frame_metadata(), func_frame_num(), gen_sub_ass(), gen_sub_text(), generate_entry_args(), generate_entry_struct(), generate_sdp_offer(), get_frame_filename(), gnutls_x509_fingerprint(), has_link_pair(), hls_append_segment(), hls_delete_old_segments(), indent_to(), ini_escape_str(), ini_print_section_header(), insert_datetime(), insert_text(), ist_add(), istg_parse_tile_grid(), jacosub_read_header(), jacosub_to_ass(), json_escape_str(), libaribb24_handle_regions(), main(), make_command_flags_str(), mbedtls_x509_fingerprint(), mermaid_print_section_footer(), mermaid_print_value(), microdvd_close_no_persistent_tags(), microdvd_decode_frame(), microdvd_init(), microdvd_open_tags(), mpl2_event_to_ass(), of_map_group(), of_serialize_options(), parse_psfile(), print_base_reg(), print_cd_info(), print_data_base64(), print_data_xxd(), print_deps(), print_dovi_metadata(), print_flags(), print_integers(), print_link_prop(), print_node_comment(), print_node_directive(), print_node_endfunc(), print_node_function(), print_node_insn(), print_node_label(), print_op_base(), print_op_cond(), print_op_gpr(), print_op_imm(), print_op_label(), print_op_vec(), print_q(), print_q4(), print_report(), print_sample_rate(), print_sanizied_id(), print_section_header_id(), print_streams(), print_type(), print_vec_reg(), query_formats(), rasm_print(), read_dialogue(), replace_int_data_in_filename(), replace_str_data_in_filename(), rt_event_to_ass(), rtmp_open(), sami_paragraph_to_ass(), sami_read_header(), send_frame(), serialize_op(), set_ass_color(), set_vp9_codec_str(), setup_protocols(), srt_read_header(), srt_to_ass(), subviewer_event_to_ass(), subviewer_read_header(), sws_uops_macros_gen(), text_to_ass(), tonemap_opencl_init(), try_describe_ambisonic(), ttml_encode_frame(), ttml_new_line_cb(), ttml_write_header_content(), ttml_write_region(), validate_string(), video_frame_cksum(), video_refresh(), webvtt_event_to_ass(), write_frame(), write_packet(), and x509_fingerprint().