• Home
  • Raw
  • Download

Lines Matching refs:cxhdl

1522 int cx2341x_handler_init(struct cx2341x_handler *cxhdl,  in cx2341x_handler_init()  argument
1525 struct v4l2_ctrl_handler *hdl = &cxhdl->hdl; in cx2341x_handler_init()
1526 u32 caps = cxhdl->capabilities; in cx2341x_handler_init()
1531 cxhdl->width = 720; in cx2341x_handler_init()
1532 cxhdl->height = 480; in cx2341x_handler_init()
1538 cxhdl->stream_type = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1542 cxhdl->stream_vbi_fmt = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1546 cxhdl->audio_sampling_freq = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1550 cxhdl->audio_encoding = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1554 cxhdl->audio_l2_bitrate = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1558 cxhdl->audio_mode = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1562 cxhdl->audio_mode_extension = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1566 cxhdl->audio_emphasis = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1570 cxhdl->audio_crc = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1577 cxhdl->audio_ac3_bitrate = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1581 cxhdl->video_encoding = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1589 cxhdl->video_b_frames = cx2341x_ctrl_new_std(hdl, in cx2341x_handler_init()
1591 cxhdl->video_gop_size = cx2341x_ctrl_new_std(hdl, in cx2341x_handler_init()
1593 1, 34, 1, cxhdl->is_50hz ? 12 : 15); in cx2341x_handler_init()
1595 cxhdl->video_bitrate_mode = cx2341x_ctrl_new_menu(hdl, in cx2341x_handler_init()
1599 cxhdl->video_bitrate = cx2341x_ctrl_new_std(hdl, in cx2341x_handler_init()
1602 cxhdl->video_bitrate_peak = cx2341x_ctrl_new_std(hdl, in cx2341x_handler_init()
1607 cxhdl->video_mute = cx2341x_ctrl_new_std(hdl, in cx2341x_handler_init()
1609 cxhdl->video_mute_yuv = cx2341x_ctrl_new_std(hdl, in cx2341x_handler_init()
1613 cxhdl->video_spatial_filter_mode = cx2341x_ctrl_new_custom(hdl, in cx2341x_handler_init()
1618 cxhdl->video_spatial_filter = cx2341x_ctrl_new_custom(hdl, in cx2341x_handler_init()
1621 cxhdl->video_luma_spatial_filter_type = cx2341x_ctrl_new_custom(hdl, in cx2341x_handler_init()
1627 cxhdl->video_chroma_spatial_filter_type = cx2341x_ctrl_new_custom(hdl, in cx2341x_handler_init()
1633 cxhdl->video_temporal_filter_mode = cx2341x_ctrl_new_custom(hdl, in cx2341x_handler_init()
1639 cxhdl->video_temporal_filter = cx2341x_ctrl_new_custom(hdl, in cx2341x_handler_init()
1642 cxhdl->video_median_filter_type = cx2341x_ctrl_new_custom(hdl, in cx2341x_handler_init()
1648 cxhdl->video_luma_median_filter_bottom = cx2341x_ctrl_new_custom(hdl, in cx2341x_handler_init()
1651 cxhdl->video_luma_median_filter_top = cx2341x_ctrl_new_custom(hdl, in cx2341x_handler_init()
1654 cxhdl->video_chroma_median_filter_bottom = cx2341x_ctrl_new_custom(hdl, in cx2341x_handler_init()
1657 cxhdl->video_chroma_median_filter_top = cx2341x_ctrl_new_custom(hdl, in cx2341x_handler_init()
1670 v4l2_ctrl_cluster(8, &cxhdl->audio_sampling_freq); in cx2341x_handler_init()
1671 v4l2_ctrl_cluster(2, &cxhdl->video_b_frames); in cx2341x_handler_init()
1672 v4l2_ctrl_cluster(5, &cxhdl->stream_type); in cx2341x_handler_init()
1673 v4l2_ctrl_cluster(2, &cxhdl->video_mute); in cx2341x_handler_init()
1674 v4l2_ctrl_cluster(3, &cxhdl->video_spatial_filter_mode); in cx2341x_handler_init()
1675 v4l2_ctrl_cluster(2, &cxhdl->video_luma_spatial_filter_type); in cx2341x_handler_init()
1676 v4l2_ctrl_cluster(2, &cxhdl->video_spatial_filter); in cx2341x_handler_init()
1677 v4l2_ctrl_cluster(4, &cxhdl->video_luma_median_filter_top); in cx2341x_handler_init()
1683 void cx2341x_handler_set_50hz(struct cx2341x_handler *cxhdl, int is_50hz) in cx2341x_handler_set_50hz() argument
1685 cxhdl->is_50hz = is_50hz; in cx2341x_handler_set_50hz()
1686 cxhdl->video_gop_size->default_value = cxhdl->is_50hz ? 12 : 15; in cx2341x_handler_set_50hz()
1690 int cx2341x_handler_setup(struct cx2341x_handler *cxhdl) in cx2341x_handler_setup() argument
1692 int h = cxhdl->height; in cx2341x_handler_setup()
1693 int w = cxhdl->width; in cx2341x_handler_setup()
1696 err = cx2341x_hdl_api(cxhdl, CX2341X_ENC_SET_OUTPUT_PORT, 2, cxhdl->port, 0); in cx2341x_handler_setup()
1699 err = cx2341x_hdl_api(cxhdl, CX2341X_ENC_SET_FRAME_RATE, 1, cxhdl->is_50hz); in cx2341x_handler_setup()
1703 if (v4l2_ctrl_g_ctrl(cxhdl->video_encoding) == V4L2_MPEG_VIDEO_ENCODING_MPEG_1) { in cx2341x_handler_setup()
1707 err = cx2341x_hdl_api(cxhdl, CX2341X_ENC_SET_FRAME_SIZE, 2, h, w); in cx2341x_handler_setup()
1710 return v4l2_ctrl_handler_setup(&cxhdl->hdl); in cx2341x_handler_setup()
1714 void cx2341x_handler_set_busy(struct cx2341x_handler *cxhdl, int busy) in cx2341x_handler_set_busy() argument
1716 v4l2_ctrl_grab(cxhdl->audio_sampling_freq, busy); in cx2341x_handler_set_busy()
1717 v4l2_ctrl_grab(cxhdl->audio_encoding, busy); in cx2341x_handler_set_busy()
1718 v4l2_ctrl_grab(cxhdl->audio_l2_bitrate, busy); in cx2341x_handler_set_busy()
1719 v4l2_ctrl_grab(cxhdl->audio_ac3_bitrate, busy); in cx2341x_handler_set_busy()
1720 v4l2_ctrl_grab(cxhdl->stream_vbi_fmt, busy); in cx2341x_handler_set_busy()
1721 v4l2_ctrl_grab(cxhdl->stream_type, busy); in cx2341x_handler_set_busy()
1722 v4l2_ctrl_grab(cxhdl->video_bitrate_mode, busy); in cx2341x_handler_set_busy()
1723 v4l2_ctrl_grab(cxhdl->video_bitrate, busy); in cx2341x_handler_set_busy()
1724 v4l2_ctrl_grab(cxhdl->video_bitrate_peak, busy); in cx2341x_handler_set_busy()