• Home
  • Raw
  • Download

Lines Matching refs:cxhdl

1552 int cx2341x_handler_init(struct cx2341x_handler *cxhdl,  in cx2341x_handler_init()  argument
1555 struct v4l2_ctrl_handler *hdl = &cxhdl->hdl; in cx2341x_handler_init()
1556 u32 caps = cxhdl->capabilities; in cx2341x_handler_init()
1561 cxhdl->width = 720; in cx2341x_handler_init()
1562 cxhdl->height = 480; in cx2341x_handler_init()
1568 cxhdl->stream_type = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1572 cxhdl->stream_vbi_fmt = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1576 cxhdl->audio_sampling_freq = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1580 cxhdl->audio_encoding = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1584 cxhdl->audio_l2_bitrate = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1588 cxhdl->audio_mode = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1592 cxhdl->audio_mode_extension = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1596 cxhdl->audio_emphasis = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1600 cxhdl->audio_crc = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1607 cxhdl->audio_ac3_bitrate = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1611 cxhdl->video_encoding = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1619 cxhdl->video_b_frames = cx2341x_ctrl_new_std(hdl, in cx2341x_handler_init()
1621 cxhdl->video_gop_size = cx2341x_ctrl_new_std(hdl, in cx2341x_handler_init()
1623 1, 34, 1, cxhdl->is_50hz ? 12 : 15); in cx2341x_handler_init()
1625 cxhdl->video_bitrate_mode = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1629 cxhdl->video_bitrate = cx2341x_ctrl_new_std(hdl, in cx2341x_handler_init()
1632 cxhdl->video_bitrate_peak = cx2341x_ctrl_new_std(hdl, in cx2341x_handler_init()
1637 cxhdl->video_mute = cx2341x_ctrl_new_std(hdl, in cx2341x_handler_init()
1639 cxhdl->video_mute_yuv = cx2341x_ctrl_new_std(hdl, in cx2341x_handler_init()
1643 cxhdl->video_spatial_filter_mode = cx2341x_ctrl_new_custom(hdl, in cx2341x_handler_init()
1648 cxhdl->video_spatial_filter = cx2341x_ctrl_new_custom(hdl, in cx2341x_handler_init()
1651 cxhdl->video_luma_spatial_filter_type = cx2341x_ctrl_new_custom(hdl, in cx2341x_handler_init()
1657 cxhdl->video_chroma_spatial_filter_type = cx2341x_ctrl_new_custom(hdl, in cx2341x_handler_init()
1663 cxhdl->video_temporal_filter_mode = cx2341x_ctrl_new_custom(hdl, in cx2341x_handler_init()
1669 cxhdl->video_temporal_filter = cx2341x_ctrl_new_custom(hdl, in cx2341x_handler_init()
1672 cxhdl->video_median_filter_type = cx2341x_ctrl_new_custom(hdl, in cx2341x_handler_init()
1678 cxhdl->video_luma_median_filter_bottom = cx2341x_ctrl_new_custom(hdl, in cx2341x_handler_init()
1681 cxhdl->video_luma_median_filter_top = cx2341x_ctrl_new_custom(hdl, in cx2341x_handler_init()
1684 cxhdl->video_chroma_median_filter_bottom = cx2341x_ctrl_new_custom(hdl, in cx2341x_handler_init()
1687 cxhdl->video_chroma_median_filter_top = cx2341x_ctrl_new_custom(hdl, in cx2341x_handler_init()
1700 v4l2_ctrl_cluster(8, &cxhdl->audio_sampling_freq); in cx2341x_handler_init()
1701 v4l2_ctrl_cluster(2, &cxhdl->video_b_frames); in cx2341x_handler_init()
1702 v4l2_ctrl_cluster(5, &cxhdl->stream_type); in cx2341x_handler_init()
1703 v4l2_ctrl_cluster(2, &cxhdl->video_mute); in cx2341x_handler_init()
1704 v4l2_ctrl_cluster(3, &cxhdl->video_spatial_filter_mode); in cx2341x_handler_init()
1705 v4l2_ctrl_cluster(2, &cxhdl->video_luma_spatial_filter_type); in cx2341x_handler_init()
1706 v4l2_ctrl_cluster(2, &cxhdl->video_spatial_filter); in cx2341x_handler_init()
1707 v4l2_ctrl_cluster(4, &cxhdl->video_luma_median_filter_top); in cx2341x_handler_init()
1713 void cx2341x_handler_set_50hz(struct cx2341x_handler *cxhdl, int is_50hz) in cx2341x_handler_set_50hz() argument
1715 cxhdl->is_50hz = is_50hz; in cx2341x_handler_set_50hz()
1716 cxhdl->video_gop_size->default_value = cxhdl->is_50hz ? 12 : 15; in cx2341x_handler_set_50hz()
1720 int cx2341x_handler_setup(struct cx2341x_handler *cxhdl) in cx2341x_handler_setup() argument
1722 int h = cxhdl->height; in cx2341x_handler_setup()
1723 int w = cxhdl->width; in cx2341x_handler_setup()
1726 err = cx2341x_hdl_api(cxhdl, CX2341X_ENC_SET_OUTPUT_PORT, 2, cxhdl->port, 0); in cx2341x_handler_setup()
1729 err = cx2341x_hdl_api(cxhdl, CX2341X_ENC_SET_FRAME_RATE, 1, cxhdl->is_50hz); in cx2341x_handler_setup()
1733 if (v4l2_ctrl_g_ctrl(cxhdl->video_encoding) == V4L2_MPEG_VIDEO_ENCODING_MPEG_1) { in cx2341x_handler_setup()
1737 err = cx2341x_hdl_api(cxhdl, CX2341X_ENC_SET_FRAME_SIZE, 2, h, w); in cx2341x_handler_setup()
1740 return v4l2_ctrl_handler_setup(&cxhdl->hdl); in cx2341x_handler_setup()
1744 void cx2341x_handler_set_busy(struct cx2341x_handler *cxhdl, int busy) in cx2341x_handler_set_busy() argument
1746 v4l2_ctrl_grab(cxhdl->audio_sampling_freq, busy); in cx2341x_handler_set_busy()
1747 v4l2_ctrl_grab(cxhdl->audio_encoding, busy); in cx2341x_handler_set_busy()
1748 v4l2_ctrl_grab(cxhdl->audio_l2_bitrate, busy); in cx2341x_handler_set_busy()
1749 v4l2_ctrl_grab(cxhdl->audio_ac3_bitrate, busy); in cx2341x_handler_set_busy()
1750 v4l2_ctrl_grab(cxhdl->stream_vbi_fmt, busy); in cx2341x_handler_set_busy()
1751 v4l2_ctrl_grab(cxhdl->stream_type, busy); in cx2341x_handler_set_busy()
1752 v4l2_ctrl_grab(cxhdl->video_bitrate_mode, busy); in cx2341x_handler_set_busy()
1753 v4l2_ctrl_grab(cxhdl->video_bitrate, busy); in cx2341x_handler_set_busy()
1754 v4l2_ctrl_grab(cxhdl->video_bitrate_peak, busy); in cx2341x_handler_set_busy()