当前位置: 首页 > ops >正文

Media Controller API 1. Introduction 翻译

https://docs.kernel.org/userspace-api/media/mediactl/media-controller.html

  1. Introduction
    1 引言
    Media devices increasingly handle multiple related functions. Many USB cameras include microphones, video capture hardware can also output video, or SoC camera interfaces also perform memory-to-memory operations similar to video codecs.
    媒体设备越来越多的处理多个相关的功能。很多USB摄像头包含了麦克风,视频捕捉硬件也能输出视频,或者SoC 摄像头接口也能执行内部到内存的操作,这类似视频解码器。

Independent functions, even when implemented in the same hardware, can be modelled as separate devices. A USB camera with a microphone will be presented to userspace applications as V4L2 and ALSA capture devices. The devices’ relationships (when using a webcam, end-users shouldn’t have to manually select the associated USB microphone), while not made available directly to applications by the drivers, can usually be retrieved from sysfs.
独立的功能,即使被实现在同样的硬件中,能被建模成独立的设备。一个带麦克风的USB摄像头将呈现到用户空间应用程序当做V4L2和ALSA捕捉设备。这些设备之间的关系(当被用作一个webcam,最终用户不能手动的选用相关的USB麦克风),不会直接通过驱动对应用程序显示可用,但是可以从sysfs检索。

With more and more advanced SoC devices being introduced, the current approach will not scale. Device topologies are getting increasingly complex and can’t always be represented by a tree structure. Hardware blocks are shared between different functions, creating dependencies between seemingly unrelated devices.
随着越来越多的SoC设备被引入,当前的方法无法被扩展。设备拓扑争辩的越来越复杂,且不能经常被表示成一个树形结构。硬件模块在不通的功能中被共享,导致看似无关的设备之间产生了依赖关系。

Kernel abstraction APIs such as V4L2 and ALSA provide means for applications to access hardware parameters. As newer hardware expose an increasingly high number of those parameters, drivers need to guess what applications really require based on limited information, thereby implementing policies that belong to userspace.
内核抽象API如V4L2和ALSA为应用程序提供了访问硬件参数的手段。随着新硬件暴露的参数越来越多,驱动程序需要根据有限的信息猜测应用程序真正需要什么,从而实现在用户空间中属于策略的内容。

The media controller API aims at solving those problems.
媒体控制器API旨在解决这些问题。

http://www.xdnf.cn/news/6425.html

相关文章:

  • 某某查响应数据解密逆向分析-js逆向
  • 边缘计算平台
  • 串行接口与并行接口
  • API 接口开放平台 Crabc 3.2 发布
  • 70、微服务保姆教程(十三)Docker容器详细讲义
  • 香港科技大学广州|智能制造学域硕博招生宣讲会-西北工业大学专场
  • 【沉浸式求职学习day40】【java面试题精选2】
  • 代码分支操作步骤
  • 人工智能(AI)与机器学习(ML):定义、区别及应用解析
  • web3 前端常见错误类型以及错误捕获处理
  • 四维时空数据安全传输新框架:压缩感知与几何驱动跳频
  • 游戏代码混淆的作用与应用分析
  • C++:运算符重载
  • 2025年5月通信科技领域周报(5.5-5.11):6G终端生态加速构建 量子通信迈入城际商用新阶段
  • GRE作文总结和归纳
  • next.js实现项目搭建
  • 院校机试刷题第三天:1393矩阵转置、1703最大字串和、1700判断回文数
  • 使用Python开发经典俄罗斯方块游戏
  • 蓝桥杯 2024 C++国 B最小字符串
  • 【算法】前缀和
  • [项目深挖]仿muduo库的并发服务器的解析与优化方案
  • Flink 1.13.2 日志配置优化:保留最近 7 天日志文件
  • 【工具】metaTP:一种集成了自动化工作流程的元转录组数据分析工具包
  • python开发api平台雏形
  • 【Java Web】速通JSON
  • How to initialize Linux Mint 22.1 Desktop Operating System
  • 七彩喜数字康养平台:技术驱动下的银发经济范式革命
  • 腾讯开源实时语音大模型VITA-audio,92mstoken极速响应,支持多语言~
  • 模仿学习笔记
  • Xinference 命令大全:从模型部署到管理