US7365796B1 - System and method for video signal decoding using digital signal processing - Google Patents

System and method for video signal decoding using digital signal processing Download PDF

Info

Publication number
US7365796B1
US7365796B1 US10/851,521 US85152104A US7365796B1 US 7365796 B1 US7365796 B1 US 7365796B1 US 85152104 A US85152104 A US 85152104A US 7365796 B1 US7365796 B1 US 7365796B1
Authority
US
United States
Prior art keywords
filter
signal
video
delay
decoder
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active, expires
Application number
US10/851,521
Inventor
Neil Woodall
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pixelworks Semiconductor Technology Shanghai Co Ltd
Original Assignee
Pixelworks Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pixelworks Inc filed Critical Pixelworks Inc
Priority to US10/851,521 priority Critical patent/US7365796B1/en
Priority to US11/361,812 priority patent/US7701512B1/en
Application granted granted Critical
Publication of US7365796B1 publication Critical patent/US7365796B1/en
Assigned to PIXELWORKS, INC. reassignment PIXELWORKS, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: WOODALL, NEIL
Assigned to PIXELWORKS SEMICONDUCTOR TECHNOLOGY COMPANY, LLC reassignment PIXELWORKS SEMICONDUCTOR TECHNOLOGY COMPANY, LLC ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: PIXELWORKS, INC.
Assigned to PIXELWORKS SEMICONDUCTOR TECHNOLOGY (SHANGHAI) CO., LTD. reassignment PIXELWORKS SEMICONDUCTOR TECHNOLOGY (SHANGHAI) CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: PIXELWORKS SEMICONDUCTOR TECHNOLOGY COMPANY, LLC
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/641Multi-purpose receivers, e.g. for auxiliary information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/642Multi-standard receivers

