Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/encoder/
Dbitstream.c287 static void write_partition_size(unsigned char *cx_data, int size) { in write_partition_size() argument
291 *cx_data = csize; in write_partition_size()
293 *(cx_data + 1) = csize; in write_partition_size()
295 *(cx_data + 2) = csize; in write_partition_size()
298 static void pack_tokens_into_partitions(VP8_COMP *cpi, unsigned char *cx_data, in pack_tokens_into_partitions() argument
302 unsigned char *ptr = cx_data; in pack_tokens_into_partitions()
1068 unsigned char *cx_data = dest; in vp8_pack_bitstream() local
1081 validate_buffer(cx_data, 3, cx_data_end, &cpi->common.error); in vp8_pack_bitstream()
1082 cx_data += 3; in vp8_pack_bitstream()
1094 validate_buffer(cx_data, 7, cx_data_end, &cpi->common.error); in vp8_pack_bitstream()
[all …]
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c79 unsigned char *cx_data; member
641 priv->cx_data = malloc(priv->cx_data_sz); in vp8e_init()
643 if (!priv->cx_data) { in vp8e_init()
679 free(ctx->cx_data); in vp8e_destroy()
838 unsigned char *cx_data; in vp8e_encode() local
873 cx_data = ctx->cx_data; in vp8e_encode()
875 cx_data_end = ctx->cx_data + cx_data_sz; in vp8e_encode()
880 ctx->cpi, &lib_flags, &size, cx_data, cx_data_end, &dst_time_stamp, in vp8e_encode()
938 pkt.data.frame.buf = cx_data; in vp8e_encode()
939 cx_data += cpi->partition_sz[i]; in vp8e_encode()
[all …]
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c97 unsigned char *cx_data; member
926 free(ctx->cx_data); in encoder_destroy()
1106 if (ctx->cx_data == NULL || ctx->cx_data_sz < data_sz) { in encoder_encode()
1108 free(ctx->cx_data); in encoder_encode()
1109 ctx->cx_data = (unsigned char *)malloc(ctx->cx_data_sz); in encoder_encode()
1110 if (ctx->cx_data == NULL) { in encoder_encode()
1153 unsigned char *cx_data; in encoder_encode() local
1170 cx_data = ctx->cx_data; in encoder_encode()
1175 memmove(cx_data, ctx->pending_cx_data, ctx->pending_cx_data_sz); in encoder_encode()
1176 ctx->pending_cx_data = cx_data; in encoder_encode()
[all …]