• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/common/

Lines Matching defs:vv

18 static void calculate_hxo_and_hyo(struct saa7146_vv *vv, u32* hps_h_scale, u32* hps_ctrl)
22 hyo = vv->standard->v_offset;
23 hxo = vv->standard->h_offset;
340 struct saa7146_vv *vv = dev->vv_data;
341 u32 *clipping = vv->d_clipping.cpu_addr;
382 if( 0 != vv->vflip ) {
450 vdma2->base_even = vv->d_clipping.dma_handle;
451 vdma2->base_odd = vv->d_clipping.dma_handle;
452 vdma2->prot_addr = vv->d_clipping.dma_handle+((sizeof(u32))*(numdwords));
524 struct saa7146_vv *vv = dev->vv_data;
526 int source = vv->current_hps_source;
527 int sync = vv->current_hps_sync;
534 calculate_v_scale_registers(dev, field, vv->standard->v_field*2, height, &hps_v_scale, &hps_v_gain);
540 calculate_h_scale_registers(dev, vv->standard->h_pixels, width, vv->hflip, &hps_ctrl, &hps_v_gain, &hps_h_prescale, &hps_h_scale);
543 calculate_hxo_and_hyo(vv, &hps_h_scale, &hps_ctrl);
560 struct saa7146_vv *vv = dev->vv_data;
563 int b_depth = vv->ov_fmt->depth;
564 int b_bpl = vv->ov_fb.fmt.bytesperline;
565 u32 base = (u32)(unsigned long)vv->ov_fb.base;
571 if ( 0 == vv->vflip ) {
595 if ( 0 != vv->vflip ) {
600 vdma1.num_line_byte = (vv->standard->v_field<<16)+vv->standard->h_pixels;
620 struct saa7146_vv *vv = dev->vv_data;
633 vv->current_hps_source = source;
634 vv->current_hps_sync = sync;
641 struct saa7146_vv *vv = dev->vv_data;
644 saa7146_set_position(dev, fh->ov.win.w.left, fh->ov.win.w.top, fh->ov.win.w.height, fh->ov.win.field, vv->ov_fmt->pixelformat);
645 saa7146_set_output_format(dev, vv->ov_fmt->trans);
694 struct saa7146_vv *vv = dev->vv_data;
714 vdma1.num_line_byte = ((vv->standard->v_field<<16) + vv->standard->h_pixels);
717 if( 0 != vv->vflip ) {
729 if ( vv->last_field == V4L2_FIELD_TOP ) {
732 } else if ( vv->last_field == V4L2_FIELD_BOTTOM ) {
746 if( 0 != vv->vflip ) {
754 static int calc_planar_422(struct saa7146_vv *vv, struct saa7146_buf *buf, struct saa7146_video_dma *vdma2, struct saa7146_video_dma *vdma3)
763 if( 0 != vv->vflip ) {
784 static int calc_planar_420(struct saa7146_vv *vv, struct saa7146_buf *buf, struct saa7146_video_dma *vdma2, struct saa7146_video_dma *vdma3)
792 if( 0 != vv->vflip ) {
815 struct saa7146_vv *vv = dev->vv_data;
836 vdma1.num_line_byte = ((vv->standard->v_field<<16) + vv->standard->h_pixels);
839 if( 0 != vv->vflip ) {
857 calc_planar_420(vv,buf,&vdma2,&vdma3);
861 calc_planar_422(vv,buf,&vdma2,&vdma3);
896 if( 0 != vv->vflip ) {
915 struct saa7146_vv *vv = dev->vv_data;
918 unsigned long e_wait = vv->current_hps_sync == SAA7146_HPS_SYNC_PORT_A ? CMD_E_FID_A : CMD_E_FID_B;
919 unsigned long o_wait = vv->current_hps_sync == SAA7146_HPS_SYNC_PORT_A ? CMD_O_FID_A : CMD_O_FID_B;
946 if ( vv->last_field == V4L2_FIELD_INTERLACED ) {
949 } else if ( vv->last_field == V4L2_FIELD_TOP ) {
950 WRITE_RPS0(CMD_PAUSE | (vv->current_hps_sync == SAA7146_HPS_SYNC_PORT_A ? MASK_10 : MASK_09));
952 } else if ( vv->last_field == V4L2_FIELD_BOTTOM ) {
953 WRITE_RPS0(CMD_PAUSE | (vv->current_hps_sync == SAA7146_HPS_SYNC_PORT_A ? MASK_10 : MASK_09));
983 struct saa7146_vv *vv = dev->vv_data;
999 if ( vv->last_field == V4L2_FIELD_INTERLACED ) {
1000 } else if ( vv->last_field == V4L2_FIELD_TOP ) {
1001 vv->last_field = V4L2_FIELD_BOTTOM;
1002 } else if ( vv->last_field == V4L2_FIELD_BOTTOM ) {
1003 vv->last_field = V4L2_FIELD_TOP;