Lines Matching refs:new
1026 const struct cx2341x_mpeg_params *new) in cx2341x_update() argument
1038 cx2341x_api(priv, func, CX2341X_ENC_SET_OUTPUT_PORT, 2, new->port, 0); in cx2341x_update()
1041 CMP_FIELD(old, new, is_50hz)) { in cx2341x_update()
1043 new->is_50hz); in cx2341x_update()
1049 CMP_FIELD(old, new, width) || in cx2341x_update()
1050 CMP_FIELD(old, new, height) || in cx2341x_update()
1051 CMP_FIELD(old, new, video_encoding)) { in cx2341x_update()
1052 u16 w = new->width; in cx2341x_update()
1053 u16 h = new->height; in cx2341x_update()
1055 if (new->video_encoding == V4L2_MPEG_VIDEO_ENCODING_MPEG_1) { in cx2341x_update()
1065 CMP_FIELD(old, new, stream_type)) { in cx2341x_update()
1067 mpeg_stream_type[new->stream_type]); in cx2341x_update()
1072 CMP_FIELD(old, new, video_aspect)) { in cx2341x_update()
1074 1 + new->video_aspect); in cx2341x_update()
1079 CMP_FIELD(old, new, video_b_frames) || in cx2341x_update()
1080 CMP_FIELD(old, new, video_gop_size)) { in cx2341x_update()
1082 new->video_gop_size, new->video_b_frames + 1); in cx2341x_update()
1087 CMP_FIELD(old, new, video_gop_closure)) { in cx2341x_update()
1089 new->video_gop_closure); in cx2341x_update()
1094 CMP_FIELD(old, new, audio_properties)) { in cx2341x_update()
1096 1, new->audio_properties); in cx2341x_update()
1101 CMP_FIELD(old, new, audio_mute)) { in cx2341x_update()
1103 new->audio_mute); in cx2341x_update()
1108 CMP_FIELD(old, new, video_bitrate_mode) || in cx2341x_update()
1109 CMP_FIELD(old, new, video_bitrate) || in cx2341x_update()
1110 CMP_FIELD(old, new, video_bitrate_peak)) { in cx2341x_update()
1112 new->video_bitrate_mode, new->video_bitrate, in cx2341x_update()
1113 new->video_bitrate_peak / 400, 0, 0); in cx2341x_update()
1118 CMP_FIELD(old, new, video_spatial_filter_mode) || in cx2341x_update()
1119 CMP_FIELD(old, new, video_temporal_filter_mode) || in cx2341x_update()
1120 CMP_FIELD(old, new, video_median_filter_type)) { in cx2341x_update()
1123 new->video_spatial_filter_mode | in cx2341x_update()
1124 (new->video_temporal_filter_mode << 1), in cx2341x_update()
1125 new->video_median_filter_type); in cx2341x_update()
1130 CMP_FIELD(old, new, video_luma_median_filter_bottom) || in cx2341x_update()
1131 CMP_FIELD(old, new, video_luma_median_filter_top) || in cx2341x_update()
1132 CMP_FIELD(old, new, video_chroma_median_filter_bottom) || in cx2341x_update()
1133 CMP_FIELD(old, new, video_chroma_median_filter_top)) { in cx2341x_update()
1135 new->video_luma_median_filter_bottom, in cx2341x_update()
1136 new->video_luma_median_filter_top, in cx2341x_update()
1137 new->video_chroma_median_filter_bottom, in cx2341x_update()
1138 new->video_chroma_median_filter_top); in cx2341x_update()
1143 CMP_FIELD(old, new, video_luma_spatial_filter_type) || in cx2341x_update()
1144 CMP_FIELD(old, new, video_chroma_spatial_filter_type)) { in cx2341x_update()
1147 2, new->video_luma_spatial_filter_type, in cx2341x_update()
1148 new->video_chroma_spatial_filter_type); in cx2341x_update()
1153 CMP_FIELD(old, new, video_spatial_filter) || in cx2341x_update()
1154 CMP_FIELD(old, new, video_temporal_filter)) { in cx2341x_update()
1156 2, new->video_spatial_filter, in cx2341x_update()
1157 new->video_temporal_filter); in cx2341x_update()
1162 CMP_FIELD(old, new, video_temporal_decimation)) { in cx2341x_update()
1164 1, new->video_temporal_decimation); in cx2341x_update()
1169 CMP_FIELD(old, new, video_mute) || in cx2341x_update()
1170 (new->video_mute && CMP_FIELD(old, new, video_mute_yuv))) { in cx2341x_update()
1172 new->video_mute | (new->video_mute_yuv << 8)); in cx2341x_update()
1177 CMP_FIELD(old, new, stream_insert_nav_packets)) { in cx2341x_update()
1179 7, new->stream_insert_nav_packets); in cx2341x_update()