Definitions

  • This invention relates to signal decoding and, more particularly, to a system and method for video signal decoding using digital signal processing (DSP).
  • DSP digital signal processing
  • Composite and S-video signal formats dominate home theater interconnect applications.
  • Composite video signals combine the three basic elements of a video picture (color, brightness, and synchronization signals) into a single composite signal.
  • S-video is often incorrectly referred to as S-VHS since it first came into home use with the introduction of VHS tape format.
  • Professionals prefer the name Y/C video rather than S-video since it is more clearly descriptive of the signal format.
  • S-video signals comprise luminance (Y or luma) signals indicative of the black and white portion of the image (i.e., brightness), chrominance (C or chroma) indicative of the color portion of the image (i.e., hue and saturation), and vertical and horizontal synchronization signals.
  • Manipulation of the composite and S-video signals allows image control. For instance, manipulation of Y and C components may sufficiently produce any image.
  • a decoder samples the composite and S-video signals using a clock locked to a synchronization signal (line locked decoding) or a color burst frequency. If locked to the color burst frequency, the decoder uses a phase-locked loop (PLL), a voltage controlled crystal oscillator (VCO), or a digitally tuned oscillator (DTO) to sample the composite and S-video signals.
  • PLL phase-locked loop
  • VCO voltage controlled crystal oscillator
  • DTO digitally tuned oscillator
  • the sampled signal is then processed through a Y/C separator to produce an S-video signal.
  • a demodulator then demodulates the chroma portion of the S-video signal (original or processed).
  • Typical demodulation techniques like quadrature amplitude demodulation, multiply the chroma signal by a signal either in phase or 90 degrees out of phase with the color burst, and then filter the result using a low-pass filter. The result is a demodulated UV signal that is ready for color space conversion. Due to the sampling frequency control requirement, however, the above approach is not easily adaptable with common, off-the-shelf, digital signal processors, increasing the decoder's overall cost.
  • FIG. 1 is a block diagram of a decoder system embodiment.
  • FIG. 2 is a block diagram of a notch/lowpass filter embodiment in the synchronization measurement block shown in FIG. 1 .
  • FIG. 3 is a block diagram of a bandpass filter embodiment in the synchronization measurement block shown in FIG. 1 .
  • FIG. 4 is a block diagram of FIR filter embodiment
  • FIG. 5 is a block diagram of a notch/lowpass filter embodiment.
  • FIG. 6 is a diagram of a PAL delay line embodiment
  • FIG. 7 is a block diagram of a SECAM decoder embodiment.
  • FIGS. 8 and 9 are graphs of sampling position versus phase error for 4 ⁇ Fsc and 8 ⁇ Fsc sampling rates, respectively.
  • FIG. 10 is a block diagram of a decoder embodiment.
  • FIG. 11 is a block diagram of a decoder system embodiment.
  • the present invention relates to a video decoder designed to meet video quality level requirements of up-converting a video signal to computer or high definition television (HDTV) resolutions.
  • Asynchronous sampling comprises a fixed sample clock frequency.
  • asynchronous sampling relates to sampling without locking to the video signal, e.g., without locking to the vertical or horizontal synchronization signals of the video signal.
  • the video decoder allows use of previously unacceptable lower precision analog-to-digital converters (ADCs), e.g., 8 bit ADCs, to perform like higher precision ADCs, e.g., 10 bit ADCs. And the video decoder performs substantial signal processing with little or no performance degradation.
  • ADCs analog-to-digital converters
  • the video decoder may use a sample rate a factor, e.g., eight, larger than required for CCIR-601 style decoding.
  • CCIR stands for Comite Consultatif International des Radio, a predecessor organization to the International Telecommunications Union (ITU), an organization responsible for obtaining international agreement on standards for ratio and television transmission.
  • the high sample rate allows the decoder to re-use the ADCs used for red/green/blue (RGB) graphics signals and/or high definition television (HDTV) signals.
  • RGB red/green/blue
  • HDTV high definition television
  • the high sample rate allows on-chip anti-alias filters that may reject noise or crosstalk generated both on and off chip, increasing compatibility with system-on-chip designs that process RGB, HDTV, and standard definition television (SDTV) signals used by the video decoder.
  • SDTV standard definition television
  • FIG. 1 is a block diagram of a decoder 100 .
  • a composite signal 101 or an S-video analog signal 102 is digitized through an analog-to-digital converter (ADC) 103 .
  • a person of reasonable skill in the art should recognize that other types of signals may be provided to the ADC 103 , e.g., Sequential Couleur A'Memorie (SECAM), and/or Phase Alternating Line (PAL) signals.
  • SECAM Sequential Couleur A'Memorie
  • PAL Phase Alternating Line
  • the composite signal 101 or the S-video signal 102 may be provided through separate or single lines depending on the application.
  • a person of reasonable skill in the art should recognize that the ADC 103 may be one, two, or more separate components depending on the application.
  • the ADC 103 generates a digitized composite signal 104 of varying size, e.g., 8 bits.
  • the ADC 103 likewise generates a digitized S-video signal 105 of varying size, e.g., 8 bits.
  • the ADC 103 may use a fixed or variable frequency sampling clock.
  • the ADC 103 may determine system performance, the signal processing described below is not dependent on ADC type.
  • the ADC is an 8-bit ADC with a high sample rate, e.g., 108 MHz.
  • a person of reasonable skill in the art should recognize that other ADC bit widths and sample rates are possible with modifications to the decoder 100 , including the anti-alias filters 106 and 107 .
  • a person of reasonable skill in the art should recognize other designs for the ADC 103 as coming within the scope of the present invention.
  • An anti-alias filter 106 filters the digitized composite signal 104 .
  • an anti-alias filter 107 filters the digitized S-video signal 105 .
  • the anti-alias filters 106 and 107 may operate as low pass filters, isolating lower frequency video signals from higher frequency RGB graphics and HDTV signals. By doing so, the anti-alias filters 106 and 107 increase signal to noise ratio and precision. Increasing the ADC sample rate likewise improves precision and reduces noise and crosstalk if the ADC signal to noise ratio remains constant.
  • the anti-alias filters 106 and 107 include notches in their frequency response to eliminate digital noise from the input source (e.g., from bad digital to analog reconstruction filters), the system (e.g., from ground loops), and from internal switching noise.
  • the overall impact is to significantly reduce the integration problems and costs associated with combining a video decoder with other video and graphics processing functions.
  • the decoder 100 comprises a plurality of scalars, e.g., horizontal scalars 110 and 111 .
  • the horizontal scalar 110 scales the filtered composite signal 108 and the luma portion of the filtered S-video signal 109 .
  • the horizontal scalar 111 scales the chroma portion of the filtered S-video signal 109 .
  • the scalars 110 and 111 may be implemented using a variety of well-known scaling algorithms and technologies, including using polyphase filters.
  • the decoder 100 requires no specific type of scalar, but the particular type of scalar used will affect the decoder 100 's decoding quality.
  • the scalars 110 and 111 may affect the decoder 100 's amplitude versus phase characteristics at the color sub-carrier frequency. Variations in amplitude versus sampling phase will cause changes in saturation and hue, typically seen as moving diagonal bands in the displayed image.
  • the anti-alias filters 106 and 107 and scalars 110 and 111 may be combined in a single, multi-tap polyphase filter. The design of scalars 110 and 111 is well known to a person of reasonable skill in the art and we will not discuss it in any further detail.
  • a delay line 116 provides a constant delay regardless of whether the input signal is a composite, S-video, or is in any other signal format.
  • the delay line may be implemented on-chip, e.g., in a static random access memory (SRAM) or off-chip, e.g., using any convenient memory required for other subsystems on the chip or of the decoder 100 .
  • SRAM static random access memory
  • the delay line 116 includes a first delay line 120 comprising a first multiplexer 112 and a first line delay 114 .
  • the delay line 116 includes a second delay line 121 comprising a second multiplexer 113 and a second line delay 115 .
  • the first multiplexer 112 provides one of the composite signal 118 , S-video signal 119 , and SECAM signals 120 to the first line delay 114 .
  • the second multiplexer provides one of the first line delay 114 's output, SECAM decoder 125 output, and bandpass filter 123 output to the second line delay 115 .
  • first and second delay lines 120 and 121 may store only the active portions of the corresponding input signals. Since the sampling frequency of the middle line dominates the Y (luma) frequency response of a filter 127 , sample rate reduction on the second delay line 121 minimally impacts final performance.
  • the decoder 100 may identify the input signal samples that contribute to the U/V color signal to cut the sample rate for the second delay line 121 in half for some formats of input signals, e.g., PAL signals.
  • the second delay line 121 may use sub-carrier phase information to only store the U/V samples at a sample rate, e.g., 4 ⁇ Fsc, lower than the sample rate, e.g., 8 ⁇ Fsc for storing luma. This allows dual use of line delay memory, for the comb filter 127 and for S-video information, equally. The consistent delay simplifies the output control timing of the decoder 100 .
  • the first and second line delays 114 and 115 may be implemented in a single memory, e.g., SRAM, to minimize memory area requirements in an integrated chip implementing the decoder 100 .
  • the system clock may be greater than three times the 8 ⁇ Fsc frequency of PAL, or 105 MHz.
  • the sampling frequency of the ADC 103 may satisfy this requirement by running at or higher than 105 MHz. In an embodiment, the ADC 103 's sampling frequency is 108 MHz.
  • the three operations are two reads followed by a write.
  • the three operations are two reads (luma and chroma) followed by a write (luma) and a read (luma) followed by two writes (luma and chroma). This is possible because the line delay 116 stores only the chroma samples demodulated to U/V.[
  • Synchronization circuit 132 identifies and generates the synchronization signals necessary to appropriately lock on to the input signals, e.g., composite signal 101 or S-video signal 102 .
  • the synchronization circuit 132 includes multiplexer 122 , bandpass filter 123 , notch/lowpass filter 124 , SECAM decoder 125 , and synchronization measurement circuit 126 .
  • the multiplexer 122 provides either the S-video signal 119 or the composite signal 118 to the bandpass filter 123 .
  • the multiplexer 122 may operate responsive to control signals not shown in FIG. 1 . Any circuit capable of selecting between a plurality of signals may be used for the multiplexer 122 .
  • the design of multiplexer 122 is well known to a person of reasonable skill in the art. We will therefore not discuss the multiplexer 122 in any further detail.
  • the bandpass filter 123 may be centered at the sub-carrier frequency Fsc or at other frequencies.
  • FIG. 4 is a block diagram of the bandpass filter 123 . Referring to FIGS. 1 and 4 , the bandpass filter 123 filters the buffered signal output from the multiplexer 122 .
  • the bandpass filter 123 may include a finite impulse response (FIR) filter 402 for filtering the signal 136 before providing the signal 137 to the synchronization measurement circuit 126 .
  • FIR finite impulse response
  • the bandpass filter 123 eliminates any DC offsets from the chroma S-video signal 119 .
  • the bandpass filter 123 may also include an infinite impulse response (IIR) filter 404 that removes the SECAM encoder bell curve pre-emphasis from the frequency response.
  • IIR infinite impulse response
  • a multiplexer 406 selects between the signal output from the IIR filter 404 and the signal output from the FIR filter 402 responsive to a control signal that indicates an active image portion.
  • the notch/lowpass filter 124 filters the composite signal 118 .
  • FIG. 5 is a block diagram of the notch/lowpass filter 124 .
  • the filter 124 may include a notch or bandpass filter 502 to eliminate the color sub-carrier frequency Fsc.
  • the filter 124 may also include a lowpass filter 504 to reject noise.
  • the lowpass filter 504 may, in turn, comprise both a FIR filter and an adaptive IIR filter (not shown separately from the filter 504 ).
  • the filter 504 may operate responsive to the input signal noise levels to improve performance. As the noise level increases, the adaptive IIR filter 504 lowers its cut-off frequency to provide better noise rejection.
  • the IIR filter 504 may be switched out of the path by a multiplexer 506 .
  • a sync slicer 508 detects a predetermined point of the synchronization signals, e.g., the 50% slice point, embedded in the signals 118 and 119 . The detection of a predetermined point of the synchronization signals allows the sampling phase to match the output, preserving the output frequency up to the Nyquist limit.
  • the output of the sync slicer 508 is further filtered by the filter 510 to remove glitches.
  • the delay through the glitch filter 510 decreases maintaining about constant the total signal delay.
  • the bandpass filter 123 and the lowpass/notch filter 124 therefore, improve the decoder 100 's accuracy.
  • the decoder 100 locks to the color sub-carrier frequency Fsc for amplitude modulated (AM) demodulation and additionally performs the frequency modulated (FM) demodulation for SECAM.
  • a zero crossing detection circuit 310 FIG. 3 ) generates phase and frequency information from the color sub-carrier by calculating zero crossings with sub-pixel accuracy. The method corrects the data then applies a linear interpolation.
  • An exemplary data rate 8 ⁇ the color sub-carrier frequency Fsc generates a maximum phase error of 0.05 degrees.
  • the decoder 125 may be implemented in a variety of manners, including using an FM demodulator.
  • the decoder 125 measures the color sub-carrier phase and determines the color sub-carrier frequency Fsc in one instance using the same circuit. This is because the difference between two phase measurements (zero-crossings) equals 1 ⁇ 2 the period of the signal.
  • the decoder 125 demodulates FM by taking the inverse of this measurement and multiplying by a predetermined constant.
  • the decoder 125 includes equalization filters before and after the demodulator.
  • the decoder 125 provides the decoded signal 133 to the delay line 116 to combine the sequential U and V components and to reduce large area flicker with vertical interpolation.
  • the UV signal 133 consists of a next line U (or V) 604 and a current line V (or U) 606 .
  • the decoder 125 provides the signal 133 to the pal delay line 116 , and more particularly, to the second delay line 121 .
  • the resulting delayed signal 139 is delayed an additional line resulting in a signal that includes a previous U (or V) line 608 and a current V (or U) line 610 .
  • the averager 612 averages the signal 139 with a next line signal 614 .
  • the current line 614 has a UV time delay change relative to the luma because of the sequential transmission of the UV signal. That is, the U (or V) 616 remains the current line pixel.
  • the decoder 100 improves color information accuracy.
  • FIG. 7 is a block diagram of a decoder 125 .
  • the decoder 125 includes a limiting circuit 710 , a color burst frequency detector 708 , and lowpass filters 702 , 704 , and 712 .
  • the decoder 125 input includes the average color burst frequency 703 and the current color sub-carrier frequency Fsc at 705 .
  • Two lowpass filters 702 and 704 estimate these decoder required frequency references, one for every other line.
  • the lowpass filter 702 may operate on odd lines while the lowpass filter 704 may operate on even lines.
  • the lowpass filters 702 and 704 may be IIR filters.
  • the filtered signals are multiplexed through the multiplexer 706 that operates responsive to a line select signal 707 .
  • the output of the multiplexer 708 is provided to the averager 708 .
  • the resulting averaged signal is used on the appropriate lines to create a difference signal 709 between the current frequency for the pixel and the average value.
  • the difference signal 709 is provided to a limiter 710 for limiting to the appropriate range of, e.g., SECAM frequencies.
  • a third lowpass filter 712 filters the signal from the limiter 710 to undo the SECAM per-emphasis used at the time of encoding.
  • the synchronization block 126 receives the signals output from the filters 123 and 124 and generates control signals 134 that it provides to the time base corrector 129 .
  • the synchronization block 126 provides data signals 135 to the decoder 125 .
  • the synchronization block 126 includes at least two processing blocks.
  • the first processing block 202 ( FIG. 2 ) is for processing the luma signals while the second processing block 302 ( FIG. 3 ) is for processing chroma signals.
  • the timing for the chroma signal block 202 is determined by the detection of the synchronization signals in the luma block 302 .
  • the synchronization block 126 first detects the horizontal and vertical synchronization signals, determines the video standard, locks to the color sub-carrier, and decodes the color information. Before locking onto the synchronization signals, the signal may need heavy filtering to reject noise, e.g., an IIR filter. Too much filtering, however, degrades the performance of the time base corrector 129 . To avoid performance degradation, the synchronization block 126 uses an adaptive approach that changes responsive to the signal input.
  • FIG. 2 is a block diagram of the luma processing block 202 .
  • the luma processing block 202 comprises a sync slicer 210 , horizontal synchronization detector 220 , vertical synchronization detector 230 , and macrovision detector 240 .
  • the sync slicer 210 averages the back porch level and the sync tip level.
  • the raw slice output captures the luma values just before and after the 50% slice point, allowing sub-pixel resolution (that is, resolution to a pixel fraction).
  • an up/down counter filters the signal.
  • the up/down counter stops at zero and a predetermined maximum count determined by the IIR filter 404 in the filter 123 , keeping a constant delay notwithstanding the IIR filter choice. This insures rejection of the low frequency undershoots typical of, e.g., video cassette recorders (VCRs), while still maintaining sub-pixel accuracy.
  • VCRs video cassette recorders
  • the horizontal synchronization detector 220 detects the horizontal synchronization signal to an expected window or range, thus ignoring vertical synchronization signals and macrovision pulses. If the horizontal synchronization detector 220 does not detect the horizontal synchronization signal over several lines, it extends the range or window to look for synchronization signals that are of appropriate width. The detector 220 determines the start and stop point of the window by the average width for the first synchronization signal detected on each line. If the detector 220 still does not find any horizontal synchronization signal after several more lines, then it will use any synchronization signal to determine the new start point.
  • the horizontal synchronization detector 220 When the horizontal synchronization detector 220 detects a predetermined level of random line length variation, it performs time base correction (TBC). With TBC, timing based on the falling edge of the horizontal synchronization signal is more likely correct. Excessive random variation therefore compels using expected, instead of detected, synchronization position. On a next line, the detector 220 adjusts expected synchronization position based on current sync position detection accuracy, namely, if too soon or too late. Since restricting line length variations to pixel accuracy would cause problems with VCRs, additional logic distinguishes between random and VCR caused line length variations.
  • TBC time base correction
  • the vertical synchronization detector 230 detects the vertical synchronization signal using additional filtering on the output from the sync slicer 210 . Similar to the sync slicer 210 's filter, the vertical synchronization detector 230 comprises an up/down counter (not shown separately from the vertical synchronization processing block 230 ), with the maximum count equal to 1 ⁇ 4 the expected line length in an embodiment.
  • the detector 230 detects the field using one of at least two techniques. In the first more traditional technique, the detector 230 may detect the phase of the vertical synchronization pulse relative to the phase of the horizontal synchronization pulse. In the second, more modern approach, the detector 230 may detect the delay between the last equalization pulse and the first horizontal synchronization signal in the field. The second approach provides better field detection and alignment during VCR trick modes, e.g., fast forward, reverse, and pause than the first approach because it does not rely on the vertical synchronization phase that has been replaced by the VCR.
  • Macrovision detector 240 may not detect automatic gain control (AGC) pulses directly. Instead, the macrovision detector 240 detects the pseudo synchronization pulses that are associated with the AGC pulses. In an embodiment, the same circuitry that distinguishes between equalization pulses and horizontal synchronization signals or pulses, counts potential equalization pulses on each line. These counts determine and flag the presence of macrovision encoding.
  • AGC automatic gain control
  • FIG. 3 is a block diagram of the chroma processing block 302 .
  • the chroma processing block 302 comprises a zero crossing detector 310 , a period and frequency determination block 320 , a color burst block 330 , macrovision detector 340 , and input resampling block 350 .
  • the zero crossing block 310 and the period and frequency determination block 320 determine the phase and frequency of the color sub-carrier signal.
  • the color burst block 330 may gather statistics (e.g., counts) about the color subcarrier during the color burst and from line to line.
  • the color burst block 330 provides the statistics to the macrovision detector 340 for detection of macrovision signals indicating copyright protection.
  • the color burst block 330 provides the statistics to control the input resampling block 320 (e.g., a horizontal scalar).
  • Macrovision encoding is well known to a person of reasonable skill in the art.
  • the zero crossing detector 310 may calculate the zero crossing using a linear interpolation algorithm that has a simple correction built in to compensate for the non-linear nature of the color sub-carrier.
  • the zero crossing detector 310 adds a predetermined percentage of an average of two samples on either side of zero to the larger of the two values before calculating the zero crossing. The predetermined percentage may be found through simulation to minimize the worst case error.
  • the zero crossing detector 310 substantially reduces the error in estimating the zero crossing, particularly at the 8 ⁇ Fsc rate, allowing it to be used as FM demodulator for a SECAM input signal.
  • FIGS. 8 and 9 are graphs of sampling position relative to phase error for 4 ⁇ Fsc and 8 ⁇ Fsc sampling rates, respectively.
  • FIGS. 8 and 9 show the impact signal adjustment for signals sampled at 4 ⁇ Fsc and 8 ⁇ Fsc, respectively.
  • the error in the estimated location of the zero crossing is reduced by almost a factor of 10 by adjusting the signal before linear interpolation.
  • the error is small enough at the 8 ⁇ Fsc rate to allow the circuit to be used as a SECAM FM demodulator as we mentioned above.
  • the phase and period detection block 320 takes the fractional phase calculated by the zero crossing block 310 and adds the integer phase value such that it can represent a full error range, e.g., a ⁇ 180 to +180 degree error.
  • the integer phase value is the output of a counter in which the least significant bit (LSB) represents the phase between the pixels.
  • the block 320 adds +/ ⁇ 45 degrees to remove swinging burst. Swinging burst is a PAL video term that refers to the situation where the color burst phase swings between +45 to ⁇ 45 and back on alternate lines of video. It is the detection of this swinging burst that identifies the signal as a PAL encoded signal.
  • PAL Phase Alternating Line, which means that before the UV component is modulated in the encoder, the V portion on every other line is inverted. That is, the phase of the V component is changed 180 degrees on every other line.
  • the PAL signal you have to undo this phase shift, which means that you have to identify which lines have been shifted by 180 degrees. This is because the electronics available when color was introduced had the tendency to shift the phase of the signal based on its amplitude. Because the hue (or tint) of the signal is based on the phase, this causes the hue to shift between dark and light portions of the scene. This shifting caused NTSC to be referred to as Never Twice the Same Color.
  • phase shift happens after the picture is encoded, the phase shift has different impacts on different lines of video because of the phase shift in the encoder.
  • the error causes a hue shift in opposite directions after decoding when you undo the 180 degrees added to the V signal. If you average the two lines together, then the hue shift will cancel.
  • the block 320 determines the maximum and minimum values by how fast the samples are relative to the subcarrier. For example, the detection block 320 counts from ⁇ 4 to +3 for 8 ⁇ Fsc. Because of the phase's polar coordinate system, the detection block 320 calculates the period by counting the number of samples between zero crossings and then adding the difference of the fractional pulses to that value. Frequency is the inverse of the period. To get true frequency, however, the detection block 320 divides the period into half the expected subcarrier period. Under these conditions, a frequency of one represents a signal equal to the expected subcarrier value.
  • the color burst block 330 calculates values and provides these values to the macrovision detector 340 and the input resampling control block 350 .
  • Exemplary statistics include color burst amplitude, average color burst phase, average color burst period/frequency, color burst phase reversal, and the number of valid samples within the color burst.
  • the decoder 100 may determine color burst phase. Depending on the results, the detector 340 either ignores color burst information or subtracts the phase inversion before using it in the summary statistics.
  • the macrovision detector 340 determines the color burst disturbance, and therefore the level of copy protection support required.
  • the corrected phase information controls the input horizontal scalar (not shown separately from the input resampling block 350 ) included in the input resampling block 350 , reducing the measured phase error to zero.
  • the input horizontal scalar may be free-running, that is, without start and stop conditions. But the block 350 may only process the active portion of the image, freeing up processing resources and, more particularly, DSP resources for synchronization and color burst measurements.
  • the resampling block 350 may use a ratio that is an even multiple of the subcarrier, typically 4 ⁇ Fsc or 8 ⁇ Fsc. Given a base (or default) scaling ratio, the block 350 adds two numbers to the scaling ratio. The first forces measured phase errors to zero. The second reduces the measured frequency errors to zero. The block 350 applies the second number to all the samples it processes.
  • the block 350 applies the phase error (or first number) to a predetermined number of samples.
  • the number of accumulations is based on the number of output samples.
  • the block 350 therefore, multiplies the phase error by the horizontal scaling ratio.
  • the block 350 applies the phase error in one of at least three techniques.
  • the first involves using DSP to multiply and apply the result to an output sample.
  • the second involves using an application specific integrated circuit (ASIC), either integrated with the decoder 100 or external to the decoder 100 , that time shares available scalar multipliers. Some scalar multipliers are not in use during the inactive image time.
  • ASIC application specific integrated circuit
  • the third possibility is to divide the phase error by a predetermined large number, e.g., 256, followed by a two stage accumulation.
  • the block 350 accumulates the number of clocks between output samples.
  • the block 350 accumulates the result for 256 output samples.
  • the approach yields accuracy sufficient to determine frequency errors.
  • the accuracy may be, e.g., +/ ⁇ 1 of the 256 samples times the horizontal scaling ratio.
  • the decoder 100 includes an adaptive two-dimensional comb filter 127 with variable chroma frequency response.
  • the comb filter 127 may operate over several lines, e.g., 3 lines.
  • the comb filter 127 detects the vertical and horizontal transistions in the chroma signal.
  • the comb filter 127 may switch between bandpass and wideband filters responsive to vertical or horizontal image transitions.
  • the comb filter 127 may use a narrowband comb filter responsive to intermediate image transitions (that is, intermediate to vertical or horizontal transitions).
  • the comb filter 127 detects vertical transitions by determining if a middle line bandpass filter matches one of the two-line comb filters better than a 3-line comb filter. For example, at the bottom of the color bars, one of the 2-line comb filters will be the same as the middle line bandpass filter while the 3-line comb filter, because it is an average of the two two-line comb filters will not equal either one. The comb filter 127 , therefore, will correctly select the bandpass filter.
  • the comb filter 127 detects horizontal transitions by looking at the relative signal levels of the different chroma filters, after it subtracts the nominal subcarrier (which we will refer to as leakage).
  • the goal of the comb filter 127 's adaptive algorithm is to use the filter with the least amount of leakage. When there is a horizontal transition, the narrow band comb filter and band pass filters will see the transition first, causing the comb filter to adaptively select the wide-band comb filter.
  • the comb filter 127 maximizes the chroma frequency response to preserve the image edges. Because the goal is to minimize the amount of leakage, the comb filter 127 will also cause the narrow-band comb filter to be used on diagonal luma edges thereby minimizing the amount of cross-color.
  • the decoder 128 generates a YUV signal from the Y and C signals it receives from the comb filter 127 and the delayed signal output from the first line delay 120 .
  • FIG. 10 is a block diagram of a decoder 128 .
  • the decoder 128 includes multipliers 1002 and 1004 and lowpass filters 1006 and 1008 .
  • the decoder 128 may have an AM demodulating function that is a +/ ⁇ 1 multiplication in the 4 ⁇ Fsc case.
  • the decoder 128 may be simplified because the samples that contribute to the U and the V portions of the YUV signal are previously identified by other blocks in the decoder 100 .
  • the line delay 116 may only store the samples that contribute to the U and V portions.
  • the time base corrector 129 operates responsive to the synchronization measurements made by block 126 .
  • the time base corrector 129 does not operate responsive to feedback from the decoder 100 's output.
  • the time base corrector 129 is adaptive in that it changes its operation depending on the signal conditions. For example, during VCR trick modes, head switches can occur several times per field. With a traditional approach, the picture would have a significant amount of horizontal timing errors. In the digital domain, however, the time base corrector 129 (and, more generally, the decoder 100 ) switches off the IIR filter during this mode, confining the horizontal timing errors to the lines containing the head switch. On the other hand, as the signal to noise ratio decreases, the time constant increases such that other field/frame based noise reduction algorithms may be more effective.
  • time base corrector 129 we describe an embodiment of the time base corrector 129 in co-pending patent application titled Method And Apparatus For Correction Of Time Base Errors, filed Apr. 27, 2004, and commonly assigned to Pixelworks, Inc. We incorporate this application by reference. A person of reasonable skill in the art should recognize other designs for the time base corrector 129 as coming within the scope of the present invention.
  • the AGC block 130 controls automatic gain, contrast, brightness, and saturation.
  • the AGC block 130 operates responsive to a user's contrast and saturation preferences as may be determined by the synchronization block 126 . More specifically; the digital automatic gain control loop is only implemented for the luma signal if an analog gain control circuit in the block 126 has reached the limits of its adjustment range.
  • the contrast value may be multiplied by the ratio of the target synchronization tip amplitude divided by the actual synchronization tip amplitude.
  • the contrast correction value is further multiplied by the ratio of the detected color burst amplitude divided by the actual color burst amplitude.
  • the AGC 130 adjusts for brightness after subtracting the back porch value from the YUV signal.
  • the PAL delay line 131 corrects for Hanover Bar artifacts in PAL signals. Similar to the line delay 116 , the PAL delay line 131 stores samples in the active portion of the image.
  • the block 131 may additionally vertically interpolate SECAM signals. This works by noting that the delay line 116 has already previously delayed the SECAM signal by one line in the luma domain and either one or no lines in the chroma domain.
  • the block 131 delays the chroma line by one resulting in either an input sample that has already been delayed by one line or the average of an (un-delayed) input sample and corresponding line delay output.
  • the decoder 100 does not comprise feedback loops.
  • the decoder 1100 ( FIG. 11 ), on the other hand, comprises a feedback loop around the input horizontal scalar 410 .
  • the color burst measurements and FM demodulator could process the data at the input data rate right after the anti-alias filters 106 and 107 .
  • the backend TBC 129 may replace the feedback loop.
  • an embodiment without a feedback loop around the input scalars may complicate the filter design and require a higher data processing rate (about 3 ⁇ to 4 ⁇ ).
  • Another embodiment eliminates the input horizontal scalars 110 and 111 , using a line locked demodulator after the comb filter 127 .
  • the detector 100 assumes the detected synchronization position is correct and applies filtering only in the time base corrector 129 . As the noise level increases, so does the time constant of the IIR filter for the start position, to minimize the impact of small errors.
  • Embodiments of the invention have been described using block diagrams. A person of reasonable skill in the art should recognize that particular functional blocks in one diagram may be used in other diagrams. And a person of reasonable skill in the art should recognize that embodiments of the invention may be implemented in hardware, software, and a combination thereof.

