Home
last modified time | relevance | path

Searched refs:bw (Results 1 - 25 of 156) sorted by relevance

1234567

/third_party/skia/third_party/externals/libwebp/src/utils/
H A Dbit_writer_utils.c26 static int BitWriterResize(VP8BitWriter* const bw, size_t extra_size) { in BitWriterResize() argument
29 const uint64_t needed_size_64b = (uint64_t)bw->pos_ + extra_size; in BitWriterResize()
32 bw->error_ = 1; in BitWriterResize()
35 if (needed_size <= bw->max_pos_) return 1; in BitWriterResize()
37 new_size = 2 * bw->max_pos_; in BitWriterResize()
42 bw->error_ = 1; in BitWriterResize()
45 if (bw->pos_ > 0) { in BitWriterResize()
46 assert(bw->buf_ != NULL); in BitWriterResize()
47 memcpy(new_buf, bw->buf_, bw in BitWriterResize()
55 Flush(VP8BitWriter* const bw) Flush() argument
108 VP8PutBit(VP8BitWriter* const bw, int bit, int prob) VP8PutBit() argument
126 VP8PutBitUniform(VP8BitWriter* const bw, int bit) VP8PutBitUniform() argument
143 VP8PutBits(VP8BitWriter* const bw, uint32_t value, int nb_bits) VP8PutBits() argument
151 VP8PutSignedBits(VP8BitWriter* const bw, int value, int nb_bits) VP8PutSignedBits() argument
162 VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size) VP8BitWriterInit() argument
174 VP8BitWriterFinish(VP8BitWriter* const bw) VP8BitWriterFinish() argument
181 VP8BitWriterAppend(VP8BitWriter* const bw, const uint8_t* data, size_t size) VP8BitWriterAppend() argument
191 VP8BitWriterWipeOut(VP8BitWriter* const bw) VP8BitWriterWipeOut() argument
206 VP8LBitWriterResize(VP8LBitWriter* const bw, size_t extra_size) VP8LBitWriterResize() argument
237 VP8LBitWriterInit(VP8LBitWriter* const bw, size_t expected_size) VP8LBitWriterInit() argument
255 VP8LBitWriterWipeOut(VP8LBitWriter* const bw) VP8LBitWriterWipeOut() argument
262 VP8LBitWriterReset(const VP8LBitWriter* const bw_init, VP8LBitWriter* const bw) VP8LBitWriterReset() argument
277 VP8LPutBitsFlushBits(VP8LBitWriter* const bw) VP8LPutBitsFlushBits() argument
294 VP8LPutBitsInternal(VP8LBitWriter* const bw, uint32_t bits, int n_bits) VP8LPutBitsInternal() argument
334 VP8LBitWriterFinish(VP8LBitWriter* const bw) VP8LBitWriterFinish() argument
[all...]
H A Dbit_writer_utils.h39 int VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size);
41 uint8_t* VP8BitWriterFinish(VP8BitWriter* const bw);
44 void VP8BitWriterWipeOut(VP8BitWriter* const bw);
46 int VP8PutBit(VP8BitWriter* const bw, int bit, int prob);
47 int VP8PutBitUniform(VP8BitWriter* const bw, int bit);
48 void VP8PutBits(VP8BitWriter* const bw, uint32_t value, int nb_bits);
49 void VP8PutSignedBits(VP8BitWriter* const bw, int value, int nb_bits);
52 int VP8BitWriterAppend(VP8BitWriter* const bw,
56 static WEBP_INLINE uint64_t VP8BitWriterPos(const VP8BitWriter* const bw) { in VP8BitWriterPos() argument
57 const uint64_t nb_bits = 8 + bw in VP8BitWriterPos()
62 VP8BitWriterBuf(const VP8BitWriter* const bw) VP8BitWriterBuf() argument
66 VP8BitWriterSize(const VP8BitWriter* const bw) VP8BitWriterSize() argument
103 VP8LBitWriterNumBytes(const VP8LBitWriter* const bw) VP8LBitWriterNumBytes() argument
133 VP8LPutBits(VP8LBitWriter* const bw, uint32_t bits, int n_bits) VP8LPutBits() argument
[all...]
/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dtree_enc.c270 static int PutI4Mode(VP8BitWriter* const bw, int mode, in PutI4Mode() argument
272 if (VP8PutBit(bw, mode != B_DC_PRED, prob[0])) { in PutI4Mode()
273 if (VP8PutBit(bw, mode != B_TM_PRED, prob[1])) { in PutI4Mode()
274 if (VP8PutBit(bw, mode != B_VE_PRED, prob[2])) { in PutI4Mode()
275 if (!VP8PutBit(bw, mode >= B_LD_PRED, prob[3])) { in PutI4Mode()
276 if (VP8PutBit(bw, mode != B_HE_PRED, prob[4])) { in PutI4Mode()
277 VP8PutBit(bw, mode != B_RD_PRED, prob[5]); in PutI4Mode()
280 if (VP8PutBit(bw, mode != B_LD_PRED, prob[6])) { in PutI4Mode()
281 if (VP8PutBit(bw, mode != B_VL_PRED, prob[7])) { in PutI4Mode()
282 VP8PutBit(bw, mod in PutI4Mode()
292 PutI16Mode(VP8BitWriter* const bw, int mode) PutI16Mode() argument
300 PutUVMode(VP8BitWriter* const bw, int uv_mode) PutUVMode() argument
308 PutSegment(VP8BitWriter* const bw, int s, const uint8_t* p) PutSegment() argument
314 VP8BitWriter* const bw = &enc->bw_; VP8CodeIntraModes() local
485 VP8WriteProbas(VP8BitWriter* const bw, const VP8EncProba* const probas) VP8WriteProbas() argument
[all...]
H A Dsyntax_enc.c187 static void PutSegmentHeader(VP8BitWriter* const bw, in PutSegmentHeader() argument
191 if (VP8PutBitUniform(bw, (hdr->num_segments_ > 1))) { in PutSegmentHeader()
195 VP8PutBitUniform(bw, hdr->update_map_); in PutSegmentHeader()
196 if (VP8PutBitUniform(bw, update_data)) { in PutSegmentHeader()
198 VP8PutBitUniform(bw, 1); // (segment_feature_mode = 1. Paragraph 9.3.) in PutSegmentHeader()
200 VP8PutSignedBits(bw, enc->dqm_[s].quant_, 7); in PutSegmentHeader()
203 VP8PutSignedBits(bw, enc->dqm_[s].fstrength_, 6); in PutSegmentHeader()
208 if (VP8PutBitUniform(bw, (proba->segments_[s] != 255u))) { in PutSegmentHeader()
209 VP8PutBits(bw, proba->segments_[s], 8); in PutSegmentHeader()
217 static void PutFilterHeader(VP8BitWriter* const bw, in PutFilterHeader() argument
237 PutQuant(VP8BitWriter* const bw, const VP8Encoder* const enc) PutQuant() argument
267 VP8BitWriter* const bw = &enc->bw_; GeneratePartition0() local
319 VP8BitWriter* const bw = &enc->bw_; VP8EncWrite() local
[all...]
H A Dvp8l_enc.c765 VP8LBitWriter* const bw, const uint8_t* code_length_bitdepth) { in StoreHuffmanTreeOfHuffmanTreeToBitMask()
780 VP8LPutBits(bw, codes_to_store - 4, 4); in StoreHuffmanTreeOfHuffmanTreeToBitMask()
782 VP8LPutBits(bw, code_length_bitdepth[kStorageOrder[i]], 3); in StoreHuffmanTreeOfHuffmanTreeToBitMask()
803 VP8LBitWriter* const bw, in StoreHuffmanTreeToBitMask()
810 VP8LPutBits(bw, huffman_code->codes[ix], huffman_code->code_lengths[ix]); in StoreHuffmanTreeToBitMask()
813 VP8LPutBits(bw, extra_bits, 2); in StoreHuffmanTreeToBitMask()
816 VP8LPutBits(bw, extra_bits, 3); in StoreHuffmanTreeToBitMask()
819 VP8LPutBits(bw, extra_bits, 7); in StoreHuffmanTreeToBitMask()
826 static void StoreFullHuffmanCode(VP8LBitWriter* const bw, in StoreFullHuffmanCode() argument
839 VP8LPutBits(bw, in StoreFullHuffmanCode()
764 StoreHuffmanTreeOfHuffmanTreeToBitMask( VP8LBitWriter* const bw, const uint8_t* code_length_bitdepth) StoreHuffmanTreeOfHuffmanTreeToBitMask() argument
802 StoreHuffmanTreeToBitMask( VP8LBitWriter* const bw, const HuffmanTreeToken* const tokens, const int num_tokens, const HuffmanTreeCode* const huffman_code) StoreHuffmanTreeToBitMask() argument
894 StoreHuffmanCode(VP8LBitWriter* const bw, HuffmanTree* const huff_tree, HuffmanTreeToken* const tokens, const HuffmanTreeCode* const huffman_code) StoreHuffmanCode() argument
933 WriteHuffmanCode(VP8LBitWriter* const bw, const HuffmanTreeCode* const code, int code_index) WriteHuffmanCode() argument
941 WriteHuffmanCodeWithExtraBits( VP8LBitWriter* const bw, const HuffmanTreeCode* const code, int code_index, int bits, int n_bits) WriteHuffmanCodeWithExtraBits() argument
952 StoreImageToBitMask( VP8LBitWriter* const bw, int width, int histo_bits, const VP8LBackwardRefs* const refs, const uint16_t* histogram_symbols, const HuffmanTreeCode* const huffman_codes) StoreImageToBitMask() argument
1013 EncodeImageNoHuffman( VP8LBitWriter* const bw, const uint32_t* const argb, VP8LHashChain* const hash_chain, VP8LBackwardRefs* const refs_array, int width, int height, int quality, int low_effort) EncodeImageNoHuffman() argument
1097 EncodeImageInternal( VP8LBitWriter* const bw, const uint32_t* const argb, VP8LHashChain* const hash_chain, VP8LBackwardRefs refs_array[4], int width, int height, int quality, int low_effort, int use_cache, const CrunchConfig* const config, int* cache_bits, int histogram_bits, size_t init_byte_position, int* const hdr_size, int* const data_size) EncodeImageInternal() argument
1301 ApplySubtractGreen(VP8LEncoder* const enc, int width, int height, VP8LBitWriter* const bw) ApplySubtractGreen() argument
1308 ApplyPredictFilter(const VP8LEncoder* const enc, int width, int height, int quality, int low_effort, int used_subtract_green, VP8LBitWriter* const bw) ApplyPredictFilter() argument
1334 ApplyCrossColorFilter(const VP8LEncoder* const enc, int width, int height, int quality, int low_effort, VP8LBitWriter* const bw) ApplyCrossColorFilter() argument
1370 WriteImageSize(const WebPPicture* const pic, VP8LBitWriter* const bw) WriteImageSize() argument
1381 WriteRealAlphaAndVersion(VP8LBitWriter* const bw, int has_alpha) WriteRealAlphaAndVersion() argument
1387 WriteImage(const WebPPicture* const pic, VP8LBitWriter* const bw, size_t* const coded_size) WriteImage() argument
1655 EncodePalette(VP8LBitWriter* const bw, int low_effort, VP8LEncoder* const enc) EncodePalette() argument
1723 VP8LBitWriter* const bw = params->bw_; EncodeStreamHook() local
2050 VP8LBitWriter bw; VP8LEncodeImage() local
[all...]
H A Dalpha_enc.c51 int use_quality_100, VP8LBitWriter* const bw, in EncodeLossless()
89 ok = (VP8LEncodeStream(&config, &picture, bw, 0 /*use_cache*/) == VP8_ENC_OK); in EncodeLossless()
91 ok = ok && !bw->error_; in EncodeLossless()
93 VP8LBitWriterWipeOut(bw); in EncodeLossless()
104 VP8BitWriter bw; member
108 // This function always returns an initialized 'bw' object, even upon error.
165 VP8BitWriterInit(&result->bw, ALPHA_HEADER_LEN + output_size); in EncodeAlphaInternal()
166 ok = ok && VP8BitWriterAppend(&result->bw, &header, ALPHA_HEADER_LEN); in EncodeAlphaInternal()
167 ok = ok && VP8BitWriterAppend(&result->bw, output, output_size); in EncodeAlphaInternal()
172 ok = ok && !result->bw in EncodeAlphaInternal()
49 EncodeLossless(const uint8_t* const data, int width, int height, int effort_level, int use_quality_100, VP8LBitWriter* const bw, WebPAuxStats* const stats) EncodeLossless() argument
[all...]
H A Dframe_enc.c236 static int PutCoeffs(VP8BitWriter* const bw, int ctx, const VP8Residual* res) { in PutCoeffs() argument
240 if (!VP8PutBit(bw, res->last >= 0, p[0])) { in PutCoeffs()
248 if (!VP8PutBit(bw, v != 0, p[1])) { in PutCoeffs()
252 if (!VP8PutBit(bw, v > 1, p[2])) { in PutCoeffs()
255 if (!VP8PutBit(bw, v > 4, p[3])) { in PutCoeffs()
256 if (VP8PutBit(bw, v != 2, p[4])) { in PutCoeffs()
257 VP8PutBit(bw, v == 4, p[5]); in PutCoeffs()
259 } else if (!VP8PutBit(bw, v > 10, p[6])) { in PutCoeffs()
260 if (!VP8PutBit(bw, v > 6, p[7])) { in PutCoeffs()
261 VP8PutBit(bw, in PutCoeffs()
309 CodeResiduals(VP8BitWriter* const bw, VP8EncIterator* const it, const VP8ModeScore* const rd) CodeResiduals() argument
[all...]
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
H A DCheckAPI.java627 BufferedWriter bw = null; in run()
630 bw = new BufferedWriter(osw); in run()
634 bw.write(String.valueOf(DATA_FILE_VERSION) + SEP); // header version in run()
635 bw.write(srcName + SEP); // source name in run()
636 bw.newLine(); in run()
637 writeResults(results, bw, true, false, false); in run()
672 bw.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">"); in run()
673 bw.newLine(); in run()
674 bw.write("<html>"); in run()
675 bw in run()
[all...]
H A DGatherAPIData.java178 BufferedWriter bw = null; in run()
181 bw = new BufferedWriter(osw); in run()
184 bw.write(String.valueOf(APIInfo.VERSION) + APIInfo.SEP); // header version in run()
185 bw.write(srcName + APIInfo.SEP); // source name in run()
186 bw.write((base == null ? "" : base) + APIInfo.SEP); // base in run()
187 bw.newLine(); in run()
188 writeResults(results, bw); in run()
189 bw.close(); // should flush, close all, etc in run()
191 try { bw.close(); } catch (IOException e2) {} in run()
H A DGatherAPIDataOld.java169 BufferedWriter bw = null; in run()
172 bw = new BufferedWriter(osw); in run()
175 bw.write(String.valueOf(APIInfo.VERSION) + APIInfo.SEP); // header version in run()
176 bw.write(srcName + APIInfo.SEP); // source name in run()
177 bw.write((base == null ? "" : base) + APIInfo.SEP); // base in run()
178 bw.newLine(); in run()
179 writeResults(results, bw); in run()
180 bw.close(); // should flush, close all, etc in run()
182 try { bw.close(); } catch (IOException e2) {} in run()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
H A Dbinary_writer_test.cc25 BinaryWriter bw; in TEST_F() local
26 bw.WriteHeader(5); in TEST_F()
28 auto res = bw.result(); in TEST_F()
41 BinaryWriter bw; in TEST_F() local
42 bw.WriteBuilder(&b); in TEST_F()
44 auto res = bw.result(); in TEST_F()
55 BinaryWriter bw; in TEST_F() local
56 bw.WriteBuilder(&b); in TEST_F()
58 auto res = bw.result(); in TEST_F()
67 BinaryWriter bw; in TEST_F() local
92 BinaryWriter bw; TEST_F() local
117 BinaryWriter bw; TEST_F() local
[all...]
/third_party/toybox/toys/other/
H A Dbzcat.c148 * 32 bits : bw->headerCRC
161 static int read_block_header(struct bunzip_data *bd, struct bwdata *bw) in read_block_header() argument
170 bw->headerCRC = get_bits(bd,32); in read_block_header()
180 if ((bw->origPtr = get_bits(bd,24)) > bd->dbufSize) return RETVAL_DATA_ERROR; in read_block_header()
319 static int read_huffman_data(struct bunzip_data *bd, struct bwdata *bw) in read_huffman_data() argument
324 unsigned hh, *dbuf = bw->dbuf; in read_huffman_data()
332 byteCount = bw->byteCount; in read_huffman_data()
437 if (bw->origPtr >= (bw->writeCount = dbufCount)) return RETVAL_DATA_ERROR; in read_huffman_data()
452 static void burrows_wheeler_prep(struct bunzip_data *bd, struct bwdata *bw) in burrows_wheeler_prep() argument
512 write_bunzip_data(struct bunzip_data *bd, struct bwdata *bw, int out_fd, char *outbuf, int len) write_bunzip_data() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dop_classes.c200 u8 channel, u8 bw) in verify_channel()
206 if (bw == BW40MINUS || (bw == BW40 && (((channel - 1) / 4) % 2))) { in verify_channel()
210 } else if (bw == BW40PLUS) { in verify_channel()
214 } else if (is_6ghz_op_class(op_class) && bw == BW40) { in verify_channel()
219 } else if (bw == BW80) { in verify_channel()
226 } else if (bw == BW160) { in verify_channel()
233 } else if (bw == BW80P80) { in verify_channel()
331 channels[i], op_class->bw) != in wpas_op_class_supported()
342 op_class->bw) ! in wpas_op_class_supported()
199 verify_channel(struct hostapd_hw_modes *mode, u8 op_class, u8 channel, u8 bw) verify_channel() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dop_classes.c163 u8 bw) in verify_channel()
169 if (bw == BW40MINUS) { in verify_channel()
173 } else if (bw == BW40PLUS) { in verify_channel()
177 } else if (bw == BW80) { in verify_channel()
184 } else if (bw == BW160) { in verify_channel()
191 } else if (bw == BW80P80) { in verify_channel()
287 if (verify_channel(mode, channels[i], op_class->bw) != in wpas_op_class_supported()
297 return verify_channel(mode, 50, op_class->bw) != NOT_ALLOWED || in wpas_op_class_supported()
298 verify_channel(mode, 114, op_class->bw) != NOT_ALLOWED; in wpas_op_class_supported()
305 if (verify_channel(mode, 42, op_class->bw) ! in wpas_op_class_supported()
162 verify_channel(struct hostapd_hw_modes *mode, u8 channel, u8 bw) verify_channel() argument
[all...]
/third_party/mesa3d/src/util/format/
H A Du_format_rgtc.c43 const unsigned bw = 4, bh = 4, comps = 4; in util_format_rgtc1_unorm_unpack_rgba_8unorm() local
49 for(x = 0; x < width; x += bw) { in util_format_rgtc1_unorm_unpack_rgba_8unorm()
51 for(i = 0; i < bw; ++i) { in util_format_rgtc1_unorm_unpack_rgba_8unorm()
69 const unsigned bw = 4, bh = 4, bytes_per_block = 8; in util_format_rgtc1_unorm_pack_rgba_8unorm() local
74 for(x = 0; x < width; x += bw) { in util_format_rgtc1_unorm_pack_rgba_8unorm()
75 uint8_t tmp[4][4]; /* [bh][bw][comps] */ in util_format_rgtc1_unorm_pack_rgba_8unorm()
77 for(i = 0; i < bw; ++i) { in util_format_rgtc1_unorm_pack_rgba_8unorm()
116 const unsigned bw = 4, bh = 4, bytes_per_block = 8; in util_format_rgtc1_unorm_pack_rgba_float() local
121 for(x = 0; x < width; x += bw) { in util_format_rgtc1_unorm_pack_rgba_float()
122 uint8_t tmp[4][4]; /* [bh][bw][comp in util_format_rgtc1_unorm_pack_rgba_float()
173 const unsigned bw = 4, bh = 4, bytes_per_block = 8; util_format_rgtc1_snorm_pack_rgba_float() local
242 const unsigned bw = 4, bh = 4, comps = 4; util_format_rgtc2_unorm_unpack_rgba_8unorm() local
267 const unsigned bw = 4, bh = 4, bytes_per_block = 16; util_format_rgtc2_unorm_pack_rgba_8unorm() local
292 const unsigned bw = 4, bh = 4, bytes_per_block = 16; util_format_rxtc2_unorm_pack_rgba_float() local
412 const unsigned bw = 4, bh = 4, bytes_per_block = 16; util_format_rxtc2_snorm_pack_rgba_float() local
[all...]
/third_party/ffmpeg/tests/checkasm/
H A Dvideodsp.c38 bw * sizeof(type), pw * sizeof(type), \
39 bw, bh, x, y, pw, ph); \
41 bw * sizeof(type), pw * sizeof(type), \
42 bw, bh, x, y, pw, ph); \
43 if (memcmp(dst0, dst1, bw * bh * sizeof(type))) \
46 bw * sizeof(type), pw * sizeof(type), \
47 bw, bh, x, y, pw, ph); \
54 int bw = dst_w, bh = dst_h; \
/third_party/mesa3d/src/mesa/main/
H A Dtexcompress_etc.c679 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; in etc2_unpack_rgb8() local
691 for (x = 0; x < width; x+= bw) { in etc2_unpack_rgb8()
696 const unsigned w = MIN2(bw, width - x); in etc2_unpack_rgb8()
727 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; in etc2_unpack_srgb8() local
736 for (x = 0; x < width; x+= bw) { in etc2_unpack_srgb8()
737 const unsigned w = MIN2(bw, width - x); in etc2_unpack_srgb8()
778 const unsigned bw = 4, bh = 4, bs = 16, comps = 4; in etc2_unpack_rgba8() local
786 for (x = 0; x < width; x+= bw) { in etc2_unpack_rgba8()
787 const unsigned w = MIN2(bw, width - x); in etc2_unpack_rgba8()
817 const unsigned bw in etc2_unpack_srgb8_alpha8() local
864 const unsigned bw = 4, bh = 4, bs = 8, comps = 1, comp_size = 2; etc2_unpack_r11() local
901 const unsigned bw = 4, bh = 4, bs = 16, comps = 2, comp_size = 2; etc2_unpack_rg11() local
951 const unsigned bw = 4, bh = 4, bs = 8, comps = 1, comp_size = 2; etc2_unpack_signed_r11() local
989 const unsigned bw = 4, bh = 4, bs = 16, comps = 2, comp_size = 2; etc2_unpack_signed_rg11() local
1036 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; etc2_unpack_rgb8_punchthrough_alpha1() local
1073 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; etc2_unpack_srgb8_punchthrough_alpha1() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dzmbv.c72 int bw, bh, bx, by; member
108 for (x = 0; x < c->width; x += c->bw) { in zmbv_decode_xor_8()
116 bw2 = ((c->width - x) > c->bw) ? c->bw : (c->width - x); in zmbv_decode_xor_8()
182 for (x = 0; x < c->width; x += c->bw) { in zmbv_decode_xor_16()
190 bw2 = ((c->width - x) > c->bw) ? c->bw : (c->width - x); in zmbv_decode_xor_16()
261 for (x = 0; x < c->width; x += c->bw) { in zmbv_decode_xor_24()
269 bw2 = ((c->width - x) > c->bw) ? c->bw in zmbv_decode_xor_24()
[all...]
H A Dsbrdsp_fixed.c210 int bw, int start, int end) in sbr_hf_gen_c()
216 accu = (int64_t)alpha0[0] * bw; in sbr_hf_gen_c()
218 accu = (int64_t)alpha0[1] * bw; in sbr_hf_gen_c()
220 accu = (int64_t)bw * bw; in sbr_hf_gen_c()
221 bw = (int)((accu + 0x40000000) >> 31); in sbr_hf_gen_c()
222 accu = (int64_t)alpha1[0] * bw; in sbr_hf_gen_c()
224 accu = (int64_t)alpha1[1] * bw; in sbr_hf_gen_c()
208 sbr_hf_gen_c(int (*X_high)[2], const int (*X_low)[2], const int alpha0[2], const int alpha1[2], int bw, int start, int end) sbr_hf_gen_c() argument
H A Dzmbvenc.c88 uint8_t *src2, int stride2, int bw, int bh, in block_cmp()
94 int bw_bytes = bw * c->bypp; in block_cmp()
125 int dx, dy, txored, tv, bv, bw, bh; in zmbv_me() local
130 bw = FFMIN(ZMBV_BLOCK, c->avctx->width - x); in zmbv_me()
134 bv = block_cmp(c, src, sstride, prev, pstride, bw, bh, xored); in zmbv_me()
140 tv = block_cmp(c, src, sstride, prev + mx0 * c->bypp + my0 * pstride, pstride, bw, bh, &txored); in zmbv_me()
155 tv = block_cmp(c, src, sstride, prev + dx * c->bypp + dy * pstride, pstride, bw, bh, &txored); in zmbv_me()
179 int bw, bh; in encode_frame() local
225 bw = (avctx->width + ZMBV_BLOCK - 1) / ZMBV_BLOCK; in encode_frame()
228 memset(c->work_buf + work_size, 0, (bw * b in encode_frame()
87 block_cmp(ZmbvEncContext *c, uint8_t *src, int stride, uint8_t *src2, int stride2, int bw, int bh, int *xored) block_cmp() argument
[all...]
H A Dsbrdsp.c161 float bw, int start, int end) in sbr_hf_gen_c()
166 alpha[0] = alpha1[0] * bw * bw; in sbr_hf_gen_c()
167 alpha[1] = alpha1[1] * bw * bw; in sbr_hf_gen_c()
168 alpha[2] = alpha0[0] * bw; in sbr_hf_gen_c()
169 alpha[3] = alpha0[1] * bw; in sbr_hf_gen_c()
159 sbr_hf_gen_c(float (*X_high)[2], const float (*X_low)[2], const float alpha0[2], const float alpha1[2], float bw, int start, int end) sbr_hf_gen_c() argument
H A Dvp9recon.c303 int bw, int bh, int w, int h, int bytesperpixel) in mc_luma_unscaled()
322 x + !!mx * 4 > w - bw || y + !!my * 5 > h - bh) { in mc_luma_unscaled()
326 bw + !!mx * 7, bh + !!my * 7, in mc_luma_unscaled()
341 int bw, int bh, int w, int h, int bytesperpixel) in mc_chroma_unscaled()
361 x + !!mx * 4 > w - bw || y + !!my * 5 > h - bh) { in mc_chroma_unscaled()
365 bw + !!mx * 7, bh + !!my * 7, in mc_chroma_unscaled()
373 bw + !!mx * 7, bh + !!my * 7, in mc_chroma_unscaled()
384 px, py, pw, ph, bw, bh, w, h, i) \
386 mv, bw, bh, w, h, bytesperpixel)
388 row, col, mv, px, py, pw, ph, bw, b
298 mc_luma_unscaled(VP9TileData *td, vp9_mc_func (*mc)[2], uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *ref, ptrdiff_t ref_stride, ThreadFrame *ref_frame, ptrdiff_t y, ptrdiff_t x, const VP56mv *mv, int bw, int bh, int w, int h, int bytesperpixel) mc_luma_unscaled() argument
334 mc_chroma_unscaled(VP9TileData *td, vp9_mc_func (*mc)[2], uint8_t *dst_u, uint8_t *dst_v, ptrdiff_t dst_stride, const uint8_t *ref_u, ptrdiff_t src_stride_u, const uint8_t *ref_v, ptrdiff_t src_stride_v, ThreadFrame *ref_frame, ptrdiff_t y, ptrdiff_t x, const VP56mv *mv, int bw, int bh, int w, int h, int bytesperpixel) mc_chroma_unscaled() argument
406 mc_luma_scaled(VP9TileData *td, vp9_scaled_mc_func smc, vp9_mc_func (*mc)[2], uint8_t *dst, ptrdiff_t dst_stride, const uint8_t *ref, ptrdiff_t ref_stride, ThreadFrame *ref_frame, ptrdiff_t y, ptrdiff_t x, const VP56mv *in_mv, int px, int py, int pw, int ph, int bw, int bh, int w, int h, int bytesperpixel, const uint16_t *scale, const uint8_t *step) mc_luma_scaled() argument
464 mc_chroma_scaled(VP9TileData *td, vp9_scaled_mc_func smc, vp9_mc_func (*mc)[2], uint8_t *dst_u, uint8_t *dst_v, ptrdiff_t dst_stride, const uint8_t *ref_u, ptrdiff_t src_stride_u, const uint8_t *ref_v, ptrdiff_t src_stride_v, ThreadFrame *ref_frame, ptrdiff_t y, ptrdiff_t x, const VP56mv *in_mv, int px, int py, int pw, int ph, int bw, int bh, int w, int h, int bytesperpixel, const uint16_t *scale, const uint8_t *step) mc_chroma_scaled() argument
[all...]
/third_party/openssl/test/testutil/
H A Dtests.c416 BIGNUM *bw; in test_BN_eq_word() local
420 if ((bw = BN_new()) != NULL) in test_BN_eq_word()
421 BN_set_word(bw, w); in test_BN_eq_word()
422 test_fail_bignum_message(NULL, file, line, "BIGNUM", bns, ws, "==", a, bw); in test_BN_eq_word()
423 BN_free(bw); in test_BN_eq_word()
430 BIGNUM *bw, *aa; in test_BN_abs_eq_word() local
436 if ((bw = BN_new()) != NULL) in test_BN_abs_eq_word()
437 BN_set_word(bw, w); in test_BN_abs_eq_word()
439 aa, bw); in test_BN_abs_eq_word()
440 BN_free(bw); in test_BN_abs_eq_word()
[all...]
/third_party/ffmpeg/libavcodec/x86/
H A Dvp9lpf.asm106 punpck%1bw %2, %3, %4
109 punpck%1bw %2, %4
120 punpck%2bw %1, %10, m0
201 punpck%2bw %1, m1, m0 ; p2: B->W
219 punpck%2bw %1, m2, m0 ; p7: B->W
223 punpck%2bw %1, m3, m0 ; p6: B->W
244 SBUTTERFLY bw, %1, %2, %16
245 SBUTTERFLY bw, %3, %4, %16
246 SBUTTERFLY bw, %5, %6, %16
247 SBUTTERFLY bw,
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dacs.c650 int n_chans, u32 bw, in acs_find_ideal_chan_mode()
682 if (!chan_bw_allowed(chan, bw, 1, 1)) { in acs_find_ideal_chan_mode()
685 chan->chan, bw); in acs_find_ideal_chan_mode()
733 if (!chan_bw_allowed(adj_chan, bw, 1, 0)) { in acs_find_ideal_chan_mode()
736 chan->chan, adj_chan->chan, bw); in acs_find_ideal_chan_mode()
845 u32 bw; in acs_find_ideal_chan() local
849 bw = op_class_to_bandwidth(iface->conf->op_class); in acs_find_ideal_chan()
850 n_chans = bw / 20; in acs_find_ideal_chan()
877 bw = num_chan_to_bw(n_chans); in acs_find_ideal_chan()
883 "ACS: Survey analysis for selected bandwidth %d MHz", bw); in acs_find_ideal_chan()
648 acs_find_ideal_chan_mode(struct hostapd_iface *iface, struct hostapd_hw_modes *mode, int n_chans, u32 bw, struct hostapd_channel_data **rand_chan, struct hostapd_channel_data **ideal_chan, long double *ideal_factor) acs_find_ideal_chan_mode() argument
[all...]

Completed in 23 milliseconds

1234567