}
if ((node->crop_info.capture_crop_enable == 0) &&
- (node->porttype != TVIN_PORT_VIU1_VIDEO)) {
+ ((node->porttype != TVIN_PORT_VIU1_VIDEO) &&
+ (node->porttype != TVIN_PORT_VIU1_WB0_VD1))) {
output_axis_adjust(
src_width, src_height,
&dst_width, &dst_height,
if (src_width < src_height)
cur_angle = (cur_angle + 90) % 360;
if ((node->crop_info.capture_crop_enable == 0) &&
- (node->porttype != TVIN_PORT_VIU1_VIDEO)) {
+ ((node->porttype != TVIN_PORT_VIU1_VIDEO) &&
+ (node->porttype != TVIN_PORT_VIU1_WB0_VD1))) {
output_axis_adjust(
src_width, src_height,
&dst_width, &dst_height,
}
if ((node->crop_info.capture_crop_enable == 0) &&
- (node->porttype != TVIN_PORT_VIU1_VIDEO)) {
+ ((node->porttype != TVIN_PORT_VIU1_VIDEO) &&
+ (node->porttype != TVIN_PORT_VIU1_WB0_VD1))) {
output_axis_adjust(
src_width, src_height,
&dst_width, &dst_height,
}
if ((node->crop_info.capture_crop_enable == 0) &&
- (node->porttype != TVIN_PORT_VIU1_VIDEO)) {
+ ((node->porttype != TVIN_PORT_VIU1_VIDEO) &&
+ (node->porttype != TVIN_PORT_VIU1_WB0_VD1))) {
output_axis_adjust(
src_width, src_height,
&dst_width, &dst_height,
}
if ((node->crop_info.capture_crop_enable == 0) &&
- (node->porttype != TVIN_PORT_VIU1_VIDEO)) {
+ ((node->porttype != TVIN_PORT_VIU1_VIDEO) &&
+ (node->porttype != TVIN_PORT_VIU1_WB0_VD1))) {
output_axis_adjust(
src_width, src_height,
&dst_width, &dst_height,
}
if ((node->crop_info.capture_crop_enable == 0) &&
- (node->porttype != TVIN_PORT_VIU1_VIDEO)) {
+ ((node->porttype != TVIN_PORT_VIU1_VIDEO) &&
+ (node->porttype != TVIN_PORT_VIU1_WB0_VD1))) {
output_axis_adjust(
src_width, src_height,
&dst_width, &dst_height,
para.dest_vactive = dst_h;
if (para.scan_mode == TVIN_SCAN_MODE_INTERLACED)
para.dest_vactive = para.dest_vactive / 2;
- if (para.port == TVIN_PORT_VIU1_VIDEO) {
- para.dest_hactive = 0;
- para.dest_vactive = 0;
- }
+
+ if ((para.port == TVIN_PORT_VIU1_VIDEO) ||
+ (para.port == TVIN_PORT_VIU1_WB0_VD1))
+ para.cfmt = 1;
+
if (amlvideo2_dbg_en) {
pr_info("node->r_type=%d, node->p_type=%d\n",
node->r_type, node->p_type);
para.reserved |= PARAM_STATE_SCREENCAP;
if (para.scan_mode == TVIN_SCAN_MODE_INTERLACED)
para.dest_vactive = para.dest_vactive / 2;
- if (para.port == TVIN_PORT_VIU1_VIDEO) {
+ if ((para.port == TVIN_PORT_VIU1_VIDEO) ||
+ (para.port == TVIN_PORT_VIU1_WB0_VD1)) {
if (node->ge2d_multi_process_flag) {
para.dest_hactive = 384;
para.dest_vactive = 216;
- } else {
- para.dest_hactive = 0;
- para.dest_vactive = 0;
- }
+ } else
+ para.cfmt = 1;
}
if (amlvideo2_dbg_en) {
pr_info("para.h_active: %d, para.v_active: %d,",