Home
last modified time | relevance | path

Searched refs:codec (Results 1 – 25 of 45) sorted by relevance

12

/drivers/media/pci/zoran/
Dvideocodec.c59 struct videocodec *codec; member
64 const struct videocodec *codec; member
81 struct videocodec *codec; in videocodec_attach() local
103 if ((master->flags & h->codec->flags) == master->flags) { in videocodec_attach()
105 h->codec->name); in videocodec_attach()
107 if (!try_module_get(h->codec->owner)) in videocodec_attach()
110 codec = kmemdup(h->codec, sizeof(struct videocodec), in videocodec_attach()
112 if (!codec) { in videocodec_attach()
119 snprintf(codec->name, sizeof(codec->name), in videocodec_attach()
120 "%s[%d]", codec->name, h->attached); in videocodec_attach()
[all …]
Dzr36016.c80 if (ptr->codec->master_data->readreg) in zr36016_read()
82 (ptr->codec->master_data-> in zr36016_read()
83 readreg(ptr->codec, reg)) & 0xFF; in zr36016_read()
104 if (ptr->codec->master_data->writereg) { in zr36016_write()
105 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36016_write()
123 if ((ptr->codec->master_data->writereg) && in zr36016_readi()
124 (ptr->codec->master_data->readreg)) { in zr36016_readi()
125 ptr->codec->master_data->writereg(ptr->codec, ZR016_IADDR, reg & 0x0F); // ADDR in zr36016_readi()
126 value = (ptr->codec->master_data->readreg(ptr->codec, ZR016_IDATA)) & 0xFF; // DATA in zr36016_readi()
147 if (ptr->codec->master_data->writereg) { in zr36016_writei()
[all …]
Dvideocodec.h274 int (*setup) (struct videocodec * codec);
275 int (*unset) (struct videocodec * codec);
279 int (*set_mode) (struct videocodec * codec,
282 int (*set_video) (struct videocodec * codec,
287 int (*control) (struct videocodec * codec,
294 int (*setup_interrupt) (struct videocodec * codec,
296 int (*handle_interrupt) (struct videocodec * codec,
300 long (*put_image) (struct videocodec * codec,
307 long (*get_image) (struct videocodec * codec,
325 __u32(*readreg) (struct videocodec * codec,
[all …]
Dzr36050.c78 if (ptr->codec->master_data->readreg) in zr36050_read()
79 value = (ptr->codec->master_data->readreg(ptr->codec, in zr36050_read()
101 if (ptr->codec->master_data->writereg) in zr36050_write()
102 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36050_write()
585 zr36050_set_mode (struct videocodec *codec, in zr36050_set_mode() argument
588 struct zr36050 *ptr = (struct zr36050 *) codec->data; in zr36050_set_mode()
603 zr36050_set_video (struct videocodec *codec, in zr36050_set_video() argument
608 struct zr36050 *ptr = (struct zr36050 *) codec->data; in zr36050_set_video()
645 zr36050_control (struct videocodec *codec, in zr36050_control() argument
650 struct zr36050 *ptr = (struct zr36050 *) codec->data; in zr36050_control()
[all …]
Dzr36060.c82 if (ptr->codec->master_data->readreg) in zr36060_read()
83 value = (ptr->codec->master_data->readreg(ptr->codec, in zr36060_read()
104 if (ptr->codec->master_data->writereg) in zr36060_write()
105 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36060_write()
576 zr36060_set_mode (struct videocodec *codec, in zr36060_set_mode() argument
579 struct zr36060 *ptr = (struct zr36060 *) codec->data; in zr36060_set_mode()
594 zr36060_set_video (struct videocodec *codec, in zr36060_set_video() argument
599 struct zr36060 *ptr = (struct zr36060 *) codec->data; in zr36060_set_video()
754 zr36060_control (struct videocodec *codec, in zr36060_control() argument
759 struct zr36060 *ptr = (struct zr36060 *) codec->data; in zr36060_control()
[all …]
Dzoran_card.c151 zr36060_read (struct videocodec *codec, in zr36060_read() argument
154 struct zoran *zr = (struct zoran *) codec->master_data->data; in zr36060_read()
168 zr36060_write (struct videocodec *codec, in zr36060_write() argument
172 struct zoran *zr = (struct zoran *) codec->master_data->data; in zr36060_write()
185 zr36050_read (struct videocodec *codec, in zr36050_read() argument
188 struct zoran *zr = (struct zoran *) codec->master_data->data; in zr36050_read()
201 zr36050_write (struct videocodec *codec, in zr36050_write() argument
205 struct zoran *zr = (struct zoran *) codec->master_data->data; in zr36050_write()
217 zr36016_read (struct videocodec *codec, in zr36016_read() argument
220 struct zoran *zr = (struct zoran *) codec->master_data->data; in zr36016_read()
[all …]
Dzoran_device.c995 zr->codec->control(zr->codec, CODEC_S_JPEG_APP_DATA, in zr36057_enable_jpg()
1000 zr->codec->control(zr->codec, CODEC_S_JPEG_COM_DATA, in zr36057_enable_jpg()
1004 zr->codec->control(zr->codec, CODEC_S_JPEG_TDS_BYTE, in zr36057_enable_jpg()
1006 zr->codec->set_video(zr->codec, zr->timing, &cap, in zr36057_enable_jpg()
1008 zr->codec->set_mode(zr->codec, CODEC_DO_COMPRESSION); in zr36057_enable_jpg()
1045 zr->codec->set_video(zr->codec, zr->timing, &cap, in zr36057_enable_jpg()
1047 zr->codec->set_mode(zr->codec, CODEC_DO_EXPANSION); in zr36057_enable_jpg()
1203 zr->codec->set_mode(zr->codec, mode); in zoran_restart()
Dzoran_card.h52 void zr36016_write(struct videocodec *codec, u16 reg, u32 val);
Dzr36016.h35 struct videocodec *codec; member
Dzr36050.h37 struct videocodec *codec; member
Dzr36060.h37 struct videocodec *codec; member
/drivers/media/usb/usbvision/
Dusbvision-cards.c37 .codec = CODEC_SAA7113,
51 .codec = CODEC_SAA7113,
67 .codec = CODEC_SAA7111,
81 .codec = CODEC_SAA7113,
97 .codec = CODEC_SAA7111,
113 .codec = CODEC_SAA7111,
127 .codec = CODEC_SAA7113,
143 .codec = CODEC_SAA7111,
157 .codec = CODEC_SAA7111,
173 .codec = CODEC_SAA7113,
[all …]
/drivers/media/platform/s5p-mfc/
Ds5p_mfc_enc.c1450 p->codec.h264.cpb_size = ctrl->val; in s5p_mfc_enc_s_ctrl()
1467 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1471 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1475 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1480 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl()
1490 p->codec.h264.level_v4l2 = ctrl->val; in s5p_mfc_enc_s_ctrl()
1491 p->codec.h264.level = h264_level(ctrl->val); in s5p_mfc_enc_s_ctrl()
1492 if (p->codec.h264.level < 0) { in s5p_mfc_enc_s_ctrl()
1494 ret = p->codec.h264.level; in s5p_mfc_enc_s_ctrl()
1498 p->codec.mpeg4.level_v4l2 = ctrl->val; in s5p_mfc_enc_s_ctrl()
[all …]
/drivers/input/touchscreen/
Dwm97xx-core.c144 wm->codec->aux_prepare(wm); in wm97xx_read_aux_adc()
150 rc = wm->codec->poll_sample(wm, adcsel, &auxval); in wm97xx_read_aux_adc()
155 wm->codec->dig_restore(wm); in wm97xx_read_aux_adc()
163 wm->codec->dig_enable(wm, false); in wm97xx_read_aux_adc()
416 rc = wm->codec->poll_touch(wm, &data); in wm97xx_read_samples()
481 BUG_ON(!wm->codec); in wm97xx_ts_reader()
512 wm->codec->acc_enable(wm, 1); in wm97xx_ts_input_open()
513 wm->codec->dig_enable(wm, 1); in wm97xx_ts_input_open()
579 wm->codec->dig_enable(wm, 0); in wm97xx_ts_input_close()
581 wm->codec->acc_enable(wm, 0); in wm97xx_ts_input_close()
[all …]
/drivers/media/usb/hdpvr/
Dhdpvr-control.c125 enum v4l2_mpeg_audio_encoding codec) in hdpvr_set_audio() argument
133 if (codec == V4L2_MPEG_AUDIO_ENCODING_AAC) in hdpvr_set_audio()
135 else if (codec == V4L2_MPEG_AUDIO_ENCODING_AC3) in hdpvr_set_audio()
140 codec); in hdpvr_set_audio()
/drivers/media/usb/stk1160/
DKconfig12 bool "STK1160 AC97 codec support"
16 Enables AC97 codec support for stk1160 driver.
/drivers/media/platform/coda/
Dcoda-common.c272 const struct coda_codec *codec, in coda_get_max_dimensions() argument
280 if (codec) { in coda_get_max_dimensions()
281 w = codec->max_w; in coda_get_max_dimensions()
282 h = codec->max_h; in coda_get_max_dimensions()
428 static int coda_try_fmt(struct coda_ctx *ctx, const struct coda_codec *codec, in coda_try_fmt() argument
445 coda_get_max_dimensions(dev, codec, &max_w, &max_h); in coda_try_fmt()
490 const struct coda_codec *codec; in coda_try_fmt_vid_cap() local
513 codec = coda_find_codec(ctx->dev, q_data_src->fourcc, in coda_try_fmt_vid_cap()
515 if (!codec) in coda_try_fmt_vid_cap()
518 ret = coda_try_fmt(ctx, codec, f); in coda_try_fmt_vid_cap()
[all …]
Dcoda-bit.c241 if (ctx->codec->src_fourcc == V4L2_PIX_FMT_JPEG && in coda_fill_bitstream()
248 if (ctx->codec->src_fourcc == V4L2_PIX_FMT_JPEG && in coda_fill_bitstream()
355 if (ctx->codec && (ctx->codec->src_fourcc == V4L2_PIX_FMT_H264 || in coda_alloc_framebuffers()
356 ctx->codec->dst_fourcc == V4L2_PIX_FMT_H264)) { in coda_alloc_framebuffers()
374 if (ctx->codec->src_fourcc == V4L2_PIX_FMT_H264 && in coda_alloc_framebuffers()
408 if (ctx->codec->src_fourcc == V4L2_PIX_FMT_H264 && in coda_alloc_framebuffers()
417 (ctx->codec->src_fourcc == V4L2_PIX_FMT_MPEG4)) in coda_alloc_framebuffers()
894 ctx->params.codec_mode = ctx->codec->mode; in coda_start_encoding()
1554 if (ctx->codec->src_fourcc == V4L2_PIX_FMT_JPEG) in __coda_start_decoding()
1558 ctx->params.codec_mode = ctx->codec->mode; in __coda_start_decoding()
[all …]
/drivers/mfd/
Dtwl4030-audio.c166 if (pdata && pdata->codec) in twl4030_audio_has_codec()
243 cell->platform_data = pdata->codec; in twl4030_audio_probe()
244 cell->pdata_size = sizeof(*pdata->codec); in twl4030_audio_probe()
Dwm8350-core.c427 &(wm8350->codec.pdev)); in wm8350_device_init()
461 platform_device_unregister(wm8350->codec.pdev); in wm8350_device_exit()
/drivers/isdn/mISDN/
Dl1oip_core.c249 static u_int codec[MAX_CARDS]; variable
262 module_param_array(codec, uint, NULL, S_IRUGO | S_IWUSR);
1151 l1oip_socket_send(hc, hc->codec, bch->slot, 0, in handle_bmsg()
1318 switch (codec[l1oip_cnt]) { in init_card()
1326 codec[l1oip_cnt]); in init_card()
1329 hc->codec = codec[l1oip_cnt]; in init_card()
1332 __func__, hc->codec); in init_card()
Dl1oip.h59 int codec; /* codec to use for transmis. */ member
/drivers/media/platform/
DKconfig139 tristate "Chips&Media Coda multi-standard codec IP"
148 Coda is a range of video codec IPs that supports
173 tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
181 and EXYNOS4 JPEG codec
/drivers/clk/sunxi/
DMakefile6 obj-y += clk-a10-codec.o
/drivers/media/rc/
DMakefile15 obj-$(CONFIG_IR_LIRC_CODEC) += ir-lirc-codec.o

12