Searched refs:bs (Results 1 - 20 of 20) sorted by relevance

/hardware/intel/common/libmix/videoencoder/
H A Dbitstream.h41 static void bitstream_start(bitstream *bs) argument
43 bs->max_size_in_dword = BITSTREAM_ALLOCATE_STEPPING;
44 bs->buffer = (unsigned int*)calloc(bs->max_size_in_dword * sizeof(int), 1);
45 bs->bit_offset = 0;
48 static void bitstream_end(bitstream *bs) argument
50 int pos = (bs->bit_offset >> 5);
51 int bit_offset = (bs->bit_offset & 0x1f);
55 bs->buffer[pos] = va_swap32((bs
59 bitstream_put_ui(bitstream *bs, unsigned int val, int size_in_bits) argument
88 bitstream_put_ue(bitstream *bs, unsigned int val) argument
102 bitstream_put_se(bitstream *bs, int val) argument
114 bitstream_byte_aligning(bitstream *bs, int bit) argument
133 rbsp_trailing_bits(bitstream *bs) argument
139 nal_start_code_prefix(bitstream *bs) argument
144 nal_header(bitstream *bs, int nal_ref_idc, int nal_unit_type) argument
173 sps_rbsp(bitstream *bs, VAProfile profile, int frame_bit_rate, VAEncSequenceParameterBufferH264 *seq_param) argument
277 pps_rbsp(bitstream *bs, VAEncPictureParameterBufferH264 *pic_param) argument
313 bitstream bs; local
327 bitstream bs; local
[all...]
/hardware/intel/common/libva/va/
H A Dva_enc.h82 VAEncBitstream *bs,
132 * @param[in] bs the bitstream writer to destroy
135 va_enc_bitstream_destroy(VAEncBitstream *bs);
143 * @param[in] bs the bitstream writer
149 va_enc_bitstream_write_ui(VAEncBitstream *bs, unsigned int value, int length);
157 * @param[in] bs the bitstream writer
163 va_enc_bitstream_write_si(VAEncBitstream *bs, int value, int length);
168 va_enc_bitstream_skip(VAEncBitstream *bs, unsigned int length);
177 * @param[in] bs the bitstream writer
182 va_enc_bitstream_align(VAEncBitstream *bs, unsigne
[all...]
H A Dva_enc_h264.h744 * @param[in] bs the bitstream writer to destroy
747 va_enc_bitstream_h264_destroy(VAEncBitstream *bs);
755 * @param[in] bs the bitstream writer
760 va_enc_bitstream_h264_write_ue(VAEncBitstream *bs, unsigned int value);
768 * @param[in] bs the bitstream writer
773 va_enc_bitstream_h264_write_se(VAEncBitstream *bs, int value);
778 * @param[in] bs the bitstream writer
782 va_enc_bitstream_h264_write_trailing_bits(VAEncBitstream *bs);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
H A Dvp9_reconintra.c48 static INLINE void d207_predictor(uint8_t *dst, ptrdiff_t stride, int bs, argument
53 for (r = 0; r < bs - 1; ++r)
55 dst[(bs - 1) * stride] = left[bs - 1];
59 for (r = 0; r < bs - 2; ++r)
62 dst[(bs - 2) * stride] = ROUND_POWER_OF_TWO(left[bs - 2] +
63 left[bs - 1] * 3, 2);
64 dst[(bs - 1) * stride] = left[bs
77 d63_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
93 d45_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
108 d117_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
137 d135_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
158 d153_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
185 v_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
196 h_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
207 tm_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
220 dc_128_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
232 dc_left_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
248 dc_top_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
263 dc_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
325 const int bs = 4 << tx_size; local
[all...]
H A Dvp9_onyxc_int.h307 const int bs = num_8x8_blocks_wide_lookup[bsize];
312 vpx_memset(above_ctx, partition_context_lookup[subsize].above, bs);
313 vpx_memset(left_ctx, partition_context_lookup[subsize].left, bs);
323 const int bs = 1 << bsl;
329 for (i = 0; i < bs; i++) {
333 above = (above & bs) > 0;
334 left = (left & bs) > 0;
H A Dvp9_blockd.h291 BLOCK_SIZE bs = ss_size_lookup[bsize][pd->subsampling_x][pd->subsampling_y];
292 assert(bs < BLOCK_SIZES);
293 return bs;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/memory_manager/
H A Dhmm_shrink.c40 U(size_bau) bs = BLOCK_BAUS(last_block);
49 (PREV_BLOCK_BAUS(last_block) && (n_baus_to_shrink == bs)) ||
50 (n_baus_to_shrink <= (U(size_bau))(bs - MIN_BLOCK_BAUS));
55 (U(size_bau))(bs + DUMMY_END_BLOCK_BAUS)))) {
59 bs -= n_baus_to_shrink;
61 if (bs) {
65 last_block->block_size = bs;
70 (head_record *) BAUS_FORWARD(last_block, bs);
71 dummy_end_block->previous_block_size = bs;
/hardware/intel/common/libva/test/encode/
H A Davcenc.c766 bitstream_start(bitstream *bs) argument
768 bs->max_size_in_dword = BITSTREAM_ALLOCATE_STEPPING;
769 bs->buffer = calloc(bs->max_size_in_dword * sizeof(int), 1);
770 bs->bit_offset = 0;
774 bitstream_end(bitstream *bs) argument
776 int pos = (bs->bit_offset >> 5);
777 int bit_offset = (bs->bit_offset & 0x1f);
781 bs->buffer[pos] = va_swap32((bs
786 bitstream_put_ui(bitstream *bs, unsigned int val, int size_in_bits) argument
814 bitstream_put_ue(bitstream *bs, unsigned int val) argument
829 bitstream_put_se(bitstream *bs, int val) argument
842 bitstream_byte_aligning(bitstream *bs, int bit) argument
862 rbsp_trailing_bits(bitstream *bs) argument
868 nal_start_code_prefix(bitstream *bs) argument
873 nal_header(bitstream *bs, int nal_ref_idc, int nal_unit_type) argument
880 sps_rbsp(bitstream *bs) argument
990 pps_rbsp(bitstream *bs) argument
1048 bitstream bs; local
1063 bitstream bs; local
[all...]
H A Dmpeg2enc.c175 bitstream_start(bitstream *bs) argument
177 bs->max_size_in_dword = BITSTREAM_ALLOCATE_STEPPING;
178 bs->buffer = calloc(bs->max_size_in_dword * sizeof(int), 1);
179 bs->bit_offset = 0;
183 bitstream_end(bitstream *bs) argument
185 int pos = (bs->bit_offset >> 5);
186 int bit_offset = (bs->bit_offset & 0x1f);
190 bs->buffer[pos] = swap32((bs
195 bitstream_put_ui(bitstream *bs, unsigned int val, int size_in_bits) argument
226 bitstream_byte_aligning(bitstream *bs, int bit) argument
280 sps_rbsp(struct mpeg2enc_context *ctx, const VAEncSequenceParameterBufferMPEG2 *seq_param, bitstream *bs) argument
329 pps_rbsp(const VAEncSequenceParameterBufferMPEG2 *seq_param, const VAEncPictureParameterBufferMPEG2 *pic_param, bitstream *bs) argument
391 bitstream bs; local
406 bitstream bs; local
[all...]
H A Dmpeg2vaenc.c175 bitstream_start(bitstream *bs) argument
177 bs->max_size_in_dword = BITSTREAM_ALLOCATE_STEPPING;
178 bs->buffer = calloc(bs->max_size_in_dword * sizeof(int), 1);
179 bs->bit_offset = 0;
183 bitstream_end(bitstream *bs) argument
185 int pos = (bs->bit_offset >> 5);
186 int bit_offset = (bs->bit_offset & 0x1f);
190 bs->buffer[pos] = swap32((bs
195 bitstream_put_ui(bitstream *bs, unsigned int val, int size_in_bits) argument
226 bitstream_byte_aligning(bitstream *bs, int bit) argument
280 sps_rbsp(struct mpeg2enc_context *ctx, const VAEncSequenceParameterBufferMPEG2 *seq_param, bitstream *bs) argument
329 pps_rbsp(const VAEncSequenceParameterBufferMPEG2 *seq_param, const VAEncPictureParameterBufferMPEG2 *pic_param, bitstream *bs) argument
391 bitstream bs; local
406 bitstream bs; local
[all...]
H A Dh264encode.c184 bitstream_start(bitstream *bs) argument
186 bs->max_size_in_dword = BITSTREAM_ALLOCATE_STEPPING;
187 bs->buffer = calloc(bs->max_size_in_dword * sizeof(int), 1);
188 bs->bit_offset = 0;
192 bitstream_end(bitstream *bs) argument
194 int pos = (bs->bit_offset >> 5);
195 int bit_offset = (bs->bit_offset & 0x1f);
199 bs->buffer[pos] = va_swap32((bs
204 bitstream_put_ui(bitstream *bs, unsigned int val, int size_in_bits) argument
232 bitstream_put_ue(bitstream *bs, unsigned int val) argument
247 bitstream_put_se(bitstream *bs, int val) argument
260 bitstream_byte_aligning(bitstream *bs, int bit) argument
280 rbsp_trailing_bits(bitstream *bs) argument
286 nal_start_code_prefix(bitstream *bs) argument
291 nal_header(bitstream *bs, int nal_ref_idc, int nal_unit_type) argument
298 sps_rbsp(bitstream *bs) argument
396 pps_rbsp(bitstream *bs) argument
433 bitstream bs; local
448 bitstream bs; local
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
H A Dvp9_aq_variance.h28 int vp9_block_energy(VP9_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bs);
H A Dvp9_segmentation.c174 const int bs = num_8x8_blocks_wide_lookup[bsize], hbs = bs / 2; local
182 if (bw == bs && bh == bs) {
184 t_unpred_seg_counts, bs, bs, mi_row, mi_col);
185 } else if (bw == bs && bh < bs) {
187 t_unpred_seg_counts, bs, hbs, mi_row, mi_col);
189 temporal_predictor_count, t_unpred_seg_counts, bs, hb
[all...]
H A Dvp9_aq_variance.c116 BLOCK_SIZE bs) {
125 const int bw = 8 * num_8x8_blocks_wide_lookup[bs] - right_overflow;
126 const int bh = 8 * num_8x8_blocks_high_lookup[bs] - bottom_overflow;
133 var = cpi->fn_ptr[bs].vf(x->plane[0].src.buf,
136 return (256 * var) >> num_pels_log2_lookup[bs];
140 int vp9_block_energy(VP9_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bs) { argument
142 unsigned int var = block_variance(cpi, x, bs);
115 block_variance(VP9_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bs) argument
H A Dvp9_rdopt.c441 const BLOCK_SIZE bs = get_plane_block_size(bsize, pd); local
443 (void) cpi->fn_ptr[bs].vf(p->src.buf, p->src.stride,
466 vp9_model_rd_from_var_lapndz(sse, 1 << num_pels_log2_lookup[bs],
483 BLOCK_SIZE bs; local
493 bs = BLOCK_4X4;
495 bs = BLOCK_8X8;
497 bs = BLOCK_16X16;
499 bs = BLOCK_32X32;
510 cpi->fn_ptr[bs].vf(&p->src.buf[j * p->src.stride + k], p->src.stride,
777 BLOCK_SIZE bs) {
773 choose_largest_txfm_size(VP9_COMP *cpi, MACROBLOCK *x, int *rate, int64_t *distortion, int *skip, int64_t *sse, int64_t ref_best_rd, BLOCK_SIZE bs) argument
792 choose_txfm_size_from_rd(VP9_COMP *cpi, MACROBLOCK *x, int (*r)[2], int *rate, int64_t *d, int64_t *distortion, int *s, int *skip, int64_t tx_cache[TX_MODES], BLOCK_SIZE bs) argument
875 choose_txfm_size_from_modelrd(VP9_COMP *cpi, MACROBLOCK *x, int (*r)[2], int *rate, int64_t *d, int64_t *distortion, int *s, int *skip, int64_t *sse, int64_t ref_best_rd, BLOCK_SIZE bs) argument
946 inter_super_block_yrd(VP9_COMP *cpi, MACROBLOCK *x, int *rate, int64_t *distortion, int *skip, int64_t *psse, BLOCK_SIZE bs, int64_t txfm_cache[TX_MODES], int64_t ref_best_rd) argument
990 intra_super_block_yrd(VP9_COMP *cpi, MACROBLOCK *x, int *rate, int64_t *distortion, int *skip, int64_t *psse, BLOCK_SIZE bs, int64_t txfm_cache[TX_MODES], int64_t ref_best_rd) argument
[all...]
H A Dvp9_bitstream.c424 const int bs = (1 << bsl) / 4; local
433 write_partition(cm, xd, bs, mi_row, mi_col, partition, bsize, w);
444 if (mi_row + bs < cm->mi_rows)
445 write_modes_b(cpi, tile, w, tok, tok_end, mi_row + bs, mi_col);
449 if (mi_col + bs < cm->mi_cols)
450 write_modes_b(cpi, tile, w, tok, tok_end, mi_row, mi_col + bs);
454 write_modes_sb(cpi, tile, w, tok, tok_end, mi_row, mi_col + bs,
456 write_modes_sb(cpi, tile, w, tok, tok_end, mi_row + bs, mi_col,
458 write_modes_sb(cpi, tile, w, tok, tok_end, mi_row + bs, mi_col + bs,
[all...]
H A Dvp9_encodeframe.c107 BLOCK_SIZE bs) {
109 var = cpi->fn_ptr[bs].vf(x->plane[0].src.buf, x->plane[0].src.stride,
111 return ROUND_POWER_OF_TWO(var, num_pels_log2_lookup[bs]);
118 BLOCK_SIZE bs) {
122 var = cpi->fn_ptr[bs].vf(x->plane[0].src.buf,
127 return ROUND_POWER_OF_TWO(var, num_pels_log2_lookup[bs]);
105 get_sby_perpixel_variance(VP9_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bs) argument
114 get_sby_perpixel_diff_variance(VP9_COMP *cpi, MACROBLOCK *x, int mi_row, int mi_col, BLOCK_SIZE bs) argument
/hardware/intel/common/libva/test/transcode/
H A Dmpeg2transcode.cpp2473 bitstream_start(bitstream *bs) argument
2475 bs->max_size_in_dword = BITSTREAM_ALLOCATE_STEPPING;
2476 bs->buffer = (unsigned int *)calloc(bs->max_size_in_dword * sizeof(int), 1);
2477 bs->bit_offset = 0;
2481 bitstream_end(bitstream *bs) argument
2483 int pos = (bs->bit_offset >> 5);
2484 int bit_offset = (bs->bit_offset & 0x1f);
2488 bs->buffer[pos] = swap32((bs
2493 bitstream_put_ui(bitstream *bs, unsigned int val, int size_in_bits) argument
2521 bitstream_put_ue(bitstream *bs, unsigned int val) argument
2536 bitstream_put_se(bitstream *bs, int val) argument
2549 bitstream_byte_aligning(bitstream *bs, int bit) argument
2569 rbsp_trailing_bits(bitstream *bs) argument
2575 nal_start_code_prefix(bitstream *bs) argument
2580 nal_header(bitstream *bs, int nal_ref_idc, int nal_unit_type) argument
2587 sps_rbsp(bitstream *bs) argument
2653 pps_rbsp(bitstream *bs) argument
2706 bitstream bs; local
2721 bitstream bs; local
[all...]
/hardware/intel/bootstub/
H A Dbootstub.mk59 $(hide) cat $< /dev/zero | dd bs=$(BOOTSTUB_SIZE) count=1 > $@
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/
H A DThermalManager.java337 for (int bs : mZoneToCoolDevBucketSize) {
338 s.append(bs);
344 for (int bs : mCoolDevToThrottBucketSize) {
345 s.append(bs);

Completed in 367 milliseconds