Searched refs:cx_data (Results 1 – 4 of 4) sorted by relevance
/external/libvpx/libvpx/vp8/encoder/ |
D | bitstream.c | 280 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/ |
D | vp8_cx_iface.c | 84 unsigned char *cx_data; member 664 priv->cx_data = malloc(priv->cx_data_sz); in vp8e_init() 666 if (!priv->cx_data) { in vp8e_init() 708 free(ctx->cx_data); in vp8e_destroy() 897 unsigned char *cx_data; in vp8e_encode() local 931 cx_data = ctx->cx_data; in vp8e_encode() 933 cx_data_end = ctx->cx_data + cx_data_sz; in vp8e_encode() 940 ctx->cpi, &lib_flags, &size, cx_data, cx_data_end, &dst_time_stamp, in vp8e_encode() 1003 pkt.data.frame.buf = cx_data; in vp8e_encode() 1004 cx_data += cpi->partition_sz[i]; in vp8e_encode() [all …]
|
/external/libvpx/libvpx/vp9/ |
D | vp9_cx_iface.c | 108 unsigned char *cx_data; member 954 free(ctx->cx_data); in encoder_destroy() 1128 if (ctx->cx_data == NULL || ctx->cx_data_sz < data_sz) { in encoder_encode() 1130 free(ctx->cx_data); in encoder_encode() 1131 ctx->cx_data = (unsigned char *)malloc(ctx->cx_data_sz); in encoder_encode() 1132 if (ctx->cx_data == NULL) { in encoder_encode() 1181 unsigned char *cx_data; in encoder_encode() local 1201 cx_data = ctx->cx_data; in encoder_encode() 1206 memmove(cx_data, ctx->pending_cx_data, ctx->pending_cx_data_sz); in encoder_encode() 1207 ctx->pending_cx_data = cx_data; in encoder_encode() [all …]
|
/external/libaom/libaom/av1/ |
D | av1_cx_iface.c | 288 unsigned char *cx_data; member 1961 free(ctx->cx_data); in encoder_destroy() 2017 if (ctx->cx_data == NULL || ctx->cx_data_sz < data_sz) { in encoder_encode() 2019 free(ctx->cx_data); in encoder_encode() 2020 ctx->cx_data = (unsigned char *)malloc(ctx->cx_data_sz); in encoder_encode() 2021 if (ctx->cx_data == NULL) { in encoder_encode() 2128 unsigned char *cx_data = ctx->cx_data; in encoder_encode() local 2131 assert(!(cx_data == NULL && cx_data_sz != 0)); in encoder_encode() 2135 memmove(cx_data, ctx->pending_cx_data, ctx->pending_cx_data_sz); in encoder_encode() 2136 ctx->pending_cx_data = cx_data; in encoder_encode() [all …]
|