Abstract

A digital signal processing based decoder is disclosed. The decoder asynchronously samples video signals. By doing so, the decoder can work in pseudo real-time and without analog interface components improving performance while reducing cost.

Description

1. PRIORITY INFORMATION
This application claims priority from U.S. Provisional Application Nos. 60/472,314; 60/472,312; 60/472,280; and 60/472,311, all filed May 20, 2003, which we incorporate here by reference.
BACKGROUND
1. Field
This invention relates to signal decoding and, more particularly, to a system and method for video signal decoding using digital signal processing (DSP).
2. Related Art
Composite and S-video signal formats dominate home theater interconnect applications. Composite video signals, as the name implies, combine the three basic elements of a video picture (color, brightness, and synchronization signals) into a single composite signal. S-video is often incorrectly referred to as S-VHS since it first came into home use with the introduction of VHS tape format. Professionals prefer the name Y/C video rather than S-video since it is more clearly descriptive of the signal format. S-video signals comprise luminance (Y or luma) signals indicative of the black and white portion of the image (i.e., brightness), chrominance (C or chroma) indicative of the color portion of the image (i.e., hue and saturation), and vertical and horizontal synchronization signals. Manipulation of the composite and S-video signals allows image control. For instance, manipulation of Y and C components may sufficiently produce any image.
A decoder samples the composite and S-video signals using a clock locked to a synchronization signal (line locked decoding) or a color burst frequency. If locked to the color burst frequency, the decoder uses a phase-locked loop (PLL), a voltage controlled crystal oscillator (VCO), or a digitally tuned oscillator (DTO) to sample the composite and S-video signals. The sampling frequency must be controlled in real-time and in a manner that produces a stable clock otherwise the signals will produce an image with banding and other artifacts that adversely affect display quality.
If the input is a composite signal, the sampled signal is then processed through a Y/C separator to produce an S-video signal. A demodulator then demodulates the chroma portion of the S-video signal (original or processed). Typical demodulation techniques, like quadrature amplitude demodulation, multiply the chroma signal by a signal either in phase or 90 degrees out of phase with the color burst, and then filter the result using a low-pass filter. The result is a demodulated UV signal that is ready for color space conversion. Due to the sampling frequency control requirement, however, the above approach is not easily adaptable with common, off-the-shelf, digital signal processors, increasing the decoder's overall cost.
Accordingly, a need remains for an improved SYSTEM and method for video signal decoding using digital signal processing.
BRIEF DRAWING DESCRIPTION
FIG. 1 is a block diagram of a decoder system embodiment.
FIG. 2 is a block diagram of a notch/lowpass filter embodiment in the synchronization measurement block shown in FIG. 1.
FIG. 3 is a block diagram of a bandpass filter embodiment in the synchronization measurement block shown in FIG. 1.
FIG. 4 is a block diagram of FIR filter embodiment,
FIG. 5 is a block diagram of a notch/lowpass filter embodiment.
FIG. 6 is a diagram of a PAL delay line embodiment,
FIG. 7 is a block diagram of a SECAM decoder embodiment.
FIGS. 8 and 9 are graphs of sampling position versus phase error for 4×Fsc and 8×Fsc sampling rates, respectively.
FIG. 10 is a block diagram of a decoder embodiment.
FIG. 11 is a block diagram of a decoder system embodiment.
DETAILED DESCRIPTION
The following description illustrates embodiments of the present invention. Numerous other embodiments are contemplated and the description is intended only to illustrate, and not limit, the present invention.
The present invention relates to a video decoder designed to meet video quality level requirements of up-converting a video signal to computer or high definition television (HDTV) resolutions. By sampling the signal asynchronously, the decoder works in pseudo real-time and without analog interface components. Asynchronous sampling, as used here, comprises a fixed sample clock frequency. Put differently, asynchronous sampling relates to sampling without locking to the video signal, e.g., without locking to the vertical or horizontal synchronization signals of the video signal. The video decoder allows use of previously unacceptable lower precision analog-to-digital converters (ADCs), e.g., 8 bit ADCs, to perform like higher precision ADCs, e.g., 10 bit ADCs. And the video decoder performs substantial signal processing with little or no performance degradation.
The video decoder may use a sample rate a factor, e.g., eight, larger than required for CCIR-601 style decoding. (CCIR stands for Comite Consultatif International des Radio, a predecessor organization to the International Telecommunications Union (ITU), an organization responsible for obtaining international agreement on standards for ratio and television transmission.) The high sample rate allows the decoder to re-use the ADCs used for red/green/blue (RGB) graphics signals and/or high definition television (HDTV) signals. And the high sample rate allows on-chip anti-alias filters that may reject noise or crosstalk generated both on and off chip, increasing compatibility with system-on-chip designs that process RGB, HDTV, and standard definition television (SDTV) signals used by the video decoder.
FIG. 1 is a block diagram of a decoder 100. A composite signal 101 or an S-video analog signal 102 is digitized through an analog-to-digital converter (ADC) 103. A person of reasonable skill in the art should recognize that other types of signals may be provided to the ADC 103, e.g., Sequential Couleur A'Memorie (SECAM), and/or Phase Alternating Line (PAL) signals. A person of reasonable skill in the art should recognize that the composite signal 101 or the S-video signal 102 may be provided through separate or single lines depending on the application. A person of reasonable skill in the art should recognize that the ADC 103 may be one, two, or more separate components depending on the application. The ADC 103 generates a digitized composite signal 104 of varying size, e.g., 8 bits. The ADC 103 likewise generates a digitized S-video signal 105 of varying size, e.g., 8 bits. The ADC 103 may use a fixed or variable frequency sampling clock.
Although the ADC 103 may determine system performance, the signal processing described below is not dependent on ADC type. In an embodiment, the ADC is an 8-bit ADC with a high sample rate, e.g., 108 MHz. A person of reasonable skill in the art should recognize that other ADC bit widths and sample rates are possible with modifications to the decoder 100, including the anti-alias filters 106 and 107. We describe an embodiment of the ADC 103 in co-pending patent application titled System and Method For Improving Performance Of An A/D Converter, filed herewith and commonly assigned to Pixelworks, Inc. We incorporate this application by reference. A person of reasonable skill in the art should recognize other designs for the ADC 103 as coming within the scope of the present invention.
An anti-alias filter 106 filters the digitized composite signal 104. Likewise, an anti-alias filter 107 filters the digitized S-video signal 105. The anti-alias filters 106 and 107 may operate as low pass filters, isolating lower frequency video signals from higher frequency RGB graphics and HDTV signals. By doing so, the anti-alias filters 106 and 107 increase signal to noise ratio and precision. Increasing the ADC sample rate likewise improves precision and reduces noise and crosstalk if the ADC signal to noise ratio remains constant. And the anti-alias filters 106 and 107 include notches in their frequency response to eliminate digital noise from the input source (e.g., from bad digital to analog reconstruction filters), the system (e.g., from ground loops), and from internal switching noise. The overall impact is to significantly reduce the integration problems and costs associated with combining a video decoder with other video and graphics processing functions. We describe an embodiment of the anti alias filters 106 and 107 in co-pending patent application titled System and Method For Improving Performance Of An A/D Converter, filed herewith and commonly assigned to Pixelworks, Inc. We incorporate this application by reference. A person of reasonable skill in the art should recognize other designs for the anti alias filters 106 and 107 as coming within the scope of the present invention.
The decoder 100 comprises a plurality of scalars, e.g., horizontal scalars 110 and 111. The horizontal scalar 110 scales the filtered composite signal 108 and the luma portion of the filtered S-video signal 109. The horizontal scalar 111 scales the chroma portion of the filtered S-video signal 109. A person of reasonable skill in the art should recognize that the scalars 110 and 111 may be implemented using a variety of well-known scaling algorithms and technologies, including using polyphase filters. The decoder 100 requires no specific type of scalar, but the particular type of scalar used will affect the decoder 100's decoding quality. More particularly, the scalars 110 and 111 may affect the decoder 100's amplitude versus phase characteristics at the color sub-carrier frequency. Variations in amplitude versus sampling phase will cause changes in saturation and hue, typically seen as moving diagonal bands in the displayed image. The anti-alias filters 106 and 107 and scalars 110 and 111 may be combined in a single, multi-tap polyphase filter. The design of scalars 110 and 111 is well known to a person of reasonable skill in the art and we will not discuss it in any further detail.
A delay line 116 provides a constant delay regardless of whether the input signal is a composite, S-video, or is in any other signal format. The delay line may be implemented on-chip, e.g., in a static random access memory (SRAM) or off-chip, e.g., using any convenient memory required for other subsystems on the chip or of the decoder 100.
The delay line 116 includes a first delay line 120 comprising a first multiplexer 112 and a first line delay 114. The delay line 116 includes a second delay line 121 comprising a second multiplexer 113 and a second line delay 115. The first multiplexer 112 provides one of the composite signal 118, S-video signal 119, and SECAM signals 120 to the first line delay 114. Likewise, the second multiplexer provides one of the first line delay 114's output, SECAM decoder 125 output, and bandpass filter 123 output to the second line delay 115. To minimize memory requirements, first and second delay lines 120 and 121 may store only the active portions of the corresponding input signals. Since the sampling frequency of the middle line dominates the Y (luma) frequency response of a filter 127, sample rate reduction on the second delay line 121 minimally impacts final performance.
And the decoder 100 may identify the input signal samples that contribute to the U/V color signal to cut the sample rate for the second delay line 121 in half for some formats of input signals, e.g., PAL signals. For S-video signals, the second delay line 121 may use sub-carrier phase information to only store the U/V samples at a sample rate, e.g., 4×Fsc, lower than the sample rate, e.g., 8×Fsc for storing luma. This allows dual use of line delay memory, for the comb filter 127 and for S-video information, equally. The consistent delay simplifies the output control timing of the decoder 100.
The first and second line delays 114 and 115 may be implemented in a single memory, e.g., SRAM, to minimize memory area requirements in an integrated chip implementing the decoder 100.
Because, on average, the line delay 116 requires three operations, the system clock may be greater than three times the 8×Fsc frequency of PAL, or 105 MHz. The sampling frequency of the ADC 103 may satisfy this requirement by running at or higher than 105 MHz. In an embodiment, the ADC 103's sampling frequency is 108 MHz. For composite signals, the three operations are two reads followed by a write. For S-video signals, the three operations are two reads (luma and chroma) followed by a write (luma) and a read (luma) followed by two writes (luma and chroma). This is possible because the line delay 116 stores only the chroma samples demodulated to U/V.[
Synchronization circuit 132 identifies and generates the synchronization signals necessary to appropriately lock on to the input signals, e.g., composite signal 101 or S-video signal 102. The synchronization circuit 132 includes multiplexer 122, bandpass filter 123, notch/lowpass filter 124, SECAM decoder 125, and synchronization measurement circuit 126. The multiplexer 122 provides either the S-video signal 119 or the composite signal 118 to the bandpass filter 123. The multiplexer 122 may operate responsive to control signals not shown in FIG. 1. Any circuit capable of selecting between a plurality of signals may be used for the multiplexer 122. The design of multiplexer 122 is well known to a person of reasonable skill in the art. We will therefore not discuss the multiplexer 122 in any further detail.
The bandpass filter 123 may be centered at the sub-carrier frequency Fsc or at other frequencies. FIG. 4 is a block diagram of the bandpass filter 123. Referring to FIGS. 1 and 4, the bandpass filter 123 filters the buffered signal output from the multiplexer 122. The bandpass filter 123 may include a finite impulse response (FIR) filter 402 for filtering the signal 136 before providing the signal 137 to the synchronization measurement circuit 126. The bandpass filter 123 eliminates any DC offsets from the chroma S-video signal 119. During an active portion of the SECAM picture, the bandpass filter 123 may also include an infinite impulse response (IIR) filter 404 that removes the SECAM encoder bell curve pre-emphasis from the frequency response. A multiplexer 406 selects between the signal output from the IIR filter 404 and the signal output from the FIR filter 402 responsive to a control signal that indicates an active image portion.
The notch/lowpass filter 124 filters the composite signal 118. FIG. 5 is a block diagram of the notch/lowpass filter 124. Referring to FIGS. 1 and 5, the filter 124 may include a notch or bandpass filter 502 to eliminate the color sub-carrier frequency Fsc. The filter 124 may also include a lowpass filter 504 to reject noise. The lowpass filter 504 may, in turn, comprise both a FIR filter and an adaptive IIR filter (not shown separately from the filter 504). The filter 504 may operate responsive to the input signal noise levels to improve performance. As the noise level increases, the adaptive IIR filter 504 lowers its cut-off frequency to provide better noise rejection. When the noise below a predetermined threshold 507, the IIR filter 504 may be switched out of the path by a multiplexer 506. A sync slicer 508 detects a predetermined point of the synchronization signals, e.g., the 50% slice point, embedded in the signals 118 and 119. The detection of a predetermined point of the synchronization signals allows the sampling phase to match the output, preserving the output frequency up to the Nyquist limit. The output of the sync slicer 508 is further filtered by the filter 510 to remove glitches. As the group delay caused by the adaptive IIR filter 504 increases due to increases in noise levels, the delay through the glitch filter 510 decreases maintaining about constant the total signal delay. The bandpass filter 123 and the lowpass/notch filter 124, therefore, improve the decoder 100's accuracy.
Referring to FIGS. 1, 3, and 6, the decoder 100 locks to the color sub-carrier frequency Fsc for amplitude modulated (AM) demodulation and additionally performs the frequency modulated (FM) demodulation for SECAM. For both demodulations, a zero crossing detection circuit 310 (FIG. 3) generates phase and frequency information from the color sub-carrier by calculating zero crossings with sub-pixel accuracy. The method corrects the data then applies a linear interpolation. An exemplary data rate 8× the color sub-carrier frequency Fsc generates a maximum phase error of 0.05 degrees.
The decoder 125 may be implemented in a variety of manners, including using an FM demodulator. The decoder 125 measures the color sub-carrier phase and determines the color sub-carrier frequency Fsc in one instance using the same circuit. This is because the difference between two phase measurements (zero-crossings) equals ½ the period of the signal. The decoder 125 demodulates FM by taking the inverse of this measurement and multiplying by a predetermined constant. The decoder 125 includes equalization filters before and after the demodulator.
And the decoder 125 provides the decoded signal 133 to the delay line 116 to combine the sequential U and V components and to reduce large area flicker with vertical interpolation. Referring to FIG. 6, the UV signal 133 consists of a next line U (or V) 604 and a current line V (or U) 606. The decoder 125 provides the signal 133 to the pal delay line 116, and more particularly, to the second delay line 121. The resulting delayed signal 139 is delayed an additional line resulting in a signal that includes a previous U (or V) line 608 and a current V (or U) line 610. The averager 612 averages the signal 139 with a next line signal 614. The current line 614 has a UV time delay change relative to the luma because of the sequential transmission of the UV signal. That is, the U (or V) 616 remains the current line pixel. By replacing the UV sample that was spatially located on the next line of video with the average pixel from the next and previous lines, the decoder 100 improves color information accuracy.
Because each frame consists of 625 lines for SECAM and the color information transmitted changes on each line, if the current line in the current frame consist of Luma and U data, then the current line on the next frame will consist of Luma and V data. Differences between the interpolated UV data and the current line UV data will result in flicker at, e.g., 25 Hz rate. Because linear interpolation is typically more accurate than pixel replication, the result is a reduction in large area flicker. FIG. 7 is a block diagram of a decoder 125. The decoder 125 includes a limiting circuit 710, a color burst frequency detector 708, and lowpass filters 702, 704, and 712. The decoder 125 input includes the average color burst frequency 703 and the current color sub-carrier frequency Fsc at 705. Two lowpass filters 702 and 704 estimate these decoder required frequency references, one for every other line. The lowpass filter 702 may operate on odd lines while the lowpass filter 704 may operate on even lines. The lowpass filters 702 and 704 may be IIR filters. The filtered signals are multiplexed through the multiplexer 706 that operates responsive to a line select signal 707. The output of the multiplexer 708 is provided to the averager 708. The resulting averaged signal is used on the appropriate lines to create a difference signal 709 between the current frequency for the pixel and the average value. The difference signal 709 is provided to a limiter 710 for limiting to the appropriate range of, e.g., SECAM frequencies. A third lowpass filter 712 filters the signal from the limiter 710 to undo the SECAM per-emphasis used at the time of encoding.
The synchronization block 126 receives the signals output from the filters 123 and 124 and generates control signals 134 that it provides to the time base corrector 129. The synchronization block 126 provides data signals 135 to the decoder 125. The synchronization block 126 includes at least two processing blocks. The first processing block 202 (FIG. 2) is for processing the luma signals while the second processing block 302 (FIG. 3) is for processing chroma signals. The timing for the chroma signal block 202 is determined by the detection of the synchronization signals in the luma block 302.
The synchronization block 126 first detects the horizontal and vertical synchronization signals, determines the video standard, locks to the color sub-carrier, and decodes the color information. Before locking onto the synchronization signals, the signal may need heavy filtering to reject noise, e.g., an IIR filter. Too much filtering, however, degrades the performance of the time base corrector 129. To avoid performance degradation, the synchronization block 126 uses an adaptive approach that changes responsive to the signal input.
FIG. 2 is a block diagram of the luma processing block 202. Referring to FIG. 2, the luma processing block 202 comprises a sync slicer 210, horizontal synchronization detector 220, vertical synchronization detector 230, and macrovision detector 240. To prevent initial lock-on problems, the sync slicer 210 averages the back porch level and the sync tip level. The raw slice output captures the luma values just before and after the 50% slice point, allowing sub-pixel resolution (that is, resolution to a pixel fraction). Before the output is provided to the horizontal synchronization detector 220 and the vertical synchronization detector 230, however, an up/down counter (not shown) filters the signal. The up/down counter stops at zero and a predetermined maximum count determined by the IIR filter 404 in the filter 123, keeping a constant delay notwithstanding the IIR filter choice. This insures rejection of the low frequency undershoots typical of, e.g., video cassette recorders (VCRs), while still maintaining sub-pixel accuracy.
The horizontal synchronization detector 220 detects the horizontal synchronization signal to an expected window or range, thus ignoring vertical synchronization signals and macrovision pulses. If the horizontal synchronization detector 220 does not detect the horizontal synchronization signal over several lines, it extends the range or window to look for synchronization signals that are of appropriate width. The detector 220 determines the start and stop point of the window by the average width for the first synchronization signal detected on each line. If the detector 220 still does not find any horizontal synchronization signal after several more lines, then it will use any synchronization signal to determine the new start point.
When the horizontal synchronization detector 220 detects a predetermined level of random line length variation, it performs time base correction (TBC). With TBC, timing based on the falling edge of the horizontal synchronization signal is more likely correct. Excessive random variation therefore compels using expected, instead of detected, synchronization position. On a next line, the detector 220 adjusts expected synchronization position based on current sync position detection accuracy, namely, if too soon or too late. Since restricting line length variations to pixel accuracy would cause problems with VCRs, additional logic distinguishes between random and VCR caused line length variations.
The vertical synchronization detector 230 detects the vertical synchronization signal using additional filtering on the output from the sync slicer 210. Similar to the sync slicer 210's filter, the vertical synchronization detector 230 comprises an up/down counter (not shown separately from the vertical synchronization processing block 230), with the maximum count equal to ¼ the expected line length in an embodiment. The detector 230 detects the field using one of at least two techniques. In the first more traditional technique, the detector 230 may detect the phase of the vertical synchronization pulse relative to the phase of the horizontal synchronization pulse. In the second, more modern approach, the detector 230 may detect the delay between the last equalization pulse and the first horizontal synchronization signal in the field. The second approach provides better field detection and alignment during VCR trick modes, e.g., fast forward, reverse, and pause than the first approach because it does not rely on the vertical synchronization phase that has been replaced by the VCR.
Macrovision detector 240 may not detect automatic gain control (AGC) pulses directly. Instead, the macrovision detector 240 detects the pseudo synchronization pulses that are associated with the AGC pulses. In an embodiment, the same circuitry that distinguishes between equalization pulses and horizontal synchronization signals or pulses, counts potential equalization pulses on each line. These counts determine and flag the presence of macrovision encoding.
FIG. 3 is a block diagram of the chroma processing block 302. Referring to FIG. 3, the chroma processing block 302 comprises a zero crossing detector 310, a period and frequency determination block 320, a color burst block 330, macrovision detector 340, and input resampling block 350. The zero crossing block 310 and the period and frequency determination block 320 determine the phase and frequency of the color sub-carrier signal. The color burst block 330 may gather statistics (e.g., counts) about the color subcarrier during the color burst and from line to line. The color burst block 330 provides the statistics to the macrovision detector 340 for detection of macrovision signals indicating copyright protection. And the color burst block 330 provides the statistics to control the input resampling block 320 (e.g., a horizontal scalar). Macrovision encoding is well known to a person of reasonable skill in the art.
The zero crossing detector 310 may calculate the zero crossing using a linear interpolation algorithm that has a simple correction built in to compensate for the non-linear nature of the color sub-carrier. In an embodiment, the zero crossing detector 310 adds a predetermined percentage of an average of two samples on either side of zero to the larger of the two values before calculating the zero crossing. The predetermined percentage may be found through simulation to minimize the worst case error. The zero crossing detector 310 substantially reduces the error in estimating the zero crossing, particularly at the 8×Fsc rate, allowing it to be used as FM demodulator for a SECAM input signal.
FIGS. 8 and 9 are graphs of sampling position relative to phase error for 4×Fsc and 8×Fsc sampling rates, respectively. FIGS. 8 and 9 show the impact signal adjustment for signals sampled at 4×Fsc and 8×Fsc, respectively. In both cases, the error in the estimated location of the zero crossing is reduced by almost a factor of 10 by adjusting the signal before linear interpolation. The error is small enough at the 8×Fsc rate to allow the circuit to be used as a SECAM FM demodulator as we mentioned above.
Returning to FIGS. 1 and 3, the phase and period detection block 320 takes the fractional phase calculated by the zero crossing block 310 and adds the integer phase value such that it can represent a full error range, e.g., a −180 to +180 degree error. The integer phase value is the output of a counter in which the least significant bit (LSB) represents the phase between the pixels. For PAL signals, the block 320 adds +/−45 degrees to remove swinging burst. Swinging burst is a PAL video term that refers to the situation where the color burst phase swings between +45 to −45 and back on alternate lines of video. It is the detection of this swinging burst that identifies the signal as a PAL encoded signal.
PAL stands for Phase Alternating Line, which means that before the UV component is modulated in the encoder, the V portion on every other line is inverted. That is, the phase of the V component is changed 180 degrees on every other line. When you decode the PAL signal you have to undo this phase shift, which means that you have to identify which lines have been shifted by 180 degrees. This is because the electronics available when color was introduced had the tendency to shift the phase of the signal based on its amplitude. Because the hue (or tint) of the signal is based on the phase, this causes the hue to shift between dark and light portions of the scene. This shifting caused NTSC to be referred to as Never Twice the Same Color. Because the phase shift happens after the picture is encoded, the phase shift has different impacts on different lines of video because of the phase shift in the encoder. The error causes a hue shift in opposite directions after decoding when you undo the 180 degrees added to the V signal. If you average the two lines together, then the hue shift will cancel.
The block 320 determines the maximum and minimum values by how fast the samples are relative to the subcarrier. For example, the detection block 320 counts from −4 to +3 for 8×Fsc. Because of the phase's polar coordinate system, the detection block 320 calculates the period by counting the number of samples between zero crossings and then adding the difference of the fractional pulses to that value. Frequency is the inverse of the period. To get true frequency, however, the detection block 320 divides the period into half the expected subcarrier period. Under these conditions, a frequency of one represents a signal equal to the expected subcarrier value.
The color burst block 330 calculates values and provides these values to the macrovision detector 340 and the input resampling control block 350. A person of skill in the art knows well the values calculation involved for AGC and macrovision detection and we will not discuss them in any further detail. Exemplary statistics include color burst amplitude, average color burst phase, average color burst period/frequency, color burst phase reversal, and the number of valid samples within the color burst. To minimize the impact of macrovision color stripes, the decoder 100 may determine color burst phase. Depending on the results, the detector 340 either ignores color burst information or subtracts the phase inversion before using it in the summary statistics. The macrovision detector 340 determines the color burst disturbance, and therefore the level of copy protection support required.
The corrected phase information controls the input horizontal scalar (not shown separately from the input resampling block 350) included in the input resampling block 350, reducing the measured phase error to zero. The input horizontal scalar may be free-running, that is, without start and stop conditions. But the block 350 may only process the active portion of the image, freeing up processing resources and, more particularly, DSP resources for synchronization and color burst measurements.
To provide the demodulation function, the resampling block 350 may use a ratio that is an even multiple of the subcarrier, typically 4×Fsc or 8×Fsc. Given a base (or default) scaling ratio, the block 350 adds two numbers to the scaling ratio. The first forces measured phase errors to zero. The second reduces the measured frequency errors to zero. The block 350 applies the second number to all the samples it processes.
The block 350 applies the phase error (or first number) to a predetermined number of samples. The number of accumulations, however, is based on the number of output samples. The block 350, therefore, multiplies the phase error by the horizontal scaling ratio. The block 350 applies the phase error in one of at least three techniques. The first involves using DSP to multiply and apply the result to an output sample. The second involves using an application specific integrated circuit (ASIC), either integrated with the decoder 100 or external to the decoder 100, that time shares available scalar multipliers. Some scalar multipliers are not in use during the inactive image time. The third possibility is to divide the phase error by a predetermined large number, e.g., 256, followed by a two stage accumulation. During the first stage, the block 350 accumulates the number of clocks between output samples. During the second stage, the block 350 accumulates the result for 256 output samples. The approach yields accuracy sufficient to determine frequency errors. The accuracy may be, e.g., +/−1 of the 256 samples times the horizontal scaling ratio.
Referring to FIG. 1, the decoder 100 includes an adaptive two-dimensional comb filter 127 with variable chroma frequency response. The comb filter 127 may operate over several lines, e.g., 3 lines. The comb filter 127 detects the vertical and horizontal transistions in the chroma signal. The comb filter 127 may switch between bandpass and wideband filters responsive to vertical or horizontal image transitions. The comb filter 127 may use a narrowband comb filter responsive to intermediate image transitions (that is, intermediate to vertical or horizontal transitions).
The comb filter 127 detects vertical transitions by determining if a middle line bandpass filter matches one of the two-line comb filters better than a 3-line comb filter. For example, at the bottom of the color bars, one of the 2-line comb filters will be the same as the middle line bandpass filter while the 3-line comb filter, because it is an average of the two two-line comb filters will not equal either one. The comb filter 127, therefore, will correctly select the bandpass filter.
The comb filter 127 detects horizontal transitions by looking at the relative signal levels of the different chroma filters, after it subtracts the nominal subcarrier (which we will refer to as leakage). The goal of the comb filter 127's adaptive algorithm is to use the filter with the least amount of leakage. When there is a horizontal transition, the narrow band comb filter and band pass filters will see the transition first, causing the comb filter to adaptively select the wide-band comb filter. The comb filter 127 maximizes the chroma frequency response to preserve the image edges. Because the goal is to minimize the amount of leakage, the comb filter 127 will also cause the narrow-band comb filter to be used on diagonal luma edges thereby minimizing the amount of cross-color.
We describe an embodiment of the comb filter 127 in co-pending patent application titled Adaptive Y/C Separator, filed Apr. 27, 2004, and commonly assigned to Pixelworks, Inc. We incorporate this application by reference. A person of reasonable skill in the art should recognize other designs for the comb filter 127 as coming within the scope of the present invention.
The decoder 128 generates a YUV signal from the Y and C signals it receives from the comb filter 127 and the delayed signal output from the first line delay 120. FIG. 10 is a block diagram of a decoder 128. Referring to FIGS. 1 and 10, the decoder 128 includes multipliers 1002 and 1004 and lowpass filters 1006 and 1008. The decoder 128 may have an AM demodulating function that is a +/−1 multiplication in the 4×Fsc case. The decoder 128 may be simplified because the samples that contribute to the U and the V portions of the YUV signal are previously identified by other blocks in the decoder 100. For example, the line delay 116 may only store the samples that contribute to the U and V portions.
The time base corrector 129 operates responsive to the synchronization measurements made by block 126. In an embodiment, the time base corrector 129 does not operate responsive to feedback from the decoder 100's output. The time base corrector 129 is adaptive in that it changes its operation depending on the signal conditions. For example, during VCR trick modes, head switches can occur several times per field. With a traditional approach, the picture would have a significant amount of horizontal timing errors. In the digital domain, however, the time base corrector 129 (and, more generally, the decoder 100) switches off the IIR filter during this mode, confining the horizontal timing errors to the lines containing the head switch. On the other hand, as the signal to noise ratio decreases, the time constant increases such that other field/frame based noise reduction algorithms may be more effective.
We describe an embodiment of the time base corrector 129 in co-pending patent application titled Method And Apparatus For Correction Of Time Base Errors, filed Apr. 27, 2004, and commonly assigned to Pixelworks, Inc. We incorporate this application by reference. A person of reasonable skill in the art should recognize other designs for the time base corrector 129 as coming within the scope of the present invention.
The AGC block 130 controls automatic gain, contrast, brightness, and saturation. The AGC block 130 operates responsive to a user's contrast and saturation preferences as may be determined by the synchronization block 126. More specifically; the digital automatic gain control loop is only implemented for the luma signal if an analog gain control circuit in the block 126 has reached the limits of its adjustment range. At this point, the contrast value may be multiplied by the ratio of the target synchronization tip amplitude divided by the actual synchronization tip amplitude. For the chroma automatic gain control loop, the contrast correction value is further multiplied by the ratio of the detected color burst amplitude divided by the actual color burst amplitude. The AGC 130 adjusts for brightness after subtracting the back porch value from the YUV signal.
The PAL delay line 131 corrects for Hanover Bar artifacts in PAL signals. Similar to the line delay 116, the PAL delay line 131 stores samples in the active portion of the image. The block 131 may additionally vertically interpolate SECAM signals. This works by noting that the delay line 116 has already previously delayed the SECAM signal by one line in the luma domain and either one or no lines in the chroma domain. The block 131 delays the chroma line by one resulting in either an input sample that has already been delayed by one line or the average of an (un-delayed) input sample and corresponding line delay output.
The decoder 100 does not comprise feedback loops. The decoder 1100 (FIG. 11), on the other hand, comprises a feedback loop around the input horizontal scalar 410. For example, the color burst measurements and FM demodulator could process the data at the input data rate right after the anti-alias filters 106 and 107. While feedback simplifies the system design, the backend TBC 129 may replace the feedback loop. However, an embodiment without a feedback loop around the input scalars may complicate the filter design and require a higher data processing rate (about 3× to 4×). Another embodiment eliminates the input horizontal scalars 110 and 111, using a line locked demodulator after the comb filter 127.
For relatively clean video, e.g., VCR and cable, the detector 100 assumes the detected synchronization position is correct and applies filtering only in the time base corrector 129. As the noise level increases, so does the time constant of the IIR filter for the start position, to minimize the impact of small errors.
Embodiments of the invention have been described using block diagrams. A person of reasonable skill in the art should recognize that particular functional blocks in one diagram may be used in other diagrams. And a person of reasonable skill in the art should recognize that embodiments of the invention may be implemented in hardware, software, and a combination thereof.
While this invention has been illustrated with reference to its preferred embodiments, those skilled in the art will understand that various changes in form and details may be made without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (26)

