Commit 87375e25 authored by Guillaume Martres's avatar Guillaume Martres
Browse files

Rename block_yrd_txfm to block_rd_txfm

This function is also used with the U and V planes.

Change-Id: Ib6beae0438790bfb690b3a2bda9c5c8b0e89a9b8
parent 2d50c849
...@@ -588,8 +588,8 @@ static void rate_block(int plane, int block, BLOCK_SIZE plane_bsize, ...@@ -588,8 +588,8 @@ static void rate_block(int plane, int block, BLOCK_SIZE plane_bsize,
args->scan, args->nb); args->scan, args->nb);
} }
static void block_yrd_txfm(int plane, int block, BLOCK_SIZE plane_bsize, static void block_rd_txfm(int plane, int block, BLOCK_SIZE plane_bsize,
TX_SIZE tx_size, void *arg) { TX_SIZE tx_size, void *arg) {
struct rdcost_block_args *args = arg; struct rdcost_block_args *args = arg;
MACROBLOCK *const x = args->x; MACROBLOCK *const x = args->x;
MACROBLOCKD *const xd = &x->e_mbd; MACROBLOCKD *const xd = &x->e_mbd;
...@@ -698,7 +698,7 @@ static void txfm_rd_in_plane(MACROBLOCK *x, ...@@ -698,7 +698,7 @@ static void txfm_rd_in_plane(MACROBLOCK *x,
rd_stack->nb = so->neighbors; rd_stack->nb = so->neighbors;
foreach_transformed_block_in_plane(xd, bsize, plane, foreach_transformed_block_in_plane(xd, bsize, plane,
block_yrd_txfm, rd_stack); block_rd_txfm, rd_stack);
if (rd_stack->skip) { if (rd_stack->skip) {
*rate = INT_MAX; *rate = INT_MAX;
*distortion = INT64_MAX; *distortion = INT64_MAX;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment