gpt4 book ai didi

java - 图像流中的帧是什么?

转载 作者:行者123 更新时间:2023-12-01 20:20:02 25 4
gpt4 key购买 nike

我正在阅读 documentation对于表面纹理。具体来说,它指出:

SurfaceTexture captures frames from an image stream as an OpenGL ES texture. The image stream may come from either camera preview or video decode. A Surface created from a SurfaceTexture can be used as an output destination for the android.hardware.camera2 API

但是没有解释什么是框架。我对流的理解是 I/O 流,其中具有可以读取(InputStream)或写入(OutputStream)的字节序列。帧是字节的同义词还是 I/O 流的独特特征?

最佳答案

没有。 Frames是组成视频的静态图像。一张图片就是一帧。视频(在美国)通常为每秒 30 帧。其他国家/地区使用其他标准(例如,PAL 为每秒 25 帧)。至少在现代,在高清之前,它是“场”(而不是“帧”),两个“场”组成一个“帧”。

关于java - 图像流中的帧是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44958643/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com