1. A video decoder comprising:
an input line to receive video signals; and
a digital signal processing circuit connected to the input line to asynchronously sample the video signals;
where the digital signal processing circuit includes a delay line to delay the video signals by at least a first delay;
where the delay line comprises:
a first delay line to delay the video signals by the first delay; and
a second delay line to delay the video signals by a second delay;
where the first delay line comprises:
a first multiplexer to select one of the video signals; and
a first line delay to delay a signal output from the first multiplexer; and
where the second delay line comprises:
a second multiplexer to select from a plurality of input signals; and
a second line delay to delay a signal output from the second multiplexer.
2. The video decoder of claim 1 where the digital signal processing circuit does not lock to the video signals.
3. The video decoder of claim 1
where the digital signal processing circuit includes an anti-alias filter to filter the video signals.
4. The video decoder of claim 1
where the digital signal processing circuit includes a horizontal scalar to horizontally scale the video signals.
5. A video decoder comprising:
an input line to receive video signals; and
a digital signal processing circuit connected to the input line to asynchronously sample the video signals;
where the digital signal processing circuit includes a synchronization circuit to generate a synchronization signal; and
where the synchronization circuit comprises:
a first filter to filter at least one of a luma and chroma signals;
a second filter to filter the luma signal;
a decoder to decode a signal output from the first filter; and
a synchronization measurement circuit to generate synchronization signals associated with the signal output from the first filter and a signal output from the second filter.
6. The video decoder of claim 5 where the first filter comprises:
a bandpass filter;
a SECAM filter to filter a SECAM signal; and
a multiplexer to select one of a signal output from the bandpass filter and the SECAM filter.
7. The video decoder of claim 6
where the bandpass filter is a FIR filter; and
where the SECAM filter is an IIR filter.
8. The video decoder of claim 5 where the second filter comprises:
a bandpass filter;
an adaptive lowpass filter that operates responsive to a noise level in the video signals; and
a multiplexer to select one of a signal output from the bandpass filter and the adaptive lowpass filter responsive to a predetermined threshold.
9. The video decoder of claim 8 where the bandpass filter is a FIR filter.
10. The video decoder of claim 5 where the decoder comprises:
a first lowpass filter to filter odd lines;
a second lowpass filter to filter even lines;
a multiplexer to select one of a signal output from the first lowpass filter and the second lowpass filter responsive to a line select signal; and
an averager to average a signal output from the multiplexer with a color burst frequency.
11. The video decoder of claim 5 where the synchronization measurement circuit comprises:
a first processing block to process a luma signal; and
a second processing block to process a chroma signal, the second processing block including a zero crossing detector.
12. The video decoder of claim 11 where the zero crossing detector comprises a linear interpolation circuit.
13. The video decoder of claim 5
where the digital signal processing circuit comprises an adaptive comb filter coupled to a line delay.
14. The video decoder of claim 13 where the digital signal processing circuit comprises a decoder circuit coupled to the adaptive comb filter.
15. The video decoder of claim 14 where the digital signal processing circuit comprises a time base corrector coupled to the decoder circuit.
16. A method comprising:
receiving a video signal;
sampling the video signal asynchronously using a digital signal processor; and
filtering at least one of a luma and a chroma signals using a first filter;
filtering the luma signal using a second filter;
decoding a signal output from the first filter; and
generating synchronization signals associated with the signal output from the first filter and a signal output from the second filter.
17. The method of claim 16 comprising digitally processing the video signal without locking on to the video signal.
18. The method of claim 16 comprising:
horizontally scaling the video signal.
19. The method of claim 16 comprising:
delaying the video signal by at least a first delay.
20. The method of claim 19 where delaying comprises:
first delaying the video signal by the first delay; and
second delaying the video signal by the second delay.
21. The A method of claim 16 comprising:
generating a synchronization signal.
22. The method of claim 21 where generating includes detecting a zero crossing on the video signal using linear interpolation.
23. The method of claim 16 comprising:
adaptively comb filtering the video signal.
24. The method of claim 16 comprising:
decoding the video signal after adaptively comb filtering.
25. The method of claim 16 comprising:
time base correcting after decoding the video signal.
26. The method of claim 16 comprising:
anti-alias filtering the video signal.
US10/851,521 2003-05-20 2004-05-20 System and method for video signal decoding using digital signal processing Active 2025-10-07 US7365796B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US10/851,521 US7365796B1 (en) 2003-05-20 2004-05-20 System and method for video signal decoding using digital signal processing
US11/361,812 US7701512B1 (en) 2003-05-20 2006-02-23 System and method for improved horizontal and vertical sync pulse detection and processing

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
US47231103P 2003-05-20 2003-05-20
US47231403P 2003-05-20 2003-05-20
US47228003P 2003-05-20 2003-05-20
US47231203P 2003-05-20 2003-05-20
US10/851,521 US7365796B1 (en) 2003-05-20 2004-05-20 System and method for video signal decoding using digital signal processing

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US11/361,812 Continuation-In-Part US7701512B1 (en) 2003-05-20 2006-02-23 System and method for improved horizontal and vertical sync pulse detection and processing

