大神们,能通过sample_venc只编码一帧YUV成jpeg么,conf文件应该怎么配?
C
cruise33 发布的最佳帖子
-
回复: 能在uboot阶段初始化pwm么?
@lijinlin001 uboot的dts当时没太留意,功能开启是在uboot/common/main.c里配置的,大概是这样:
#include <pwm.h> void pwm_init(void) { int pwm1; pwm1 = pwm_request(1, "pwm1"); pwm_config(pwm1, 500000, 500000); pwm_set_polarity(pwm1, PWM_POLARITY_INVERSED); pwm_enable(pwm1); }
具体的接口函数用法看uboot的pwm.h