/hardware/intel/common/libmix/videoencoder/ |
D | bitstream.h | 41 static void bitstream_start(bitstream *bs) in bitstream_start() argument 43 bs->max_size_in_dword = BITSTREAM_ALLOCATE_STEPPING; in bitstream_start() 44 bs->buffer = (unsigned int*)calloc(bs->max_size_in_dword * sizeof(int), 1); in bitstream_start() 45 bs->bit_offset = 0; in bitstream_start() 48 static void bitstream_end(bitstream *bs) in bitstream_end() argument 50 int pos = (bs->bit_offset >> 5); in bitstream_end() 51 int bit_offset = (bs->bit_offset & 0x1f); in bitstream_end() 55 bs->buffer[pos] = va_swap32((bs->buffer[pos] << bit_left)); in bitstream_end() 59 static void bitstream_put_ui(bitstream *bs, unsigned int val, int size_in_bits) in bitstream_put_ui() argument 61 int pos = (bs->bit_offset >> 5); in bitstream_put_ui() [all …]
|
/hardware/intel/common/libva/test/encode/ |
D | avcenc.c | 766 bitstream_start(bitstream *bs) in bitstream_start() argument 768 bs->max_size_in_dword = BITSTREAM_ALLOCATE_STEPPING; in bitstream_start() 769 bs->buffer = calloc(bs->max_size_in_dword * sizeof(int), 1); in bitstream_start() 770 bs->bit_offset = 0; in bitstream_start() 774 bitstream_end(bitstream *bs) in bitstream_end() argument 776 int pos = (bs->bit_offset >> 5); in bitstream_end() 777 int bit_offset = (bs->bit_offset & 0x1f); in bitstream_end() 781 bs->buffer[pos] = va_swap32((bs->buffer[pos] << bit_left)); in bitstream_end() 786 bitstream_put_ui(bitstream *bs, unsigned int val, int size_in_bits) in bitstream_put_ui() argument 788 int pos = (bs->bit_offset >> 5); in bitstream_put_ui() [all …]
|
D | mpeg2vaenc.c | 175 bitstream_start(bitstream *bs) in bitstream_start() argument 177 bs->max_size_in_dword = BITSTREAM_ALLOCATE_STEPPING; in bitstream_start() 178 bs->buffer = calloc(bs->max_size_in_dword * sizeof(int), 1); in bitstream_start() 179 bs->bit_offset = 0; in bitstream_start() 183 bitstream_end(bitstream *bs) in bitstream_end() argument 185 int pos = (bs->bit_offset >> 5); in bitstream_end() 186 int bit_offset = (bs->bit_offset & 0x1f); in bitstream_end() 190 bs->buffer[pos] = swap32((bs->buffer[pos] << bit_left)); in bitstream_end() 195 bitstream_put_ui(bitstream *bs, unsigned int val, int size_in_bits) in bitstream_put_ui() argument 197 int pos = (bs->bit_offset >> 5); in bitstream_put_ui() [all …]
|
D | mpeg2enc.c | 175 bitstream_start(bitstream *bs) in bitstream_start() argument 177 bs->max_size_in_dword = BITSTREAM_ALLOCATE_STEPPING; in bitstream_start() 178 bs->buffer = calloc(bs->max_size_in_dword * sizeof(int), 1); in bitstream_start() 179 bs->bit_offset = 0; in bitstream_start() 183 bitstream_end(bitstream *bs) in bitstream_end() argument 185 int pos = (bs->bit_offset >> 5); in bitstream_end() 186 int bit_offset = (bs->bit_offset & 0x1f); in bitstream_end() 190 bs->buffer[pos] = swap32((bs->buffer[pos] << bit_left)); in bitstream_end() 195 bitstream_put_ui(bitstream *bs, unsigned int val, int size_in_bits) in bitstream_put_ui() argument 197 int pos = (bs->bit_offset >> 5); in bitstream_put_ui() [all …]
|
D | h264encode.c | 184 bitstream_start(bitstream *bs) in bitstream_start() argument 186 bs->max_size_in_dword = BITSTREAM_ALLOCATE_STEPPING; in bitstream_start() 187 bs->buffer = calloc(bs->max_size_in_dword * sizeof(int), 1); in bitstream_start() 188 bs->bit_offset = 0; in bitstream_start() 192 bitstream_end(bitstream *bs) in bitstream_end() argument 194 int pos = (bs->bit_offset >> 5); in bitstream_end() 195 int bit_offset = (bs->bit_offset & 0x1f); in bitstream_end() 199 bs->buffer[pos] = va_swap32((bs->buffer[pos] << bit_left)); in bitstream_end() 204 bitstream_put_ui(bitstream *bs, unsigned int val, int size_in_bits) in bitstream_put_ui() argument 206 int pos = (bs->bit_offset >> 5); in bitstream_put_ui() [all …]
|
/hardware/intel/common/libva/test/transcode/ |
D | mpeg2transcode.cpp | 2473 bitstream_start(bitstream *bs) in bitstream_start() argument 2475 bs->max_size_in_dword = BITSTREAM_ALLOCATE_STEPPING; in bitstream_start() 2476 bs->buffer = (unsigned int *)calloc(bs->max_size_in_dword * sizeof(int), 1); in bitstream_start() 2477 bs->bit_offset = 0; in bitstream_start() 2481 bitstream_end(bitstream *bs) in bitstream_end() argument 2483 int pos = (bs->bit_offset >> 5); in bitstream_end() 2484 int bit_offset = (bs->bit_offset & 0x1f); in bitstream_end() 2488 bs->buffer[pos] = swap32((bs->buffer[pos] << bit_left)); in bitstream_end() 2493 bitstream_put_ui(bitstream *bs, unsigned int val, int size_in_bits) in bitstream_put_ui() argument 2495 int pos = (bs->bit_offset >> 5); in bitstream_put_ui() [all …]
|
/hardware/intel/common/libva/va/ |
D | va_enc.h | 82 VAEncBitstream *bs, 135 va_enc_bitstream_destroy(VAEncBitstream *bs); 149 va_enc_bitstream_write_ui(VAEncBitstream *bs, unsigned int value, int length); 163 va_enc_bitstream_write_si(VAEncBitstream *bs, int value, int length); 168 va_enc_bitstream_skip(VAEncBitstream *bs, unsigned int length); 182 va_enc_bitstream_align(VAEncBitstream *bs, unsigned int value); 197 va_enc_bitstream_flush(VAEncBitstream *bs);
|
D | va_enc_h264.h | 747 va_enc_bitstream_h264_destroy(VAEncBitstream *bs); 760 va_enc_bitstream_h264_write_ue(VAEncBitstream *bs, unsigned int value); 773 va_enc_bitstream_h264_write_se(VAEncBitstream *bs, int value); 782 va_enc_bitstream_h264_write_trailing_bits(VAEncBitstream *bs);
|
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/ |
D | ThermalManager.java | 337 for (int bs : mZoneToCoolDevBucketSize) { in printMappedAttributes() 338 s.append(bs); in printMappedAttributes() 344 for (int bs : mCoolDevToThrottBucketSize) { in printMappedAttributes() 345 s.append(bs); in printMappedAttributes()
|
/hardware/intel/bootstub/ |
D | bootstub.mk | 59 $(hide) cat $< /dev/zero | dd bs=$(BOOTSTUB_SIZE) count=1 > $@
|