Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BabitMF/bmf
/ functions
Functions
4,989 in github.com/BabitMF/bmf
⨍
Functions
4,989
◇
Types & classes
786
↳
Endpoints
1
↓ 1 callers
Method
add_callback_binding
(self, callback_binding)
bmf/builder/graph_config.py:417
↓ 1 callers
Method
add_eos_packet
TODO manually insert a eos packet to indicate the graph input stream is done
bmf/engine/c_engine/src/graph.cpp:960
↓ 1 callers
Method
add_input_stream
bmf/engine/c_engine/src/graph_config.cpp:256
↓ 1 callers
Method
add_input_stream
(self, stream)
bmf/builder/graph_config.py:120
↓ 1 callers
Method
add_input_stream_packet
bmf/engine/connector/src/connector.cpp:180
↓ 1 callers
Method
add_input_stream_packet
manually insert C++ packet to graph
bmf/engine/c_engine/src/graph.cpp:930
↓ 1 callers
Method
add_node_config
(self, node_config)
bmf/builder/graph_config.py:138
↓ 1 callers
Method
add_output_stream
bmf/engine/c_engine/src/graph_config.cpp:260
↓ 1 callers
Method
add_output_stream
(self, stream)
bmf/builder/graph_config.py:124
↓ 1 callers
Method
add_source
(self, index, source_url)
bmf/demo/broadcaster/broadcaster_demo.py:160
↓ 1 callers
Function
adl_swap
bmf/hmp/include/hmp/core/details/optional.hpp:235
↓ 1 callers
Method
alias
()
bmf/hmp/java/src/main/java/com/bytedance/hmp/Tensor.java:116
↓ 1 callers
Method
all_input_queue_empty
bmf/engine/c_engine/src/node.cpp:292
↓ 1 callers
Method
all_stream_has_index
(stream_map)
bmf/builder/bmf_graph.py:422
↓ 1 callers
Method
all_stream_has_notify
(stream_map)
bmf/builder/bmf_graph.py:415
↓ 1 callers
Method
alloc
bmf/hmp/src/cuda/cuda_allocator.cpp:162
↓ 1 callers
Function
apply_delta
(base_model_path, target_model_path, delta_path)
bmf/demo/fast_caption_module/convert/llava_py/llava/model/apply_delta.py:13
↓ 1 callers
Method
as_contiguous_storage
bmf/hmp/src/imgproc/image.cpp:218
↓ 1 callers
Function
av_hw_frames_ctx_to_stream
bmf/hmp/include/hmp/ffmpeg/ff_helper.h:111
↓ 1 callers
Function
batch
bmf/hmp/include/hmp/imgproc/image_seq.h:35
↓ 1 callers
Function
bgr_to_yuv
bmf/hmp/src/imgproc/imgproc.cpp:266
↓ 1 callers
Function
bmf_ffmpeg_bind
bmf/python/py_module_sdk.cpp:218
↓ 1 callers
Method
bmf_output
(self, stream, configs, clip_index)
bmf/demo/LLM_video_preprocessing/clip_process.py:177
↓ 1 callers
Function
byte_pair_encode
bmf/demo/fast_caption_module/tokenizer/tokenizer.cpp:183
↓ 1 callers
Method
c_aframe_to_python_aframe
(self, c_frame)
bmf/modules/c_module.py:187
↓ 1 callers
Method
c_packet_to_python_packet
(self, c_pkt)
bmf/modules/c_module.py:217
↓ 1 callers
Method
c_vframe_to_python_vframe
(self, c_frame)
bmf/modules/c_module.py:160
↓ 1 callers
Method
cache_pkts
(self, task)
bmf/demo/broadcaster/streamhub.py:132
↓ 1 callers
Function
calc_max_area
(blackholes, width, height, ratio_thres)
bmf/demo/LLM_video_preprocessing/ocr_crop.py:75
↓ 1 callers
Function
calc_max_area_
(blackholes, area_coord, max_area_coord, max_area_thres)
bmf/demo/LLM_video_preprocessing/ocr_crop.py:51
↓ 1 callers
Method
calc_output_shape
bmf/demo/fast_caption_module/gpu/executor.cpp:253
↓ 1 callers
Method
call_for_batch
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
bmf/demo/fast_caption_module/convert/llava_py/llava/mm_utils.py:230
↓ 1 callers
Method
call_model
(self, prompt, images)
bmf/demo/llm_caption/models/hugging_face/qwen.py:52
↓ 1 callers
Method
cancel
bmf/hmp/include/hmp/core/macros.h:141
↓ 1 callers
Function
captureBacktrace
bmf/hmp/src/core/logging.cpp:224
↓ 1 callers
Method
cdim
()
bmf/hmp/java/src/main/java/com/bytedance/hmp/Image.java:68
↓ 1 callers
Method
change_output_stream_identifier
bmf/engine/c_engine/src/graph_config.cpp:238
↓ 1 callers
Function
channels
(request)
bmf/hmp/tests/hmp_fixtures.py:87
↓ 1 callers
Function
check_psnr
(input_file, output_file)
bmf/test/cuda_frame_encode/test_copy_transcode.py:10
↓ 1 callers
Method
check_status
bmf/demo/fast_caption_module/gpu/executor.cpp:251
↓ 1 callers
Method
clean
(self)
bmf/demo/LLM_video_preprocessing/module_utils.py:111
↓ 1 callers
Method
clean
(self)
bmf/demo/aesthetic_assessment/module_utils.py:105
↓ 1 callers
Method
clean
(self)
bmf/demo/aesthetic_assessment/aesmod_module.py:123
↓ 1 callers
Method
clean
(self)
bmf/demo/video_quality_assessment/vqa_module.py:93
↓ 1 callers
Method
clean
(self)
bmf/demo/video_quality_assessment/module_utils/template.py:96
↓ 1 callers
Method
clean_up
Cleans up all the resources and writes the title and summary
bmf/demo/llm_caption/llm_caption.py:213
↓ 1 callers
Method
clear_queue
bmf/engine/c_engine/src/input_stream.cpp:171
↓ 1 callers
Method
clear_task
bmf/engine/c_engine/src/scheduler.cpp:286
↓ 1 callers
Method
clone
()
bmf/hmp/java/src/main/java/com/bytedance/hmp/Frame.java:131
↓ 1 callers
Method
clone
()
bmf/hmp/java/src/main/java/com/bytedance/hmp/Tensor.java:110
↓ 1 callers
Method
clone
()
bmf/hmp/java/src/main/java/com/bytedance/hmp/Image.java:126
↓ 1 callers
Method
closeCamera
()
bmf_lite/android/app/src/main/java/com/bmf/lite/app/playctrl/CameraPlayerWrapper.java:233
↓ 1 callers
Method
close_queue
bmf/sdk/cpp_sdk/src/trace.cpp:143
↓ 1 callers
Method
collect_graph_info
bmf/engine/c_engine/src/running_info_collector.cpp:24
↓ 1 callers
Method
colorModel
()
bmf/hmp/java/src/main/java/com/bytedance/hmp/PixelInfo.java:80
↓ 1 callers
Method
colorTransferCharacteristic
()
bmf/hmp/java/src/main/java/com/bytedance/hmp/ColorModel.java:48
↓ 1 callers
Method
color_model_ctc
(long ptr)
bmf/hmp/java/src/main/java/com/bytedance/hmp/Api.java:86
↓ 1 callers
Method
color_model_free
(long ptr)
bmf/hmp/java/src/main/java/com/bytedance/hmp/Api.java:82
↓ 1 callers
Method
color_model_make
(int cs, int cr, int cp, int ctc)
bmf/hmp/java/src/main/java/com/bytedance/hmp/Api.java:81
↓ 1 callers
Method
color_model_primaries
(long ptr)
bmf/hmp/java/src/main/java/com/bytedance/hmp/Api.java:85
↓ 1 callers
Method
color_model_range
(long ptr)
bmf/hmp/java/src/main/java/com/bytedance/hmp/Api.java:84
↓ 1 callers
Method
color_model_space
(long ptr)
bmf/hmp/java/src/main/java/com/bytedance/hmp/Api.java:83
↓ 1 callers
Function
compare
()
bmf/demo/transcode/transcode.py:204
↓ 1 callers
Function
compareProfile
(graph_file)
bmf/demo/transcode/transcode.py:179
↓ 1 callers
Method
compare_info
(self, output_path, encoded_video_info, expect_result)
bmf/mem_leak_test/base_test/base_test_case.py:23
↓ 1 callers
Method
compare_info
(self, output_path, encoded_video_info, expect_result)
bmf/test/base_test/base_test_case.py:24
↓ 1 callers
Method
compose
(self, img_left, img_right)
bmf/demo/video_enhance/composition_module.py:29
↓ 1 callers
Method
computeImgDegree
(String dir)
bmf_lite/android/app/src/main/java/com/bmf/lite/app/playctrl/ImagePlayerWrapper.java:55
↓ 1 callers
Function
consolidate_ckpt
(src_path, dst_path)
bmf/demo/fast_caption_module/convert/llava_py/llava/model/consolidate.py:13
↓ 1 callers
Method
construct_prompt
(self, prompt, number_images)
bmf/demo/llm_caption/models/hugging_face/llava.py:36
↓ 1 callers
Method
construct_prompt
(self, content, number_images)
bmf/demo/llm_caption/models/hugging_face/deepseek.py:47
↓ 1 callers
Method
construct_prompt
(self, prompt, images)
bmf/demo/llm_caption/models/hugging_face/qwen.py:36
↓ 1 callers
Function
convert_and_save_hf
(args)
bmf/demo/fast_caption_module/convert/convert_checkpoint.py:282
↓ 1 callers
Method
convert_filter_para_for_graph
(nodes)
bmf/builder/bmf_optimizer.py:106
↓ 1 callers
Function
convert_to_pil
(pkt)
bmf/demo/llm_caption/llm_caption.py:11
↓ 1 callers
Method
copyFile
(Context context, String fileName)
bmf_lite/android/app/src/main/java/com/bmf/lite/app/tool/FileOperation.java:17
↓ 1 callers
Method
copyFrom
(Frame from)
bmf/hmp/java/src/main/java/com/bytedance/hmp/Frame.java:126
↓ 1 callers
Method
copyFrom
(Tensor from)
bmf/hmp/java/src/main/java/com/bytedance/hmp/Tensor.java:181
↓ 1 callers
Method
copyFrom
(Image from)
bmf/hmp/java/src/main/java/com/bytedance/hmp/Image.java:121
↓ 1 callers
Method
copy_from_texture
bmf_lite/demo/terminal_demo/egl_helper.h:169
↓ 1 callers
Function
copy_params_and_buffers
(src_module, dst_module, require_all=False)
bmf/demo/inpaint/inpaint_module.py:24
↓ 1 callers
Function
copy_simple_frame
bmf/c_modules/src/ffmpeg_decoder.cpp:502
↓ 1 callers
Function
coreBind
bmf/hmp/py/py_core.cpp:32
↓ 1 callers
Method
core_process
user defined, process frames to output one frame, pass through by default frames: input frames, list format
bmf/demo/LLM_video_preprocessing/module_utils.py:104
↓ 1 callers
Method
core_process
user defined, process frames to output one frame, pass through by default frames: input frames, list format
bmf/demo/aesthetic_assessment/module_utils.py:98
↓ 1 callers
Method
core_process
user defined, process frames to output one frame, pass through by default frames: input frames, list format
bmf/demo/video_quality_assessment/module_utils/template.py:89
↓ 1 callers
Method
create
bmf/hmp/src/core/stream.cpp:70
↓ 1 callers
Method
create
bmf/hmp/src/core/timer.cpp:84
↓ 1 callers
Method
create
bmf/hmp/src/cuda/stream.cpp:33
↓ 1 callers
Method
createAlgorithmInstance
bmf_lite/src/algorithm/bmf_contrib_algorithm.cpp:25
↓ 1 callers
Method
createMProgram
()
bmf_lite/android/app/src/main/java/com/bmf/lite/app/render/SplitScreenRender.java:112
↓ 1 callers
Function
createVideoFrame
bmf_lite/demo/terminal_demo/test_android_interface.cpp:31
↓ 1 callers
Function
create_assemble_node
bmf/engine/c_engine/src/optimizer.cpp:333
↓ 1 callers
Function
create_default_batch
()
bmf/demo/llm_caption/utils/evaluate_outputs.py:39
↓ 1 callers
Method
create_graph
(self, option=None)
bmf/python_sdk/subgraph.py:10
↓ 1 callers
Function
create_layout_extra
(frame_num, width, height, color='#000
bmf/demo/broadcaster/edit_layout.py:378
↓ 1 callers
Function
create_layout_extra_gallery
frame_info_list = [{'width', 'height', 'frame'}]
bmf/demo/broadcaster/edit_layout.py:62
↓ 1 callers
Function
create_layout_extra_speaker
(frame_num, width, height,
bmf/demo/broadcaster/edit_layout.py:353
↓ 1 callers
Function
create_module
A CLI application to generate BMF module template files!
bmf/templates/cli.py:25
↓ 1 callers
Function
create_node_test
(module_name, option, input_video_path, output_
bmf/mem_leak_test/pre_module/test_pre_module.py:23
← previous
next →
1,201–1,300 of 4,989, ranked by callers