Deblocking filter.
#include "encoderstate.h"
#include "global.h"
Go to the source code of this file.
◆ edge_dir
◆ edge_dir
Enumerator |
---|
EDGE_VER | |
EDGE_HOR | |
◆ kvz_filter_deblock_lcu()
void kvz_filter_deblock_lcu |
( |
encoder_state_t *const | state, |
|
|
int | x_px, |
|
|
int | y_px ) |
Filter the following vertical edges (horizontal filtering):
- The left edge of the LCU.
- All vertical edges within the LCU.
Filter the following horizontal edges (vertical filtering):
- The rightmost 4 pixels of the top edge of the LCU to the left.
- The rightmost 4 pixels of all horizontal edges within the LCU to the left.
- The top edge and all horizontal edges within the LCU, excluding the rightmost 4 pixels. If the LCU is the rightmost LCU of the frame, the last 4 pixels are also filtered.
What is not filtered:
- The rightmost 4 pixels of the top edge and all horizontal edges within the LCU, unless the LCU is the rightmost LCU of the frame.
- The bottom edge of the LCU.
- The right edge of the LCU.
- Parameters
-
state | encoder state |
x_px | x-coordinate of the left edge of the LCU in pixels |
y_px | y-coordinate of the top edge of the LCU in pixels |