Home
last modified time | relevance | path

Searched refs:br (Results 1 – 18 of 18) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
Ddboolhuff.c14 int vp8dx_start_decode(BOOL_DECODER *br, in vp8dx_start_decode() argument
20 br->user_buffer_end = source+source_sz; in vp8dx_start_decode()
21 br->user_buffer = source; in vp8dx_start_decode()
22 br->value = 0; in vp8dx_start_decode()
23 br->count = -8; in vp8dx_start_decode()
24 br->range = 255; in vp8dx_start_decode()
25 br->decrypt_cb = decrypt_cb; in vp8dx_start_decode()
26 br->decrypt_state = decrypt_state; in vp8dx_start_decode()
32 vp8dx_bool_decoder_fill(br); in vp8dx_start_decode()
37 void vp8dx_bool_decoder_fill(BOOL_DECODER *br) in vp8dx_bool_decoder_fill() argument
[all …]
Ddetokenize.c59 static int GetSigned(BOOL_DECODER *br, int value_to_sign) in GetSigned() argument
61 int split = (br->range + 1) >> 1; in GetSigned()
65 if(br->count < 0) in GetSigned()
66 vp8dx_bool_decoder_fill(br); in GetSigned()
68 if ( br->value < bigsplit ) in GetSigned()
70 br->range = split; in GetSigned()
75 br->range = br->range-split; in GetSigned()
76 br->value = br->value-bigsplit; in GetSigned()
79 br->range +=br->range; in GetSigned()
80 br->value +=br->value; in GetSigned()
[all …]
Ddboolhuff.h54 int vp8dx_start_decode(BOOL_DECODER *br,
60 void vp8dx_bool_decoder_fill(BOOL_DECODER *br);
63 static int vp8dx_decode_bool(BOOL_DECODER *br, int probability) { in vp8dx_decode_bool() argument
71 split = 1 + (((br->range - 1) * probability) >> 8); in vp8dx_decode_bool()
73 if(br->count < 0) in vp8dx_decode_bool()
74 vp8dx_bool_decoder_fill(br); in vp8dx_decode_bool()
76 value = br->value; in vp8dx_decode_bool()
77 count = br->count; in vp8dx_decode_bool()
85 range = br->range - split; in vp8dx_decode_bool()
96 br->value = value; in vp8dx_decode_bool()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_writer.c15 void vp9_start_encode(vp9_writer *br, uint8_t *source) { in vp9_start_encode() argument
16 br->lowvalue = 0; in vp9_start_encode()
17 br->range = 255; in vp9_start_encode()
18 br->value = 0; in vp9_start_encode()
19 br->count = -24; in vp9_start_encode()
20 br->buffer = source; in vp9_start_encode()
21 br->pos = 0; in vp9_start_encode()
22 vp9_write_bit(br, 0); in vp9_start_encode()
25 void vp9_stop_encode(vp9_writer *br) { in vp9_stop_encode() argument
29 vp9_write_bit(br, 0); in vp9_stop_encode()
[all …]
Dvp9_writer.h38 static void vp9_write(vp9_writer *br, int bit, int probability) { in vp9_write() argument
40 int count = br->count; in vp9_write()
41 unsigned int range = br->range; in vp9_write()
42 unsigned int lowvalue = br->lowvalue; in vp9_write()
51 range = br->range - split; in vp9_write()
63 int x = br->pos - 1; in vp9_write()
65 while (x >= 0 && br->buffer[x] == 0xff) { in vp9_write()
66 br->buffer[x] = 0; in vp9_write()
70 br->buffer[x] += 1; in vp9_write()
73 br->buffer[br->pos++] = (lowvalue >> (24 - offset)); in vp9_write()
[all …]
Dvp9_mcomp.c189 br = r; \
227 if (tr != br && tc != bc) { \
228 kr = br - tr; \
232 } else if (tr == br && tc != bc) { \
246 } else if (tr != br && tc == bc) { \
247 kr = br - tr; \
290 int br = bestmv->row * 8; in vp9_find_best_sub_pixel_tree() local
298 int tr = br; in vp9_find_best_sub_pixel_tree()
315 tr = br; in vp9_find_best_sub_pixel_tree()
325 tr = br; in vp9_find_best_sub_pixel_tree()
[all …]
Dvp9_rdopt.c1717 int k, br = 0, idx, idy; in rd_check_segment_txsize() local
2056 br += bsi->rdstat[i][mode_idx].brate; in rd_check_segment_txsize()
2073 bsi->r = br; in rd_check_segment_txsize()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dboolhuff.h46 extern void vp8_encode_value(BOOL_CODER *br, int data, int bits);
66 static void vp8_encode_bool(BOOL_CODER *br, int bit, int probability) in vp8_encode_bool() argument
69 int count = br->count; in vp8_encode_bool()
70 unsigned int range = br->range; in vp8_encode_bool()
71 unsigned int lowvalue = br->lowvalue; in vp8_encode_bool()
92 range = br->range - split; in vp8_encode_bool()
106 int x = br->pos - 1; in vp8_encode_bool()
108 while (x >= 0 && br->buffer[x] == 0xff) in vp8_encode_bool()
110 br->buffer[x] = (unsigned char)0; in vp8_encode_bool()
114 br->buffer[x] += 1; in vp8_encode_bool()
[all …]
Dboolhuff.c43 void vp8_start_encode(BOOL_CODER *br, unsigned char *source, unsigned char *source_end) in vp8_start_encode() argument
46 br->lowvalue = 0; in vp8_start_encode()
47 br->range = 255; in vp8_start_encode()
48 br->count = -24; in vp8_start_encode()
49 br->buffer = source; in vp8_start_encode()
50 br->buffer_end = source_end; in vp8_start_encode()
51 br->pos = 0; in vp8_start_encode()
54 void vp8_stop_encode(BOOL_CODER *br) in vp8_stop_encode() argument
59 vp8_encode_bool(br, 0, 128); in vp8_stop_encode()
63 void vp8_encode_value(BOOL_CODER *br, int data, int bits) in vp8_encode_value() argument
[all …]
Dencodeframe.c1065 int br, bc; in vp8_build_block_offsets() local
1071 for (br = 0; br < 4; br++) in vp8_build_block_offsets()
1078 this_block->src = 4 * br * 16 + 4 * bc; in vp8_build_block_offsets()
1084 for (br = 0; br < 2; br++) in vp8_build_block_offsets()
1091 this_block->src = 4 * br * this_block->src_stride + 4 * bc; in vp8_build_block_offsets()
1097 for (br = 0; br < 2; br++) in vp8_build_block_offsets()
1104 this_block->src = 4 * br * this_block->src_stride + 4 * bc; in vp8_build_block_offsets()
Dmcomp.c201 …thismse = DIST(r,c); if((v = (MVC(r,c)+thismse)) < besterr) { besterr = v; br=r; bc=c; *distortion…
213 int br = bestmv->as_mv.row * 4, bc = bestmv->as_mv.col * 4; in vp8_find_best_sub_pixel_step_iteratively() local
214 int tr = br, tc = bc; in vp8_find_best_sub_pixel_step_iteratively()
299 if (tr == br && tc == bc) in vp8_find_best_sub_pixel_step_iteratively()
302 tr = br; in vp8_find_best_sub_pixel_step_iteratively()
337 if (tr == br && tc == bc) in vp8_find_best_sub_pixel_step_iteratively()
340 tr = br; in vp8_find_best_sub_pixel_step_iteratively()
344 bestmv->as_mv.row = br * 2; in vp8_find_best_sub_pixel_step_iteratively()
812 all_in &= ((br-range) >= x->mv_row_min);\
813 all_in &= ((br+range) <= x->mv_row_max);\
[all …]
Drdopt.c1109 int br = 0; in rd_check_segment() local
1139 br = 0; in rd_check_segment()
1156 br += rate; in rd_check_segment()
1344 br += sbr; in rd_check_segment()
1356 bsi->r = br; in rd_check_segment()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dvp8_boolcoder_test.cc96 BOOL_DECODER br; in TEST() local
99 vp8dx_start_decode(&br, bw_buffer, buffer_size, in TEST()
103 vp8dx_start_decode(&br, bw_buffer, kBufferSize, NULL, NULL); in TEST()
112 GTEST_ASSERT_EQ(vp8dx_decode_bool(&br, probas[i]), bit) in TEST()
Dvp9_boolcoder_test.cc72 vp9_reader br; in TEST() local
73 vp9_reader_init(&br, bw_buffer, kBufferSize); in TEST()
81 GTEST_ASSERT_EQ(vp9_read(&br, probas[i]), bit) in TEST()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/armv5te/
Dboolhuff_armv5te.asm40 ; r0 BOOL_CODER *br
56 ; r0 BOOL_CODER *br
137 ; r0 BOOL_CODER *br
217 ; r0 BOOL_CODER *br
/hardware/ti/omap4-aah/kernel-headers-ti/video/
Ddsscomp.h120 __s16 br, bg, bb; member
/hardware/bsp/intel/peripheral/libupm/doxy/node/generators/yuidoc/tmpl/partials/
Dclasses.handlebars28 Module: {{#crossLinkModule submodule}}{{/crossLinkModule}}<br>
Dindex.handlebars48 started.<br>