Video data processing method and video data detection method
A technology of video data and processing method, which is applied in the field of data transmission, can solve the problem of low error detection rate and achieve the effect of simple operation and high detection rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] Embodiments of the present invention provide a method for processing video data, such as figure 1 As shown, the processing method includes:
[0040] Step S101. Obtain discrete cosine transform coefficients of quantized macroblocks.
[0041] For the compression coding of video data, the first step of compression needs to divide the image into many small blocks, and transform each small block so that it is transformed from a spatial domain signal to a time domain signal. Each small block is a macroblock. This transformation from the space domain to the time domain mostly uses 8*8 discrete cosine transform (Discrete Cosine Transform, DCT for short). After DCT transformation, the 8*8 space domain pixel matrix is transformed into an 8*8 frequency domain signal matrix. The transformation can completely retain the information of all 8*8 pixel blocks, so the Inverse Discrete Cosine Transform (IDCT) can completely restore the original 8*8 pixel matrix from the 8*8 frequency ...
Embodiment 2
[0071] An embodiment of the present invention provides a video data detection method, which is a detection method corresponding to the video data processing method provided in Embodiment 1. Such as Figure 4 As shown, the detection method includes:
[0072] Step S201. Receive video data, perform entropy decoding, and obtain discrete cosine transform coefficients of macroblocks of the video data.
[0073] Step S202, scanning the discrete cosine transform coefficients to obtain a one-dimensional array of AC coefficients related to the discrete cosine transform coefficients.
[0074] Similar to Embodiment 1, the discrete cosine transform coefficients of the macroblocks can also be scanned by using the zigzag scanning method to obtain a one-dimensional array of AC coefficients of the discrete cosine transform coefficients, which will not be repeated here.
[0075] Step S203, obtaining non-zero AC coefficients in the one-dimensional array and their positions in the one-dimensiona...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 