Lines Matching refs:cx_data

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()
1042 cx_data[0] = 0x9D; in vp8_pack_bitstream()
1043 cx_data[1] = 0x01; in vp8_pack_bitstream()
1044 cx_data[2] = 0x2a; in vp8_pack_bitstream()
1053 cx_data[3] = v & 0xff; in vp8_pack_bitstream()
1054 cx_data[4] = v >> 8; in vp8_pack_bitstream()
1057 cx_data[5] = v & 0xff; in vp8_pack_bitstream()
1058 cx_data[6] = v >> 8; in vp8_pack_bitstream()
1061 cx_data += extra_bytes_packed; in vp8_pack_bitstream()
1063 vp8_start_encode(bc, cx_data, cx_data_end); in vp8_pack_bitstream()
1070 vp8_start_encode(bc, cx_data, cx_data_end); in vp8_pack_bitstream()
1265 cx_data += bc->pos; in vp8_pack_bitstream()
1343 validate_buffer(cx_data, 3 * (num_part - 1), cx_data_end, &pc->error); in vp8_pack_bitstream()
1349 pack_tokens_into_partitions(cpi, cx_data + 3 * (num_part - 1), cx_data_end, in vp8_pack_bitstream()
1354 write_partition_size(cx_data, cpi->partition_sz[i]); in vp8_pack_bitstream()
1355 cx_data += 3; in vp8_pack_bitstream()
1365 vp8_start_encode(&cpi->bc[1], cx_data, cx_data_end); in vp8_pack_bitstream()