This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: tda4vn raw12 Unpacked

Part Number: TDA4VM

你好:

我们使用tda4vm 7,3版本的sdk,在我们的板子上捕捉raw格式的摄像头,摄像头进来的是raw12格式的数据,在sdk中的write_output_image_raw函数有一个注释不太理解

vx_int32 write_output_image_raw(char * file_name, tivx_raw_image raw_image)
{

......

vx_uint32 num_bytes_per_pixel = 2; /*Supports only RAW12b Unpacked format*/

......

}

问题:

1、在代码中直接使用的是raw16格式的,那么从raw12格式到raw16格式是内部做了转换吗?还是只是简单的补齐?