Home
last modified time | relevance | path

Searched refs:cx_data (Results 1 – 4 of 4) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/
Dbitstream.c280 static void write_partition_size(unsigned char *cx_data, int size) { in write_partition_size() argument
284 *cx_data = csize; in write_partition_size()
286 *(cx_data + 1) = csize; in write_partition_size()
288 *(cx_data + 2) = csize; in write_partition_size()
291 static void pack_tokens_into_partitions(VP8_COMP *cpi, unsigned char *cx_data, in pack_tokens_into_partitions() argument
295 unsigned char *ptr = cx_data; in pack_tokens_into_partitions()
1013 unsigned char *cx_data = dest; in vp8_pack_bitstream() local
1026 validate_buffer(cx_data, 3, cx_data_end, &cpi->common.error); in vp8_pack_bitstream()
1027 cx_data += 3; in vp8_pack_bitstream()
1039 validate_buffer(cx_data, 7, cx_data_end, &cpi->common.error); in vp8_pack_bitstream()
[all …]
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c80 unsigned char *cx_data; member
640 priv->cx_data = malloc(priv->cx_data_sz); in vp8e_init()
642 if (!priv->cx_data) { in vp8e_init()
678 free(ctx->cx_data); in vp8e_destroy()
858 unsigned char *cx_data; in vp8e_encode() local
893 cx_data = ctx->cx_data; in vp8e_encode()
895 cx_data_end = ctx->cx_data + cx_data_sz; in vp8e_encode()
902 ctx->cpi, &lib_flags, &size, cx_data, cx_data_end, &dst_time_stamp, in vp8e_encode()
963 pkt.data.frame.buf = cx_data; in vp8e_encode()
964 cx_data += cpi->partition_sz[i]; in vp8e_encode()
[all …]
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c99 unsigned char *cx_data; member
935 free(ctx->cx_data); in encoder_destroy()
1104 if (ctx->cx_data == NULL || ctx->cx_data_sz < data_sz) { in encoder_encode()
1106 free(ctx->cx_data); in encoder_encode()
1107 ctx->cx_data = (unsigned char *)malloc(ctx->cx_data_sz); in encoder_encode()
1108 if (ctx->cx_data == NULL) { in encoder_encode()
1151 unsigned char *cx_data; in encoder_encode() local
1171 cx_data = ctx->cx_data; in encoder_encode()
1176 memmove(cx_data, ctx->pending_cx_data, ctx->pending_cx_data_sz); in encoder_encode()
1177 ctx->pending_cx_data = cx_data; in encoder_encode()
[all …]
/external/libaom/libaom/av1/
Dav1_cx_iface.c266 unsigned char *cx_data; member
1614 free(ctx->cx_data); in encoder_destroy()
1658 if (ctx->cx_data == NULL || ctx->cx_data_sz < data_sz) { in encoder_encode()
1660 free(ctx->cx_data); in encoder_encode()
1661 ctx->cx_data = (unsigned char *)malloc(ctx->cx_data_sz); in encoder_encode()
1662 if (ctx->cx_data == NULL) { in encoder_encode()
1723 unsigned char *cx_data = ctx->cx_data; in encoder_encode() local
1726 assert(!(cx_data == NULL && cx_data_sz != 0)); in encoder_encode()
1730 memmove(cx_data, ctx->pending_cx_data, ctx->pending_cx_data_sz); in encoder_encode()
1731 ctx->pending_cx_data = cx_data; in encoder_encode()
[all …]