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
681 priv->cx_data_sz = priv->cfg.g_w * priv->cfg.g_h * 3 / 2 * 2; in vp8e_init()
683 if (priv->cx_data_sz < 32768) priv->cx_data_sz = 32768; in vp8e_init()
685 priv->cx_data = malloc(priv->cx_data_sz); in vp8e_init()
905 unsigned long size, cx_data_sz; in vp8e_encode() local
940 cx_data_sz = ctx->cx_data_sz; in vp8e_encode()
941 cx_data_end = ctx->cx_data + cx_data_sz; in vp8e_encode()
944 while (cx_data_sz >= ctx->cx_data_sz / 2) in vp8e_encode()
1015 cx_data_sz -= cpi->partition_sz[i]; in vp8e_encode()
1030 cx_data_sz -= ctx->cx_data_sz / 2; in vp8e_encode()
[all …]
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c89 size_t cx_data_sz; member
898 if (ctx->pending_cx_data_sz + index_sz < ctx->cx_data_sz) { in write_superframe_index()
988 if (ctx->cx_data == NULL || ctx->cx_data_sz < data_sz) { in encoder_encode()
989 ctx->cx_data_sz = data_sz; in encoder_encode()
991 ctx->cx_data = (unsigned char*)malloc(ctx->cx_data_sz); in encoder_encode()
1027 size_t size, cx_data_sz; in encoder_encode() local
1047 cx_data_sz = ctx->cx_data_sz; in encoder_encode()
1054 cx_data_sz -= ctx->pending_cx_data_sz; in encoder_encode()
1059 if (cx_data_sz < ctx->cx_data_sz / 2) { in encoder_encode()
1065 while (cx_data_sz >= ctx->cx_data_sz / 2 && in encoder_encode()
[all …]