Publications (1)

Publication Number Publication Date
US7365796B1 true US7365796B1 (en) 2008-04-29

Family

ID=39321678

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/851,521 Active 2025-10-07 US7365796B1 (en) 2003-05-20 2004-05-20 System and method for video signal decoding using digital signal processing

Country Status (1)

Country Link
US (1) US7365796B1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080068501A1 (en) * 2006-09-06 2008-03-20 Rgb Systems, Inc. Automatic video format identification system
US20090141780A1 (en) * 2007-11-29 2009-06-04 Hrl Laboratories, Llc Down-converter and up-converter for time-encoded signals
US20090322954A1 (en) * 2008-06-27 2009-12-31 Sony Corporation Dynamic selection of 3d comb filter based on motion
US20110249182A1 (en) * 2010-04-13 2011-10-13 Newport Media, Inc. SECAM Line Identification and PAL Switch

Citations (49)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3860952A (en) 1973-07-23 1975-01-14 Cons Video Systems Video time base corrector
US4196445A (en) 1977-10-17 1980-04-01 Sony Corporation Time-base error correction
US4443821A (en) 1980-12-22 1984-04-17 Sony Corporation Digital velocity error compensator
US4641180A (en) 1983-04-04 1987-02-03 Robert Bosch Gmbh Electronic circuit apparatus for separating the luminance and color information of a color television signal
US4675724A (en) 1985-09-27 1987-06-23 Ampex Corporation Video signal phase and frequency correction using a digital off-tape clock generator
US4855815A (en) 1987-09-18 1989-08-08 Kabushiki Kaisha Toshiba Digital composite color video signal separating circuit with vertical correlation weighting function
US5097321A (en) 1989-04-28 1992-03-17 Accom Three dimensional adaptive decoding system and method
US5121207A (en) 1989-10-25 1992-06-09 U.S. Philips Corporation Digital circuit arrangement for processing an analog video signal at a free running system clock
US5121203A (en) 1990-10-19 1992-06-09 Zenith Electronics Corporation HDTV transmission system with reduced NTSC CO-channel interference
US5134467A (en) 1989-12-12 1992-07-28 Goldstar Co., Ltd. Luminance/chromaticity signal separation circuit for composite video signal
US5142377A (en) 1988-04-06 1992-08-25 Pioneer Electronic Corporation Time base correction apparatus
JPH0549375A (en) 1991-04-13 1993-03-02 Teruhiko Hirai Eddy power
US5231478A (en) 1991-12-26 1993-07-27 The Grass Valley Group, Inc. Adaptive control signal generator for an adaptive luminance/chrominance separator
US5260839A (en) 1990-03-22 1993-11-09 Matsushita Electric Industrial Co., Ltd. Time base corrector
US5345276A (en) 1991-11-26 1994-09-06 Gold Star Co., Ltd. Spectrum distribution luminance/color signal separating device
US5355176A (en) 1992-10-13 1994-10-11 Matsushita Electric Industrial Co., Ltd. Luminance/chrominance signal separating apparatus which attenuates chrominance signal based on phase change of chrominance signal
US5359366A (en) 1991-12-27 1994-10-25 Victor Company Of Japan, Ltd. Time base correction apparatus
US5367338A (en) 1992-02-07 1994-11-22 Deutsche Thomson-Brandt Gmbh Method and apparatus for converting the sampling rates of a digital video signal
US5394193A (en) 1990-06-29 1995-02-28 Samsung Electronics Co., Ltd. Pattern-adaptive digital comb filter for separation of a luminance and a color signal
US5418818A (en) * 1992-09-22 1995-05-23 Glenayre Electronics, Inc. Digital signal processor exciter
US5506932A (en) * 1993-04-16 1996-04-09 Data Translation, Inc. Synchronizing digital audio to digital video
US5525984A (en) 1993-08-06 1996-06-11 Adc Telecommunications, Inc. Optimization of weighted signal-to-noise ratio for a digital video encoder
US5526129A (en) 1990-11-19 1996-06-11 Samsung Electronics Co., Ltd. Time-base-correction in video recording using a frequency-modulated carrier
US5600379A (en) * 1994-10-13 1997-02-04 Yves C. Faroudia Television digital signal processing apparatus employing time-base correction
US5686972A (en) 1994-06-18 1997-11-11 Samsung Electronics Co., Ltd. Circuit for adaptively separating luminance and color signals based on expended vertical and horizontal correlations and method therefor
US5710729A (en) 1994-06-30 1998-01-20 Sgs-Thomson Microelectronics, S.R.L. Filtering method and digital over sampler filter with a finite impulse response having a simplified control unit
US5909255A (en) 1996-02-19 1999-06-01 Matsushita Electric Industrial Co., Ltd. Y/C separation apparatus
US5940138A (en) 1992-08-04 1999-08-17 J. Carl Cooper Analog signal process with dither pattern
US5953071A (en) 1996-06-06 1999-09-14 U.S. Philips Corporation Recovering horizontal synchronization
US5963268A (en) * 1994-09-30 1999-10-05 Samsung Electronics Co., Ltd. Semi-wide view display method and device using the same
US5990978A (en) 1996-03-23 1999-11-23 Lg Electronics Inc. Luminance/chrominance signal separating device
US6052748A (en) * 1997-03-18 2000-04-18 Edwin A. Suominen Analog reconstruction of asynchronously sampled signals from a digital signal processor
US6173003B1 (en) 1998-03-26 2001-01-09 Visteon Global Technologies, Inc. Dither noise source with notched frequency spectrum
US6175389B1 (en) 1999-02-04 2001-01-16 Conexant Systems, Inc. Comb filtered signal separation
US6208671B1 (en) * 1998-01-20 2001-03-27 Cirrus Logic, Inc. Asynchronous sample rate converter
US6297849B1 (en) 1997-12-22 2001-10-02 U.S. Philips Corporation Output timebase corrector
US6300985B1 (en) 1999-03-12 2001-10-09 Fortel Dtv Composite video decoder for providing a high quality serial digital output
US6462790B1 (en) 1999-03-12 2002-10-08 Fortel Dtv, Inc. Digital comb filter for decoding composite video signals
US6581164B1 (en) * 2000-01-03 2003-06-17 Conexant Systems, Inc. System for adjusting clock frequency based upon amount of unread data stored in sequential memory when reading a new line of data within a field of data
US6614474B1 (en) 1998-08-27 2003-09-02 Polycom, Inc. Electronic pan tilt zoom video camera with adaptive edge sharpening filter
JP3449501B2 (en) 1994-08-10 2003-09-22 信越ポリマー株式会社 Method of manufacturing conductive resin plate
US6714717B1 (en) 1999-03-12 2004-03-30 Fortel Dtv Time base corrector
US6744472B1 (en) 1998-11-09 2004-06-01 Broadcom Corporation Graphics display system with video synchronization feature
US6774954B1 (en) 2001-06-28 2004-08-10 Ndsp Corporation Apparatus and method for adaptive three dimensional television Y/C separation comb filter bank
US6795001B2 (en) 2001-08-03 2004-09-21 Koninklijke Philips Electronics N.V. Analog FIR-filter with Σ Δ modulator and delay line
US6795126B1 (en) 2001-12-14 2004-09-21 Ndsp Corporation Method and system for adaptive three-dimensional color television Y/C separation comb filter design
US6804697B2 (en) 2000-07-24 2004-10-12 Texas Instruments Incorporated Circuit for precise measurement of the average value of the outputs of multiple circuit unit elements
US6956620B2 (en) 2001-03-12 2005-10-18 Samsung Electronics Co., Ltd. Apparatus for separating a luminance signal and a chrominance signal from an NTSC composite video signal
US7102692B1 (en) * 1999-10-13 2006-09-05 Thomson Licensing Digital and analog television signal digitization and processing device

