X5 Chip User Manual
- 1. Preface
- 2. Quick Start
- 2.1. X5 EVB 1_B Development Board User Guide
- 2.1.1. Functional Overview
- 2.1.2. Function Module Layout
- 2.1.3. Interface Usage Instructions
- 2.1.3.1. Starting the Development Board
- 2.1.3.2. DIP Switch
- 2.1.3.3. Debug Serial Port
- 2.1.3.4. Ethernet
- 2.1.3.5. USB 3.0 Interface
- 2.1.3.6. USB 2.0 Interface
- 2.1.3.7. Camera (MIPI CSI) Interface
- 2.1.3.8. HDMI Interface
- 2.1.3.9. LCD (MIPI DSI) and TP Interface
- 2.1.3.10. Independent I2C Interface
- 2.1.3.11. Wi-Fi / Bluetooth
- 2.1.3.12. TF Card
- 2.1.3.13. 40-Pin Interface
- 2.1.3.14. RTC Interface
- 2.1.3.15. ADC Interface
- 2.1.3.16. Other Interfaces
- 2.2. X5 EVB V2P0 Development Board User Guide
- 2.2.1. Functional Overview
- 2.2.2. Functional Module Layout
- 2.2.3. Interface Usage Instructions
- 2.2.3.1. Powering On the Development Board
- 2.2.3.2. DIP Switch
- 2.2.3.3. Debug Serial Port
- 2.2.3.4. Ethernet
- 2.2.3.5. USB 3.0 Interface
- 2.2.3.6. USB 2.0 Interface
- 2.2.3.7. Camera (MIPI CSI) Interface
- 2.2.3.8. HDMI Interface
- 2.2.3.9. LCD (MIPI DSI) and TP Interface
- 2.2.3.10. Independent I2C Interface
- 2.2.3.11. Wi-Fi Antenna
- 2.2.3.12. Wi-Fi / Bluetooth
- 2.2.3.13. TF Card
- 2.2.3.14. 40-Pin Interface
- 2.2.3.15. RTC
- 2.2.3.16. ADC Interface
- 2.2.3.17. Other Interfaces
- 2.2.3.18. Notes
- 2.3. X5 MD Development Board User Guide
- 2.3.1. Functional Overview
- 2.3.2. IO Carrier Board Functional Module Layout
- 2.3.3. Interface Usage Instructions
- 2.3.3.1. Powering On the Development Board
- 2.3.3.2. Booting from
eMMC - 2.3.3.3. Debug Serial Port
- 2.3.3.4. Ethernet
- 2.3.3.5. USB 3.0 Interface
- 2.3.3.6. USB 2.0 Interface
- 2.3.3.7. IO Voltage Level Selection
- 2.3.3.8. Camera (MIPI CSI) Interface
- 2.3.3.9. HDMI Interface
- 2.3.3.10. LCD (MIPI DSI) and TP Interface
- 2.3.3.11. Wi-Fi antenna
- 2.3.3.12. Wi-Fi / Bluetooth
- 2.3.3.13. TF Card
- 2.3.3.14. CANFD Interface
- 2.3.3.15. 40PIN Interface
- 2.3.3.16. RTC
- 2.3.3.17. Other Interfaces
- 2.4. Connect the Development Board
- 2.4.1. Connecting via Serial Port
- 2.4.2. Connecting via Network Interface
- 2.4.3. Connecting via USB Port
- 2.4.3.1. Installing Software on Windows
- 2.4.3.2. Installing Software on Ubuntu
- 2.4.3.3. Using adb
- 2.4.3.4. Using fastboot
- 2.4.3.5. Using dfu
- 2.4.3.6. Virtual Network Interface Introduction
- 2.4.3.7. Virtual Network Interface (RNDIS)
- 2.4.3.8. Virtual Network Interface (CDC-ECM)
- 2.4.3.9. Additional Features
- 2.5. System Image Flashing
- 2.5.1. Overview
- 2.5.2. Firmware Flashing Protocol Overview
- 2.5.3. Graphical Tool Flashing Introduction
- 2.5.3.1. Flashing Tool Interface Overview
- 2.5.3.2. Flashing Methods Overview
- 2.5.3.3. Flashing Tool Installation and Startup Guide
- 2.5.3.4. Flashing Method Selection Guide
- 2.5.3.5. USB Connection Upgrade Procedure
- 2.5.3.6. Serial+USB connection mode upgrade process description
- 2.5.3.7. Serial+Ethernet Connection Upgrade Procedure
- 2.5.3.8. Serial Connection Upgrade Procedure
- 2.5.3.9. Advanced Configuration
- 2.5.4. Command-line Tool Introduction (Factory Version)
- 2.5.5. Manual Flashing Tool Introduction
- 2.5.6. FAQ: Common Error Reference Table
- 2.1. X5 EVB 1_B Development Board User Guide
- 3. Guidelines for using samples
- 3.1. Example Code Introduction
- 3.2. sample_vin Instructions
- 3.3. sample_isp User Guide
- 3.3.1. get_isp_data
- 3.3.2. multi_isp_vflow
- 3.3.3. isp_feedback
- 3.3.4. get_isp_rgb_ir
- 3.4. sample_vse User Guide
- 3.5. sample_osd User Guide
- 3.6. sample_gdc Usage Instructions
- 3.7. sample_codec User Guide
- 3.8. sample_vot Usage Instructions
- 3.9. sample_gpu_3d Instructions
- 3.10. sample_gpu_2d Instructions
- 3.10.1. sample_rotation
- 3.10.2. sample_rectangle_fill
- 3.10.3. sample_alphablend
- 3.10.4. sample_format_convert
- 3.10.5. sample_copy
- 3.10.6. sample_crop
- 3.10.7. sample_multi_source_alphablend
- 3.10.8. sample_resize
- 3.10.9. sample_stitch
- 3.10.10. sample_create_n2d_buffer
- 3.11. sample_dsp User Guide
- 3.12. sample_audio User Guide
- 3.13. sample_imu Usage Guide
- 3.13.1. Overview
- 3.13.2. sample_imu_iio
- 3.13.3. sample_imu_input
- 3.14. sample_hbmem Usage Instructions
- 3.15. sample_pipeline Usage Instructions
- 3.15.1. Overview
- 3.15.2. single_pipe_vin_isp_vse
- 3.15.3. single_pipe_vin_isp_vse_vpu
- 3.15.4. single_pipe_vin_isp_gdc
- 3.15.5. single_pipe_vin_isp_vse_gdc
- 3.15.6. multi_pipe_vin_isp_vse
- 3.15.7. multi_pipe_gdc_stitching
- 3.15.8. multi_pipe_vin_isp_vse_gpu2d
- 3.15.9. multi_pipe_crop_and_stitch
- 3.15.10. uvc_gadget_camera
- 3.15.11. sample_custom_capbuf
- 3.15.12. uvc_capture_sample
- 3.15.13. mp4_decode_and_display
- 3.15.14. single_pipe_vin_isp_vse_gpu2d
- 3.15.15. single_pipe_vin_isp_vse_vo
- 3.15.16. single_format_convert_gpu2d
- 3.15.17. single_pipe_vin_isp_vse_multi_process
- 3.15.18. single_pipe_vin_isp_vse_bpu
- 3.16. Sunrise camera User Instructions
- 3.17. Sunrise camera Development Guide
- 3.17.1. Sunrise camera System Design
- 3.17.2. Sunrise camera Architecture View
- 3.17.3. Using BPU for Algorithm Inference
- 3.18. sample_trustzone Usage Guide
- 3.19. sample_crypto Usage Instructions
- 3.20. sample_qt Usage Instructions
- 3.21. sample_lvgl_camera Usage Guide
- 4. BSP Development Guide
- 4.1. Setting Up the Development Environment and Compilation Instructions
- 4.1.1. Overview
- 4.1.2. Setting Up the Development Environment
- 4.1.3. BSP Source Code Directory Structure
- 4.1.4. Compilation Process and Commands
- 4.1.5. Building BSP Using Docker
- 4.1.6. Use Podman to compile BSP
- 4.2. Hardware Bring-Up Guide
- 4.2.1. Hardware Bring-Up Basic Process
- 4.2.2. Adding Board-Level Configuration
- 4.2.3. Adding New Hardware in U-Boot
- 4.2.4. Adding Hardware Support in Kernel
- 4.2.5. Debugging Minimal System
- 4.2.6. System Stability and Stress Testing
- 4.3. Driver Development Guide
- 4.3.1. Address space mapping
- 4.3.2. Configure U-Boot and Kernel Option Parameters
- 4.3.3. UART Driver Debug Guide
- 4.3.4. GPIO Debug Guide
- 4.3.5. Pinctrl Debug Guide
- 4.3.6. IO-Domain Debug Guide
- 4.3.7. ADC Debug Guide
- 4.3.8. SPI Debug Guide
- 4.3.9. I2C Debug Guide
- 4.3.10. LPWM Driver Debug Guide
- 4.3.11. PWM Driver Debug Guide
- 4.3.12. RTC Debug Guide
- 4.3.13. Watchdog Driver Debug Guide
- 4.3.14. Thermal System
- 4.3.15. Ethernet Driver Debug Guide
- 4.3.16. PMIC Driver Debugging Guide
- 4.3.17. LCD Driver Debug Guide
- 4.3.18. USB/USB Gadget Debug Guide
- 4.3.19. Audio Development and Debugging Guide
- 4.3.19.1. Overview
- 4.3.19.2. Features
- 4.3.19.3. Functional Description
- 4.3.19.4. Driver Code
- 4.3.19.5. Function Usage
- 4.3.19.6. Common Issues
- Q1: How to troubleshoot silence issues?
- Q2: Few LOGs, unable to locate the problem, what to do?
- Q3: How to determine sound card registration success and PCM device correspondence?
- Q4: What is an xrun issue, and how to locate and resolve it when encountered?
- Q5: Errors related to opening device nodes:
- 4.3.20. SDIO Usage Guide
- 4.3.21. Wi-Fi Driver Debug Guide
- 4.3.22. Bluetooth Driver Debug Guide
- 4.3.23. QoS Debug Guide
- 4.3.24. AXI-Monitor Debug Guide
- 4.3.25. X5 USB User Manual
- 4.3.26. boardinfo Debug Guide
- 4.3.27. Time Synchronization Debugging Guide
- 4.3.28. bootloader Usage instructions
- 4.3.28.1. Bootloader User Guide
- Introduction to Bootloader
- Bootloader Boot Process
- Introduction to Secure Boot Process
- U-Boot Dynamic Configuration of Kernel ION Reserved Memory Size Usage Guide
- U-Boot Usage Guide for dtb overlay
- U-Boot Configuration of Watchdog
- U-Boot Configuration of PHY
- U-Boot Configuration of UART
- U-Boot Configuration of IO-Domain
- Description of Commonly Used Commands in U-Boot
- Bootloader Glossary
- 4.3.28.2. BL2 Configuration File Description
- 4.3.28.1. Bootloader User Guide
- 4.3.29. HIFI5 Guidelines for use
- 4.4. System Component Development
- 4.4.1. Auto-start Configuration
- 4.4.2. Integrating User Software into System Image
- 4.4.3. Root Filesystem Adaptation Guide
- 4.4.4. System Miniaturization and Trimming
- 4.4.5. Quickstart Guide
- 4.4.6. ION System Debugging Guide
- 4.4.7. Log System Introduction
- 4.4.8. Information Security Development Guide
- 4.4.9. OTA
- 4.4.10. USB Flash Drive Update Function
- 4.4.11. Low Power Mode Debugging Guide
- 4.4.12. System Performance Optimization Guide
- 4.5. Driver function unit test
- 4.5.1. Overview
- 4.5.2. AutoTest Usage Guide
- 4.5.3. CPU-BPU-DDR Stress Test
- 4.5.4. eMMC Stress Test
- 4.5.5. QSPI NAND Flash Stress Test
- 4.5.6. UART Stress Test
- 4.5.7. SPI Stress Test
- 4.5.8. Wi-Fi Performance Testing
- 4.5.9. Ethernet Performance Testing
- 4.5.9.1. Throughput Testing
- 4.5.9.2. MTU Performance Testing
- 4.5.9.3. Common Issues
- 1. Why can’t the
iperf3client connect to the server? - 2. Why is the measured bandwidth lower than expected?
- 3. Why is there high packet loss during testing?
- 4. How to resolve the “Address already in use” error when running
iperf3? - 5. Why do MBytes and Bitrate look the same across MTU test tiers?
- 6. Why is MTU 9000 not tested?
- 1. Why can’t the
- 4.5.10. CPU Performance Test
- 4.5.11. DDR Bandwidth Test
- 4.5.12. USB Bus Speed Test
- 4.5.13. 2D GPU Performance Test
- 4.5.14. 3D GPU Performance Test
- 4.5.15. GPIO IRQ Test
- 4.5.16. Bluetooth Performance Testing
- 4.5.17. ADC Test
- 4.5.18. Watchdog Test
- 4.5.19. RTC Test
- 4.6. System debugging method
- 4.6.1. pstore & ramoops
- 4.6.2. mem-dump Feature Guide
- 4.6.3. Using GDB to Debug Applications
- 4.6.4. Using Kdb/Kgdb to Debug the Kernel
- 4.6.5. DDR Digital eye diagram
- 4.7. Common command usage methods
- 4.7.1. Iozone
- 4.7.2. iperf3
- 4.7.3. perf
- 4.7.4. sysinfopro
- 4.7.4.1. Syntax Description
- 4.7.4.2. Option Parameters Description
- 4.7.4.3. Command Options and Their Functional Descriptions
- Display All Information
- Display Memory Information
- Display Hardware Information
- Display Operating System Version Information
- Display Temperature and Frequency Information
- Display Board Terminal Basic Information
- Display HBRE Library Version Information
- Display Currently Loaded Kernel Modules
- Display Help Information
- 4.7.5. devmem
- 4.7.6. hb_gpioinfo
- 4.7.7. hrut_boardid
- 4.7.8. hrut_bpuprofile
- 4.7.9. hrut_ddr
- 4.7.10. hrut_ddr_freq
- 4.7.11. hrut_resetreason
- 4.7.12. hrut_sched_log_parse
- 4.7.13. hrut_socuid
- 4.7.14. hrut_somstatus
- 4.7.15. hrut_switch_reason
- 4.7.16. logcat
- 4.7.17. ota_tool
- 4.8. Approved Vendor List
- 4.8.1. Introduction
- 4.8.2. DDR Support List
- 4.8.3. eMMC Support List
- 4.8.4. NAND Flash Support List
- 4.8.5. Camera Sensor Support List
- 4.8.6. Wi-Fi/Bluetooth Support List
- 4.8.7. PHY Support List
- 4.8.8. BT1120 To HDMI List
- 4.8.9. Audio Codec Support List
- 4.8.10. IMU Support List
- 4.8.11. MIPI DSI Support List
- 4.8.12. 4G Support List
- 4.1. Setting Up the Development Environment and Compilation Instructions
- 5. Multimedia Development Guide
- 5.1. System Overview
- 5.2. HBN Framework Description
- 5.2.1. Overview
- 5.2.2. Software Abstraction
- 5.2.3. Vnode Connection Methods
- 5.2.4. API List
- 5.2.5. API Call Flow
- 5.2.6. API Interface Description
- 5.2.6.1. hbn_vnode_open
- 5.2.6.2. hbn_vnode_close
- 5.2.6.3. hbn_vnode_set_attr
- 5.2.6.4. hbn_vnode_get_attr
- 5.2.6.5. hbn_vnode_set_attr_ex
- 5.2.6.6. hbn_vnode_get_attr_ex
- 5.2.6.7. hbn_vnode_set_ochn_attr
- 5.2.6.8. hbn_vnode_get_ochn_attr
- 5.2.6.9. hbn_vnode_set_ochn_attr_ex
- 5.2.6.10. hbn_vnode_set_ichn_attr
- 5.2.6.11. hbn_vnode_get_ichn_attr
- 5.2.6.12. hbn_vnode_set_ichn_attr_ex
- 5.2.6.13. hbn_vnode_set_ochn_buf_attr
- 5.2.6.14. hbn_vnode_start
- 5.2.6.15. hbn_vnode_stop
- 5.2.6.16. hbn_vnode_getframe
- 5.2.6.17. hbn_vnode_releaseframe
- 5.2.6.18. hbn_vnode_sendframe
- 5.2.6.19. hbn_vnode_sendframe_async
- 5.2.6.20. hbn_vnode_set_output_frame
- 5.2.6.21. hbn_vnode_get_output_frame
- 5.2.6.22. hbn_vflow_create
- 5.2.6.23. hbn_vflow_destroy
- 5.2.6.24. hbn_vflow_add_vnode
- 5.2.6.25. hbn_vflow_bind_vnode
- 5.2.6.26. hbn_vflow_unbind_vnode
- 5.2.6.27. hbn_vflow_start
- 5.2.6.28. hbn_vflow_stop
- 5.2.6.29. hbn_vflow_get_vnode_handle
- 5.2.6.30. hbn_vflow_create_cfg
- 5.2.6.31. hbn_vflow_get_version
- 5.2.7. Data Structures
- 5.2.8. Return Value Description
- 5.3. Multimedia System Debugging Guide
- 5.3.1. Control Nodes
- 5.3.2. Statistics Nodes
- 5.3.2.1. VPU Module Debug Information
- 5.3.2.2. JPU Module Debug Information
- 5.3.2.3. Interrupt Statistics
- 5.3.2.4. Frame Rate Information
- 5.3.2.5. Timestamp Information
- 5.3.2.6. Latency Information
- 5.3.2.7. Frame Drop Information
- 5.3.2.8. Driver Buffer Status
- 5.3.2.9. VIO Path Information
- 5.3.2.10. MIPI Interrupts
- 5.3.2.11. MIPI Status Registers
- 5.3.2.12. MIPI Interrupt Logging
- 5.4. Memory Management - hbmem
- 5.4.1. Module Description
- 5.4.2. Reference Examples
- 5.4.3. API Reference
- 5.4.3.1. Memory Allocation Interfaces
- 5.4.3.2. Memory Sharing Interfaces
- 5.4.3.3. Memory Queue Management Interfaces
- 5.4.3.4. Memory Pool Interfaces
- 5.4.3.5. Shared Memory Pool Interfaces
- 5.4.3.6. General Information Get/Set Interfaces
- 5.4.3.7. Compatibility Interfaces (Not recommended for new development)
- 5.4.4. Interface Descriptions
- 5.4.4.1. hb_mem_get_version
- 5.4.4.2. hb_mem_module_open
- 5.4.4.3. hb_mem_module_close
- 5.4.4.4. hb_mem_alloc_com_buf
- 5.4.4.5. hb_mem_get_com_buf
- 5.4.4.6. hb_mem_alloc_graph_buf
- 5.4.4.7. hb_mem_get_graph_buf
- 5.4.4.8. hb_mem_free_buf
- 5.4.4.9. hb_mem_invalidate_buf
- 5.4.4.10. hb_mem_flush_buf
- 5.4.4.11. hb_mem_is_valid_buf
- 5.4.4.12. hb_mem_get_phys_addr
- 5.4.4.13. hb_mem_get_buf_info
- 5.4.4.14. hb_mem_invalidate_buf_with_vaddr
- 5.4.4.15. hb_mem_flush_buf_with_vaddr
- 5.4.4.16. hb_mem_get_com_buf_with_vaddr
- 5.4.4.17. hb_mem_get_graph_buf_with_vaddr
- 5.4.4.18. hb_mem_free_buf_with_vaddr
- 5.4.4.19. hb_mem_import_com_buf
- 5.4.4.20. hb_mem_import_graph_buf
- 5.4.4.21. hb_mem_get_share_info
- 5.4.4.22. hb_mem_get_share_info_with_vaddr
- 5.4.4.23. hb_mem_wait_share_status
- 5.4.4.24. hb_mem_wait_share_status_with_vaddr
- 5.4.4.25. hb_mem_create_buf_queue
- 5.4.4.26. hb_mem_destroy_buf_queue
- 5.4.4.27. hb_mem_dequeue_buf
- 5.4.4.28. hb_mem_queue_buf
- 5.4.4.29. hb_mem_request_buf
- 5.4.4.30. hb_mem_release_buf
- 5.4.4.31. hb_mem_cancel_buf
- 5.4.4.32. hb_mem_pool_create
- 5.4.4.33. hb_mem_pool_destroy
- 5.4.4.34. hb_mem_pool_alloc_buf
- 5.4.4.35. hb_mem_pool_free_buf
- 5.4.4.36. hb_mem_pool_get_info
- 5.4.4.37. hb_mem_share_pool_create
- 5.4.4.38. hb_mem_share_pool_destroy
- 5.4.4.39. hb_mem_share_pool_alloc_buf
- 5.4.4.40. hb_mem_share_pool_free_buf
- 5.4.4.41. hb_mem_share_pool_get_info
- 5.4.4.42. hb_mem_get_buf_type_with_vaddr
- 5.4.4.43. hb_mem_get_buf_type_and_buf_with_vaddr
- 5.4.4.44. hb_mem_get_buffer_process_info
- 5.4.4.45. hb_mem_get_buffer_process_info_with_share_id
- 5.4.4.46. hb_mem_get_consume_info
- 5.4.4.47. hb_mem_get_consume_info_with_vaddr
- 5.4.4.48. hb_mem_wait_consume_status
- 5.4.4.49. hb_mem_wait_consume_status_with_vaddr
- 5.4.4.50. hb_mem_inc_com_buf_consume_cnt
- 5.4.4.51. hb_mem_inc_graph_buf_consume_cnt
- 5.4.4.52. hb_mem_dec_consume_cnt
- 5.4.4.53. hb_mem_dec_consume_cnt_with_vaddr
- 5.4.4.54. hb_mem_import_com_buf_with_paddr
- 5.4.4.55. hb_mem_dma_copy
- 5.4.4.56. hb_mem_alloc_graph_buf_group
- 5.4.4.57. hb_mem_import_graph_buf_group
- 5.4.4.58. hb_mem_get_graph_buf_group
- 5.4.4.59. hb_mem_get_graph_buf_group_with_vaddr
- 5.4.4.60. hb_mem_inc_graph_buf_group_consume_cnt
- 5.4.4.61. hb_mem_get_buf_and_type_with_vaddr
- 5.4.4.62. hbmem_alloc
- 5.4.4.63. hbmem_free
- 5.4.4.64. hbmem_mmap
- 5.4.4.65. hbmem_munmap
- 5.4.4.66. hbmem_phyaddr
- 5.4.4.67. hbmem_dmacpy
- 5.4.4.68. hbmem_virtaddr
- 5.4.4.69. hbmem_info
- 5.4.4.70. hbmem_version
- 5.4.4.71. hbmem_is_cacheable
- 5.4.4.72. hbmem_cache_invalid
- 5.4.4.73. hbmem_cache_clean
- 5.4.4.74. hbmem_mmap_with_share_id
- 5.4.4.75. hbmem_get_share_id
- 5.4.4.76. hb_mem_inc_user_consume_cnt
- 5.4.4.77. hb_mem_dec_user_consume_cnt
- 5.4.4.78. hb_mem_inc_user_consume_cnt_with_vaddr
- 5.4.4.79. hb_mem_dec_user_consume_cnt_with_vaddr
- 5.4.5. Data Structures
- 5.4.6. hbmem Return Values
- 5.5. Video Input - Camera
- 5.5.1. Module Description
- 5.5.2. Reference Examples
- 5.5.3. API Reference
- 5.5.3.1. hbn_camera_create
- 5.5.3.2. hbn_camera_destroy
- 5.5.3.3. hbn_camera_attach_to_vin
- 5.5.3.4. hbn_camera_detach_from_vin
- 5.5.3.5. hbn_camera_attach_to_deserial
- 5.5.3.6. hbn_camera_detach_from_deserial
- 5.5.3.7. hbn_camera_start
- 5.5.3.8. hbn_camera_stop
- 5.5.3.9. hbn_camera_reset
- 5.5.3.10. hbn_camera_change_fps
- 5.5.3.11. hbn_camera_read_register
- 5.5.3.12. hbn_camera_get_handle
- 5.5.3.13. hbn_camera_init_cfg
- 5.5.3.14. hbn_deserial_create
- 5.5.3.15. hbn_deserial_destroy
- 5.5.3.16. hbn_deserial_attach_to_vin
- 5.5.3.17. hbn_deserial_detach_from_vin
- 5.5.3.18. hbn_txser_create
- 5.5.3.19. hbn_txser_destroy
- 5.5.3.20. hbn_txser_attach_to_vin
- 5.5.3.21. hbn_txser_detach_from_vin
- 5.5.3.22. hbn_camera_switch_scence
- 5.5.4. Data Structures
- 5.5.5. Return Code Description
- 5.6. Video Input - VIN
- 5.6.1. Module Description
- 5.6.2. Reference Examples
- 5.6.3. API Reference
- 5.6.4. Interface Descriptions
- 5.6.4.1. hbn_vnode_open
- 5.6.4.2. hbn_vnode_close
- 5.6.4.3. hbn_vnode_set_attr
- 5.6.4.4. hbn_vnode_set_ochn_attr
- 5.6.4.5. hbn_vnode_get_ochn_attr
- 5.6.4.6. hbn_vnode_set_ichn_attr
- 5.6.4.7. hbn_vnode_get_ichn_attr
- 5.6.4.8. hbn_vnode_set_ochn_buf_attr
- 5.6.4.9. hbn_vnode_start
- 5.6.4.10. hbn_vnode_stop
- 5.6.4.11. hbn_vnode_getframe
- 5.6.4.12. hbn_vnode_sendframe
- 5.6.4.13. hbn_vnode_releaseframe
- 5.6.5. Data Structures
- 5.6.6. Return Value Description
- 5.7. Image Quality - ISP
- 5.7.1. Module Description
- 5.7.2. Reference Examples
- 5.7.3. API Reference
- 5.7.4. Interface Description
- 5.7.4.1. hbn_isp_set_module_control
- 5.7.4.2. hbn_isp_get_module_control
- 5.7.4.3. hbn_isp_set_exposure_attr
- 5.7.4.4. hbn_isp_get_exposure_attr
- 5.7.4.5. hbn_isp_set_hdr_exposure_attr
- 5.7.4.6. hbn_isp_get_hdr_exposure_attr
- 5.7.4.7. hbn_isp_set_awb_attr
- 5.7.4.8. hbn_isp_get_awb_attr
- 5.7.4.9. hbn_isp_get_awb_gain_by_temper
- 5.7.4.10. hbn_isp_set_ae_zone_weight_attr
- 5.7.4.11. hbn_isp_get_ae_zone_weight_attr
- 5.7.4.12. hbn_isp_set_af_zone_weight_attr
- 5.7.4.13. hbn_isp_get_af_zone_weight_attr
- 5.7.4.14. hbn_isp_get_ae_statistics
- 5.7.4.15. hbn_isp_get_awb_statistics
- 5.7.4.16. hbn_isp_get_af_statistics
- 5.7.4.17. hbn_isp_set_exposure_table
- 5.7.4.18. hbn_isp_get_exposure_table
- 5.7.4.19. hbn_isp_set_exposure_roi
- 5.7.4.20. hbn_isp_get_exposure_roi
- 5.7.4.21. hbn_isp_get_lines_persecond
- 5.7.4.22. hbn_isp_set_2dnr_attr
- 5.7.4.23. hbn_isp_get_2dnr_attr
- 5.7.4.24. hbn_isp_set_3dnr_attr
- 5.7.4.25. hbn_isp_get_3dnr_attr
- 5.7.4.26. hbn_isp_get_lsc_attr
- 5.7.4.27. hbn_isp_set_lsc_attr
- 5.7.4.28. hbn_isp_set_awb_preference_attr
- 5.7.4.29. hbn_isp_get_awb_preference_attr
- 5.7.4.30. hbn_isp_get_wdr_attr
- 5.7.4.31. hbn_isp_set_wdr_attr
- 5.7.4.32. hbn_isp_set_ccm_attr
- 5.7.4.33. hbn_isp_get_ccm_attr
- 5.7.4.34. hbn_isp_set_gc_attr
- 5.7.4.35. hbn_isp_get_gc_attr
- 5.7.4.36. hbn_isp_set_dmsc_attr
- 5.7.4.37. hbn_isp_get_dmsc_attr
- 5.7.4.38. hbn_isp_set_ee_attr
- 5.7.4.39. hbn_isp_get_ee_attr
- 5.7.4.40. hbn_isp_set_cproc_attr
- 5.7.4.41. hbn_isp_get_cproc_attr
- 5.7.4.42. hbn_isp_get_dpcc_attr
- 5.7.4.43. hbn_isp_set_dpcc_attr
- 5.7.4.44. hbn_isp_set_pattern_attr
- 5.7.4.45. hbn_isp_cal_gain_by_temp
- 5.7.5. Data Structures
- 5.7.5.1. hbn_isp_param_range_t
- 5.7.5.2. hbn_isp_zone_weight_t
- 5.7.5.3. hbn_windows_t
- 5.7.5.4. hbn_isp_roi_t
- 5.7.5.5. hbn_isp_exposure_auto_attr_t
- 5.7.5.6. hbn_isp_exposure_manual_attr_t
- 5.7.5.7. hbn_isp_exposure_version_e
- 5.7.5.8. hbn_isp_auto_exposure_mode_e
- 5.7.5.9. hbn_isp_exposure_attr_t
- 5.7.5.10. hbn_isp_hdr_exposure_version_e
- 5.7.5.11. hbn_isp_hdr_exposure_auto_attr_t
- 5.7.5.12. hbn_isp_hdr_exposure_manual_attr_t
- 5.7.5.13. hbn_isp_hdr_exposure_attr_t
- 5.7.5.14. hbn_isp_awb_version_e
- 5.7.5.15. hbn_isp_awb_gain_t
- 5.7.5.16. hbn_isp_awb_auto_attr_t
- 5.7.5.17. hbn_isp_awb_manual_attr_t
- 5.7.5.18. hbn_isp_awb_attr_t
- 5.7.5.19. hbn_isp_ae_zone_weight_attr_t
- 5.7.5.20. hbn_isp_af_zone_weight_attr_t
- 5.7.5.21. hbn_isp_exp_datatype_t
- 5.7.5.22. hbn_isp_ae_statistics_t
- 5.7.5.23. hbn_isp_awb_statistics_t
- 5.7.5.24. hbn_isp_af_statistics_t
- 5.7.5.25. hbn_isp_table_t
- 5.7.5.26. hbn_isp_exposure_table_t
- 5.7.5.27. hbn_isp_exposure_roi_t
- 5.7.5.28. hbn_isp_2dnr_curve_t
- 5.7.5.29. hbn_isp_2dnr_motion_config_t
- 5.7.5.30. hbn_isp_2dnr_manual_attr_t
- 5.7.5.31. hbn_isp_2dnr_auto_attr_t
- 5.7.5.32. hbn_isp_2dnr_attr_t
- 5.7.5.33. hbn_isp_3dnr_noise_model_t
- 5.7.5.34. hbn_isp_3dnr_manual_attr_t
- 5.7.5.35. hbn_isp_3dnr_range_dilate_t
- 5.7.5.36. hbn_isp_3dnr_auto_attr_t
- 5.7.5.37. hbn_isp_3dnr_attr_t
- 5.7.5.38. hbn_isp_module_ctrl_t
- 5.7.5.39. isp_af_zone_weight_func_a_attr_t
- 5.7.5.40. hbn_lsc_auto_attr_t
- 5.7.5.41. hbn_lsc_manual_attr_t
- 5.7.5.42. hbn_isp_lsc_attr_t
- 5.7.5.43. hbn_isp_dpcc_manual_attr_t
- 5.7.5.44. hbn_isp_dpcc_auto_attr_t
- 5.7.5.45. hbn_isp_dpcc_attr_t
- 5.7.5.46. hbn_isp_wdr_attr_t
- 5.7.5.47. hbn_isp_ccm_attr_t
- 5.7.5.48. hbn_isp_gc_attr_t
- 5.7.5.49. hbn_isp_dmsc_attr_t
- 5.7.5.50. hbn_isp_ee_attr_t
- 5.7.5.51. hbn_isp_cproc_attr_t
- 5.7.5.52. hbn_isp_pattern_t
- 5.7.5.53. hbn_isp_awb_preference_attr_t
- 5.7.5.54. hbn_isp_awb_gray_preference_attr_t
- 5.7.6. Return Value Description
- 5.8. Video Processing - VSE
- 5.8.1. Module Description
- 5.8.2. Reference Example
- 5.8.3. API Reference
- 5.8.4. Interface Descriptions
- 5.8.4.1. hbn_vnode_open
- 5.8.4.2. hbn_vnode_close
- 5.8.4.3. hbn_vnode_set_attr
- 5.8.4.4. hbn_vnode_set_ochn_attr
- 5.8.4.5. hbn_vnode_get_ochn_attr
- 5.8.4.6. hbn_vnode_set_ichn_attr
- 5.8.4.7. hbn_vnode_get_ichn_attr
- 5.8.4.8. hbn_vnode_set_ochn_buf_attr
- 5.8.4.9. hbn_vnode_start
- 5.8.4.10. hbn_vnode_stop
- 5.8.4.11. hbn_vnode_getframe
- 5.8.4.12. hbn_vnode_sendframe
- 5.8.4.13. hbn_vnode_releaseframe
- 5.8.5. Data Structures
- 5.8.6. Return Value Description
- 5.9. Region Processing - OSD
- 5.9.1. Module Description
- 5.9.2. Reference Examples
- 5.9.3. API Reference
- 5.9.3.1. hbn_rgn_create()
- 5.9.3.2. hbn_rgn_destroy
- 5.9.3.3. hbn_rgn_getattr
- 5.9.3.4. hbn_rgn_setattr
- 5.9.3.5. hbn_rgn_setbitmap
- 5.9.3.6. hbn_rgn_attach_to_chn
- 5.9.3.7. hbn_rgn_detach_from_chn
- 5.9.3.8. hbn_rgn_set_displayattr
- 5.9.3.9. hbn_rgn_get_displayattr
- 5.9.3.10. hbn_rgn_draw_word
- 5.9.3.11. hbn_rgn_draw_line
- 5.9.3.12. hbn_rgn_set_colormap
- 5.9.3.13. hbn_rgn_set_sta
- 5.9.3.14. hbn_rgn_get_sta
- 5.9.4. Parameter Description
- 5.10. Distortion correction - GDC
- 5.11. Video Output - Display
- 5.12. Audio and Video Codec - Codec
- 5.12.1. Module Description
- 5.12.2. Reference Examples
- 5.12.3. API Reference
- 5.12.4. Interface Descriptions
- 5.12.4.1. hb_mm_mc_get_descriptor
- 5.12.4.2. hb_mm_mc_get_default_context
- 5.12.4.3. hb_mm_mc_initialize
- 5.12.4.4. hb_mm_mc_set_callback
- 5.12.4.5. hb_mm_mc_set_input_buffer_listener
- 5.12.4.6. hb_mm_mc_configure
- 5.12.4.7. hb_mm_mc_start
- 5.12.4.8. hb_mm_mc_stop
- 5.12.4.9. hb_mm_mc_pause
- 5.12.4.10. hb_mm_mc_flush
- 5.12.4.11. hb_mm_mc_release
- 5.12.4.12. hb_mm_mc_get_state
- 5.12.4.13. hb_mm_mc_get_status
- 5.12.4.14. hb_mm_mc_queue_input_buffer
- 5.12.4.15. hb_mm_mc_dequeue_input_buffer
- 5.12.4.16. hb_mm_mc_queue_output_buffer
- 5.12.4.17. hb_mm_mc_dequeue_output_buffer
- 5.12.4.18. hb_mm_mc_get_longterm_ref_mode
- 5.12.4.19. hb_mm_mc_set_longterm_ref_mode
- 5.12.4.20. hb_mm_mc_get_intra_refresh_config
- 5.12.4.21. hb_mm_mc_set_intra_refresh_config
- 5.12.4.22. hb_mm_mc_get_rate_control_config
- 5.12.4.23. hb_mm_mc_set_rate_control_config
- 5.12.4.24. hb_mm_mc_get_deblk_filter_config
- 5.12.4.25. hb_mm_mc_set_deblk_filter_config
- 5.12.4.26. hb_mm_mc_get_sao_config
- 5.12.4.27. hb_mm_mc_set_sao_config
- 5.12.4.28. hb_mm_mc_get_entropy_config
- 5.12.4.29. hb_mm_mc_set_entropy_config
- 5.12.4.30. hb_mm_mc_get_vui_timing_config
- 5.12.4.31. hb_mm_mc_set_vui_timing_config
- 5.12.4.32. hb_mm_mc_get_slice_config
- 5.12.4.33. hb_mm_mc_set_slice_config
- 5.12.4.34. hb_mm_mc_insert_user_data
- 5.12.4.35. hb_mm_mc_request_idr_frame
- 5.12.4.36. hb_mm_mc_skip_pic
- 5.12.4.37. hb_mm_mc_get_smart_bg_enc_config
- 5.12.4.38. hb_mm_mc_set_smart_bg_enc_config
- 5.12.4.39. hb_mm_mc_get_pred_unit_config
- 5.12.4.40. hb_mm_mc_set_pred_unit_config
- 5.12.4.41. hb_mm_mc_get_transform_config
- 5.12.4.42. hb_mm_mc_set_transform_config
- 5.12.4.43. hb_mm_mc_get_roi_config
- 5.12.4.44. hb_mm_mc_set_roi_config
- 5.12.4.45. hb_mm_mc_get_mode_decision_config
- 5.12.4.46. hb_mm_mc_set_mode_decision_config
- 5.12.4.47. hb_mm_mc_get_user_data
- 5.12.4.48. hb_mm_mc_release_user_data
- 5.12.4.49. hb_mm_mc_get_mjpeg_config
- 5.12.4.50. hb_mm_mc_set_mjpeg_config
- 5.12.4.51. hb_mm_mc_get_jpeg_config
- 5.12.4.52. hb_mm_mc_set_jpeg_config
- 5.12.4.53. hb_mm_mc_get_fd
- 5.12.4.54. hb_mm_mc_close_fd
- 5.12.4.55. hb_mm_mc_get_vui_config
- 5.12.4.56. hb_mm_mc_set_vui_config
- 5.12.4.57. hb_mm_mc_get_3dnr_enc_config
- 5.12.4.58. hb_mm_mc_set_3dnr_enc_config
- 5.12.4.59. hb_mm_mc_request_idr_header
- 5.12.4.60. hb_mm_mc_enable_idr_frame
- 5.12.4.61. hb_mm_mc_register_audio_encoder
- 5.12.4.62. hb_mm_mc_unregister_audio_encoder
- 5.12.4.63. hb_mm_mc_register_audio_decoder
- 5.12.4.64. hb_mm_mc_unregister_audio_decoder
- 5.12.4.65. hb_mm_mc_get_explicit_header_config
- 5.12.4.66. hb_mm_mc_set_explicit_header_config
- 5.12.4.67. hb_mm_mc_get_roi_avg_qp
- 5.12.4.68. hb_mm_mc_set_roi_avg_qp
- 5.12.5. MediaMuxer Interface Description
- 5.12.6. Data Structures
- 5.12.6.1. media_codec_state_t
- 5.12.6.2. media_codec_id_t
- 5.12.6.3. mc_video_rate_control_mode_t
- 5.12.6.4. mc_h265_cbr_params_t
- 5.12.6.5. mc_h265_vbr_params_t
- 5.12.6.6. mc_h265_avbr_params_t
- 5.12.6.7. mc_h265_fix_qp_params_t
- 5.12.6.8. mc_h265_qp_map_params_t
- 5.12.6.9. mc_video_longterm_ref_mode_t
- 5.12.6.10. mc_video_intra_refresh_params_t
- 5.12.6.11. mc_mjpeg_fix_qp_params_t
- 5.12.6.12. mc_video_custom_gop_pic_params_t
- 5.12.6.13. mc_inter_status_t
- 5.12.6.14. media_codec_context_t
- 5.12.6.15. mc_video_codec_enc_params_t
- 5.12.6.16. mc_video_codec_dec_params_t
- 5.12.6.17. mc_audio_codec_enc_params_t
- 5.12.6.18. mc_audio_codec_dec_params_t
- 5.12.6.19. media_muxer_state_t
- 5.12.6.20. mx_audio_stream_input_params_t
- 5.12.6.21. mx_video_stream_input_params_t
- 5.12.6.22. mx_stream_params_t
- 5.12.6.23. mx_stream_t
- 5.12.6.24. media_muxer_context_t
- 5.12.7. Return Value Description
- 5.13. 3D Graphics Processing - 3D GPU
- 5.14. 2D Graphics Processing - 2D GPU
- 5.14.1. Module Description
- 5.14.2. Reference Examples
- 5.14.3. API Reference
- 5.14.4. API Interface Descriptions
- 5.14.4.1. n2d_open
- 5.14.4.2. n2d_close
- 5.14.4.3. n2d_commit
- 5.14.4.4. n2d_commit_ex
- 5.14.4.5. n2d_allocate
- 5.14.4.6. n2d_free
- 5.14.4.7. n2d_map
- 5.14.4.8. n2d_unmap
- 5.14.4.9. n2d_is_feature_support
- 5.14.4.10. n2d_blit
- 5.14.4.11. n2d_filterblit
- 5.14.4.12. n2d_multisource_blit
- 5.14.4.13. n2d_fill
- 5.14.4.14. n2d_set
- 5.14.5. Data Structures
- 5.14.6. Return Value Description
- 5.15. ISP - OTP Function
- 5.16. ISP - AF Statistics Module
- 5.16.1. Function Description
- 5.16.2. Pipeline Introduction
- 5.16.3. AFM Statistics Module Interface
- 5.16.4. Input Image Cropping
- 5.16.5. Input Image Preprocessing
- 5.16.6. Output Data Post-processing
- 5.16.7. Data Fusion
- 5.16.8. Point Light Source Processing
- 5.16.9. Data Shift
- 5.16.10. IIR Parameter Generation Steps Reference
- 5.16.11. Recommended Parameter Configuration
- 5.16.12. Debugging Suggestions
- 5.17. Image quality debugging guide
- 5.17.1. Overview
- 5.17.2. Camera Debugging Guide
- 5.17.2.1. Scope
- 5.17.2.2. Document Composition
- 5.17.2.3. Preparation
- 5.17.2.4. Steps to Bring Up a New Sensor
- 5.17.2.5. Modify Platform Device Tree (dts)
- 5.17.2.6. Add Sensor Driver Code
- 5.17.2.7. Add Camera App Code
- 5.17.2.8. Add Default Camera ISP Tuning Library
- 5.17.2.9. Board-Side Sample Program Execution
- 5.17.2.10. ISP Image Debug Preview and 2A Verification
- 5.17.2.11. Summary
- 5.17.3. OmniVision Sensor Bring-Up
- 5.17.4. SmartSens Sensor Bring-Up
- 5.17.5. Sony Sensor Bring-Up
- 5.17.6. HDR Sensor Bring-Up
- 5.17.7. Camera Debugging FAQ
- 5.17.7.1. FAQ
- 5.17.7.2. I2C
- 5.17.7.3. MCLK
- 5.17.7.4. MIPI
- Unable to enter HS, MIPI start error
- MIPI error
- MIPI parameter determination
- How to modify MIPI drive current
- How to check HOST(RX) device current running status and configuration
- How to check HOST(RX) device registers
- How to configure multiple VC sensor modules on the same HOST RX
- How to enable MIPI driver logging
- 5.17.7.5. Sensor
- 5.17.7.6. Image
- 5.17.7.7. Gain index and gain ratio lookup table
- 5.17.7.8. VTunerClient
- 5.17.8. ISP Image effect debugging guide
- 5.17.8.1. Revision History
- 5.17.8.2. X5 ISP Introduction
- 5.17.8.3. ISP Tuning Overview
- 5.17.8.4. ISP Tuning Modules
- Auto-Exposure (AE)
- Auto-White Balance (AWB)
- High Dynamic Range (DOL2)
- Compand
- Black Level Subtraction
- RGB Infrared Radiation
- Lens Shading Correction
- Digital Gain
- WDR
- Green Equalization (GE)
- Defect Pixel Cluster Correction (DPCC)
- 2DNR
- 3DNR
- Demosaic
- Color Correction Matrix (CCM)
- Gamma Correction
- Edge Enhancement
- Color Processing
- Color Noise Reduction (CNR)
- Auto Focus (AF)
- 5.17.9. Calibration tool Tool Guide
- 5.17.9.1. Revision History
- 5.17.9.2. X5 ISP Calibration Tool Overview
- 5.17.9.3. System Requirements
- 5.17.9.4. Installation and Launch
- 5.17.9.5. Main Calibration Workflow
- 5.17.9.6. Black Level Correction
- 5.17.9.7. Lens Shading Correction Tool
- Capturing Raw Images for Lens Shading Correction
- Using the Lens Shading Correction Tool
- Load Image
- RGB Pattern Selection
- (Optional) CCT
- Inherit BLC Basic Information
- Correction Method
- Offset Subtraction
- Knot Positions
- Bilinear Spline Fitting
- Maximum Compensation Ratio
- Light Fall-Off
- Color Shading and Luma&Color Shading
- Start Option
- Apply lsc to images
- Accuracy in Rtl
- Open Image in Window
- Save Image to File
- 5.17.9.8. Color Calibration
- 5.17.9.9. Auto White Balance Tool
- Capturing Raw Images for Auto White Balance
- Using the Auto White Balance Tool
- (AWB V1) Selecting Light Sources for Proper AWB Operation
- (AWB V1) Open Sensor Spectral Sensitivities
- (AWB V1) Define Illumination Files
- (AWB V1) AWB V1 Calibration
- Saving Calibration Data
- Opening Existing Calibration Data
- (AWB V2) AWB V2+ Calibration
- Adjusting tau1 and tau2 Values
- 5.17.9.10. Noise Calibration Tool
- 5.17.9.11. Chromatic Aberration Correction Tool
- 5.17.9.12. Generate Default Calibration Parameter Files in XML
- 5.17.9.13. Supplementary Tools
- 5.17.10. VtunerClient Tool Guide
- 5.17.11. hbplayer and tuning_tool Usage Guide
- 6. Quantitative toolchain development guide
- 6.1. Introduction
- 6.2. Getting Started Guide
- 6.3. Advanced Guide
- 6.3.1. Environment Installation
- 6.3.2. PTQ Principle and Step-by-Step Guide
- 6.3.3. Model Operator Support List
- 6.3.4. Model board running application development instructions
- 6.3.5. Model Inference Interface Description
- 6.3.5.1. Model Inference Library Version Information Retrieval API
- 6.3.5.2. Model Loading/Release API
- 6.3.5.3. Model Information Retrieval API
- 6.3.5.4. Model Inference API
- 6.3.5.5. Model Memory Operation API
- 6.3.5.6. Data Types and Data Structures
- 6.3.5.7. Data Layout and Alignment Rules
- 6.3.5.8. Model Inference DEBUG Methods
- 6.4. Delve deeper
- 6.4.1. Environment Dependencies
- 6.4.2. Quick Start
- 6.4.3. Development Guide
- 6.4.3.1. Requirements for Floating-Point Models
- 6.4.3.2. Detailed Explanation of qconfig
- 6.4.3.3. Calibration Guide
- 6.4.3.4. Quantization-Aware Training Guide
- 6.4.3.5. Heterogeneous Model Guide
- 6.4.3.6. Guide to Precision Tuning Tools
- 6.4.3.7. Cross-Device Inference Instructions for Quantized Deployment of PT Models
- 6.4.3.8. Common Issues
- 6.4.3.9. Common Usage Misconceptions
- 6.4.4. In-Depth Exploration
- 6.4.5. API Manual
- 6.4.6. Appendix
- 7. FAQ
- 7.1. Environment Configuration
- 7.2. System Software
- 7.2.1. How to Check System Temperature, CPU, and BPU Frequency Statistics
- 7.2.2. How to Read Chip UID
- 7.2.3. How to Check Supported BPU Frequencies
- 7.2.4. How to Check CPU Scheduling Mode
- 7.2.5. How to Check Supported and Current CPU Frequencies
- 7.2.6. How to Check CPU Throttling Temperature
- 7.2.7. How to Disable a CPU Core
- 7.2.8. Method to Bind Interrupts to CPU Cores
- 7.2.9. eMMC Flasher Files
- 7.2.10. How to View and Modify Chip Registers
- 7.2.11. I2C Command Usage
- 7.2.12. Enhancing Drive Strength (Using I2C4 as Example)
- 7.2.13. Does the Kernel Support PREEMPT_RT Patch?
- 7.2.14. Can the Root Filesystem Be Customized?
- 7.2.15. Is Digital Audio Interface (Audio PDM) Supported?
- 7.2.16. Why Can’t the System Boot After Flashing Miniboot via Fastboot?
- 7.2.17. Internal Compiler Error: Illegal Instruction During SDK Compilation
- 7.2.18. Why Are My Changes Not Included in hbre.img After Compiling hbre Module?
- 7.2.19. Warning: “You Are Leaving 9 Commits Behind” When Building Root Filesystem with Buildroot
- 7.2.20. LD_LIBRARY_PATH Error When Building Root Filesystem with Buildroot
- 7.2.21. “mount not found” Error When Building System Root Filesystem with Buildroot
- 7.2.22. utils_funcs.sh File Not Found When Running bd.sh lunch
- 7.2.23. Compilation Shortcut Commands Fail in ZSH Shell Environment
- 7.2.24. Can I Avoid Flashing the Full Image If Only Modifying Kernel dts?
- 7.2.25. How to Include a New Code Directory in App Compilation
- 7.3. Chip Specifications
- 7.4. Codec
- 7.5. Peripherals
- 7.6. Algorithm Toolchain
- 7.6.1. Common Troubleshooting
- 7.6.2. Model Quantization and Deployment Tips
- 7.6.2.1. Transformer Usage Guide
- AddTransformer
- MeanTransformer
- ScaleTransformer
- NormalizeTransformer
- TransposeTransformer
- HWC2CHWTransformer
- CHW2HWCTransformer
- CenterCropTransformer
- PILCenterCropTransformer
- LongSideCropTransformer
- PadResizeTransformer
- ResizeTransformer
- PILResizeTransformer
- ShortLongResizeTransformer
- PadTransformer
- ShortSideResizeTransformer
- PaddedCenterCropTransformer
- BGR2RGBTransformer
- RGB2BGRTransformer
- RGB2GRAYTransformer
- BGR2GRAYTransformer
- RGB2GRAY_128Transformer
- RGB2YUV444Transformer
- BGR2YUV444Transformer
- BGR2YUV444_128Transformer
- RGB2YUV444_128Transformer
- BGR2YUVBT601VIDEOTransformer
- RGB2YUVBT601VIDEOTransformer
- YUVTransformer
- ReduceChannelTransformer
- BGR2NV12Transformer
- RGB2NV12Transformer
- NV12ToYUV444Transformer
- WarpAffineTransformer
- F32ToS8Transformer
- F32ToU8Transformer
- 7.6.2.2. Example Usage Instructions for YOLOv5x Model
- 7.6.2.3. Model Accuracy Tuning Checklist
- 1. Verify Inference Results of the Floating-Point ONNX Model
- 2. Verify the Correctness of the YAML Configuration File and Pre/Post-Processing Code
- 3. Verify That Graph Optimization Stage Did Not Introduce Accuracy Errors
- 4. Verify Quantization Accuracy Meets Expectations
- 5. Ensure Model Compilation Is Correct and On-Device Inference Code Is Accurate
- 7.6.2.4. Model Quantization YAML Configuration File Template
- 7.6.2.5. Instructions for Using Multi-Batch with Fixed-Point .bin Models on Device
- 7.6.2.6. Custom Operator Development Guide
- 7.6.2.1. Transformer Usage Guide
- 8. Suggestions and Feedback