Home
last modified time | relevance | path

Searched refs:cx_data_sz (Results 1 – 2 of 2) sorted by relevance

/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c80 unsigned int cx_data_sz; member
637 priv->cx_data_sz = priv->cfg.g_w * priv->cfg.g_h * 3 / 2 * 2; in vp8e_init()
639 if (priv->cx_data_sz < 32768) priv->cx_data_sz = 32768; in vp8e_init()
641 priv->cx_data = malloc(priv->cx_data_sz); in vp8e_init()
837 size_t size, cx_data_sz; in vp8e_encode() local
874 cx_data_sz = ctx->cx_data_sz; in vp8e_encode()
875 cx_data_end = ctx->cx_data + cx_data_sz; in vp8e_encode()
878 while (cx_data_sz >= ctx->cx_data_sz / 2) { in vp8e_encode()
940 cx_data_sz -= cpi->partition_sz[i]; in vp8e_encode()
956 cx_data_sz -= ctx->cx_data_sz / 2; in vp8e_encode()
[all …]
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c98 size_t cx_data_sz; member
996 if (ctx->pending_cx_data_sz + index_sz < ctx->cx_data_sz) { in write_superframe_index()
1106 if (ctx->cx_data == NULL || ctx->cx_data_sz < data_sz) { in encoder_encode()
1107 ctx->cx_data_sz = data_sz; in encoder_encode()
1109 ctx->cx_data = (unsigned char *)malloc(ctx->cx_data_sz); in encoder_encode()
1152 size_t size, cx_data_sz; in encoder_encode() local
1171 cx_data_sz = ctx->cx_data_sz; in encoder_encode()
1178 cx_data_sz -= ctx->pending_cx_data_sz; in encoder_encode()
1183 if (cx_data_sz < ctx->cx_data_sz / 2) { in encoder_encode()
1190 while (cx_data_sz >= ctx->cx_data_sz / 2 && in encoder_encode()
[all …]