Patent Citations (52)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3860952A (en) 1973-07-23 1975-01-14 Cons Video Systems Video time base corrector
US3860952B1 (en) 1973-07-23 1995-01-17 Video Patents Limited Video time base corrector
US3860952B2 (en) 1973-07-23 1996-05-07 Harris Corp Video time base corrector
US4196445A (en) 1977-10-17 1980-04-01 Sony Corporation Time-base error correction
US4443821A (en) 1980-12-22 1984-04-17 Sony Corporation Digital velocity error compensator
US4641180A (en) 1983-04-04 1987-02-03 Robert Bosch Gmbh Electronic circuit apparatus for separating the luminance and color information of a color television signal
US4675724A (en) 1985-09-27 1987-06-23 Ampex Corporation Video signal phase and frequency correction using a digital off-tape clock generator
US4855815A (en) 1987-09-18 1989-08-08 Kabushiki Kaisha Toshiba Digital composite color video signal separating circuit with vertical correlation weighting function
US5142377A (en) 1988-04-06 1992-08-25 Pioneer Electronic Corporation Time base correction apparatus
US5097321A (en) 1989-04-28 1992-03-17 Accom Three dimensional adaptive decoding system and method
US5121207A (en) 1989-10-25 1992-06-09 U.S. Philips Corporation Digital circuit arrangement for processing an analog video signal at a free running system clock
US5134467A (en) 1989-12-12 1992-07-28 Goldstar Co., Ltd. Luminance/chromaticity signal separation circuit for composite video signal
US5260839A (en) 1990-03-22 1993-11-09 Matsushita Electric Industrial Co., Ltd. Time base corrector
US5394193A (en) 1990-06-29 1995-02-28 Samsung Electronics Co., Ltd. Pattern-adaptive digital comb filter for separation of a luminance and a color signal
US5121203A (en) 1990-10-19 1992-06-09 Zenith Electronics Corporation HDTV transmission system with reduced NTSC CO-channel interference
US5526129A (en) 1990-11-19 1996-06-11 Samsung Electronics Co., Ltd. Time-base-correction in video recording using a frequency-modulated carrier
JPH0549375A (en) 1991-04-13 1993-03-02 Teruhiko Hirai Eddy power
US5345276A (en) 1991-11-26 1994-09-06 Gold Star Co., Ltd. Spectrum distribution luminance/color signal separating device
US5231478A (en) 1991-12-26 1993-07-27 The Grass Valley Group, Inc. Adaptive control signal generator for an adaptive luminance/chrominance separator
US5359366A (en) 1991-12-27 1994-10-25 Victor Company Of Japan, Ltd. Time base correction apparatus
US5367338A (en) 1992-02-07 1994-11-22 Deutsche Thomson-Brandt Gmbh Method and apparatus for converting the sampling rates of a digital video signal
US5940138A (en) 1992-08-04 1999-08-17 J. Carl Cooper Analog signal process with dither pattern
US5418818A (en) * 1992-09-22 1995-05-23 Glenayre Electronics, Inc. Digital signal processor exciter
US5355176A (en) 1992-10-13 1994-10-11 Matsushita Electric Industrial Co., Ltd. Luminance/chrominance signal separating apparatus which attenuates chrominance signal based on phase change of chrominance signal
US5506932A (en) * 1993-04-16 1996-04-09 Data Translation, Inc. Synchronizing digital audio to digital video
US5748842A (en) * 1993-04-16 1998-05-05 Media 100 Inc. Synchronizing digital audio to digital video
US5525984A (en) 1993-08-06 1996-06-11 Adc Telecommunications, Inc. Optimization of weighted signal-to-noise ratio for a digital video encoder
US5686972A (en) 1994-06-18 1997-11-11 Samsung Electronics Co., Ltd. Circuit for adaptively separating luminance and color signals based on expended vertical and horizontal correlations and method therefor
US5710729A (en) 1994-06-30 1998-01-20 Sgs-Thomson Microelectronics, S.R.L. Filtering method and digital over sampler filter with a finite impulse response having a simplified control unit
JP3449501B2 (en) 1994-08-10 2003-09-22 信越ポリマー株式会社 Method of manufacturing conductive resin plate
US5963268A (en) * 1994-09-30 1999-10-05 Samsung Electronics Co., Ltd. Semi-wide view display method and device using the same
US5600379A (en) * 1994-10-13 1997-02-04 Yves C. Faroudia Television digital signal processing apparatus employing time-base correction
US5909255A (en) 1996-02-19 1999-06-01 Matsushita Electric Industrial Co., Ltd. Y/C separation apparatus
US5990978A (en) 1996-03-23 1999-11-23 Lg Electronics Inc. Luminance/chrominance signal separating device
US5953071A (en) 1996-06-06 1999-09-14 U.S. Philips Corporation Recovering horizontal synchronization
US6052748A (en) * 1997-03-18 2000-04-18 Edwin A. Suominen Analog reconstruction of asynchronously sampled signals from a digital signal processor
US6297849B1 (en) 1997-12-22 2001-10-02 U.S. Philips Corporation Output timebase corrector
US6208671B1 (en) * 1998-01-20 2001-03-27 Cirrus Logic, Inc. Asynchronous sample rate converter
US6173003B1 (en) 1998-03-26 2001-01-09 Visteon Global Technologies, Inc. Dither noise source with notched frequency spectrum
US6614474B1 (en) 1998-08-27 2003-09-02 Polycom, Inc. Electronic pan tilt zoom video camera with adaptive edge sharpening filter
US6744472B1 (en) 1998-11-09 2004-06-01 Broadcom Corporation Graphics display system with video synchronization feature
US6175389B1 (en) 1999-02-04 2001-01-16 Conexant Systems, Inc. Comb filtered signal separation
US6300985B1 (en) 1999-03-12 2001-10-09 Fortel Dtv Composite video decoder for providing a high quality serial digital output
US6714717B1 (en) 1999-03-12 2004-03-30 Fortel Dtv Time base corrector
US6462790B1 (en) 1999-03-12 2002-10-08 Fortel Dtv, Inc. Digital comb filter for decoding composite video signals
US7102692B1 (en) * 1999-10-13 2006-09-05 Thomson Licensing Digital and analog television signal digitization and processing device
US6581164B1 (en) * 2000-01-03 2003-06-17 Conexant Systems, Inc. System for adjusting clock frequency based upon amount of unread data stored in sequential memory when reading a new line of data within a field of data
US6804697B2 (en) 2000-07-24 2004-10-12 Texas Instruments Incorporated Circuit for precise measurement of the average value of the outputs of multiple circuit unit elements
US6956620B2 (en) 2001-03-12 2005-10-18 Samsung Electronics Co., Ltd. Apparatus for separating a luminance signal and a chrominance signal from an NTSC composite video signal
US6774954B1 (en) 2001-06-28 2004-08-10 Ndsp Corporation Apparatus and method for adaptive three dimensional television Y/C separation comb filter bank
US6795001B2 (en) 2001-08-03 2004-09-21 Koninklijke Philips Electronics N.V. Analog FIR-filter with Σ Δ modulator and delay line
US6795126B1 (en) 2001-12-14 2004-09-21 Ndsp Corporation Method and system for adaptive three-dimensional color television Y/C separation comb filter design

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080068501A1 (en) * 2006-09-06 2008-03-20 Rgb Systems, Inc. Automatic video format identification system
US7796194B2 (en) * 2006-09-06 2010-09-14 Rgb Systems, Inc. Automatic video format identification system
US20110063507A1 (en) * 2006-09-06 2011-03-17 Raymond William Hall Automatic video format identification system
US20090141780A1 (en) * 2007-11-29 2009-06-04 Hrl Laboratories, Llc Down-converter and up-converter for time-encoded signals
US8040265B2 (en) * 2007-11-29 2011-10-18 Hrl Laboratories, Llc Down-converter and up-converter for time-encoded signals
US20090322954A1 (en) * 2008-06-27 2009-12-31 Sony Corporation Dynamic selection of 3d comb filter based on motion
US20110249182A1 (en) * 2010-04-13 2011-10-13 Newport Media, Inc. SECAM Line Identification and PAL Switch
US8212923B2 (en) * 2010-04-13 2012-07-03 Newport Media, Inc. SECAM line identification and PAL switch
TWI394464B (en) * 2010-04-13 2013-04-21 Newport Media Inc Secam line identification and pal switch

Similar Documents

Publication Publication Date Title
US6833875B1 (en) Multi-standard video decoder
US7474357B1 (en) Decoding video signals to separate luma and chroma components
TWI410121B (en) Sub-carrier detection (scd) for motion threshold logic
US7535515B2 (en) Motion detection in video signals
US6278495B1 (en) Digital comb filter for decoding composite video signals
US8548066B2 (en) Multi-directional comb filtering in a digital video decoder
EP0690631B1 (en) Multistandard decoder for video signals and video signal decoding method
EP0190911B1 (en) Adaptive field or frame store processor
CA1310405C (en) Image signal correction circuit and image signal processor using thecircuit
US6462790B1 (en) Digital comb filter for decoding composite video signals
US20130250178A1 (en) Phase motion detector for baseband yc separation
US7701512B1 (en) System and method for improved horizontal and vertical sync pulse detection and processing
US20060262225A1 (en) Systems and methods for correcting color phase error in video systems
US7027102B2 (en) Software decoding of composite video without a phase-locked loop
US4766484A (en) NTSC/PAL switchable video color decoder using a digital comb filter and method
KR930003178B1 (en) Y/c signal processing circuit
US7365796B1 (en) System and method for video signal decoding using digital signal processing
US7167213B1 (en) Comb filter design for separating luminance and chrominance in video signals
US7538823B1 (en) Luminance/chrominance video data separation circuits and methods and video systems utilizing the same
US7327405B1 (en) Systems and methods for improved video comb filtering with dynamic chroma bandwidth control
KR100247456B1 (en) Chrominance noise reduction apparatus employing two dimensional recursive filter of multiplexed baseband color different component
US8107011B2 (en) Method and system for video evaluation in the presence of cross-chroma interference
US6462789B1 (en) Circuit and method for generating chrominance lock
EP0597160A1 (en) Method and apparatus for luminance/chrominance separation
CA2418419A1 (en) A dsp approach to video decoding

Legal Events

Date Code Title Description
STCF Information on status: patent grant

Free format text: PATENTED CASE

AS Assignment

Owner name: PIXELWORKS, INC., OREGON

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:WOODALL, NEIL;REEL/FRAME:021603/0371

Effective date: 20030521

CC Certificate of correction
FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 4

FEPP Fee payment procedure

Free format text: PAT HOLDER CLAIMS SMALL ENTITY STATUS, ENTITY STATUS SET TO SMALL (ORIGINAL EVENT CODE: LTOS); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 8

FEPP Fee payment procedure

Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 12

AS Assignment

Owner name: PIXELWORKS SEMICONDUCTOR TECHNOLOGY COMPANY, LLC, OREGON

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:PIXELWORKS, INC.;REEL/FRAME:055846/0129

Effective date: 20210405

AS Assignment

Owner name: PIXELWORKS SEMICONDUCTOR TECHNOLOGY (SHANGHAI) CO., LTD., CHINA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:PIXELWORKS SEMICONDUCTOR TECHNOLOGY COMPANY, LLC;REEL/FRAME:056895/0695

Effective date: 20210716