/third_party/cef/libcef/browser/ |
D | image_impl.cc | 98 bool CefImageImpl::AddBitmap(float scale_factor, in AddBitmap() argument 123 return AddBitmap(scale_factor, bitmap); in AddBitmap() 126 bool CefImageImpl::AddPNG(float scale_factor, in AddPNG() argument 135 return AddBitmap(scale_factor, bitmap); in AddPNG() 138 bool CefImageImpl::AddJPEG(float scale_factor, in AddJPEG() argument 146 return AddBitmap(scale_factor, *bitmap); in AddJPEG() 159 bool CefImageImpl::HasRepresentation(float scale_factor) { in HasRepresentation() argument 161 return image_.AsImageSkia().HasRepresentation(scale_factor); in HasRepresentation() 164 bool CefImageImpl::RemoveRepresentation(float scale_factor) { in RemoveRepresentation() argument 167 if (image_skia.HasRepresentation(scale_factor)) { in RemoveRepresentation() [all …]
|
D | image_impl.h | 34 bool AddBitmap(float scale_factor, 41 bool AddPNG(float scale_factor, 44 bool AddJPEG(float scale_factor, 49 bool HasRepresentation(float scale_factor) override; 50 bool RemoveRepresentation(float scale_factor) override; 51 bool GetRepresentationInfo(float scale_factor, 55 CefRefPtr<CefBinaryValue> GetAsBitmap(float scale_factor, 60 CefRefPtr<CefBinaryValue> GetAsPNG(float scale_factor, 64 CefRefPtr<CefBinaryValue> GetAsJPEG(float scale_factor, 80 gfx::ImageSkia GetForced1xScaleRepresentation(float scale_factor) const; [all …]
|
/third_party/cef/libcef_dll/ctocpp/ |
D | image_ctocpp.cc | 73 bool CefImageCToCpp::AddBitmap(float scale_factor, in AddBitmap() argument 95 _struct->add_bitmap(_struct, scale_factor, pixel_width, pixel_height, in AddBitmap() 103 bool CefImageCToCpp::AddPNG(float scale_factor, in AddPNG() argument 121 _struct->add_png(_struct, scale_factor, png_data, png_data_size); in AddPNG() 128 bool CefImageCToCpp::AddJPEG(float scale_factor, in AddJPEG() argument 146 _struct->add_jpeg(_struct, scale_factor, jpeg_data, jpeg_data_size); in AddJPEG() 185 bool CefImageCToCpp::HasRepresentation(float scale_factor) { in HasRepresentation() argument 195 int _retval = _struct->has_representation(_struct, scale_factor); in HasRepresentation() 202 bool CefImageCToCpp::RemoveRepresentation(float scale_factor) { in RemoveRepresentation() argument 212 int _retval = _struct->remove_representation(_struct, scale_factor); in RemoveRepresentation() [all …]
|
D | image_ctocpp.h | 38 bool AddBitmap(float scale_factor, 45 bool AddPNG(float scale_factor, 48 bool AddJPEG(float scale_factor, 53 bool HasRepresentation(float scale_factor) override; 54 bool RemoveRepresentation(float scale_factor) override; 55 bool GetRepresentationInfo(float scale_factor, 59 CefRefPtr<CefBinaryValue> GetAsBitmap(float scale_factor, 64 CefRefPtr<CefBinaryValue> GetAsPNG(float scale_factor, 68 CefRefPtr<CefBinaryValue> GetAsJPEG(float scale_factor,
|
D | resource_bundle_handler_ctocpp.cc | 62 ScaleFactor scale_factor, in GetDataResourceForScale() argument 75 _struct, resource_id, scale_factor, &data, &data_size); in GetDataResourceForScale()
|
/third_party/cef/tests/ceftests/ |
D | image_unittest.cc | 14 void LoadImage(CefRefPtr<CefImage> image, double scale_factor) { in LoadImage() argument 15 image_util::LoadIconImage(image, scale_factor); in LoadImage() 18 void VerifyScaleEmpty(CefRefPtr<CefImage> image, float scale_factor) { in VerifyScaleEmpty() argument 23 EXPECT_FALSE(image->HasRepresentation(scale_factor)); in VerifyScaleEmpty() 24 EXPECT_FALSE(image->GetRepresentationInfo(scale_factor, actual_scale_factor, in VerifyScaleEmpty() 29 EXPECT_FALSE(image->RemoveRepresentation(scale_factor)); in VerifyScaleEmpty() 33 float scale_factor, in VerifyScaleExists() argument 41 if (scale_factor == expected_scale_factor) in VerifyScaleExists() 42 EXPECT_TRUE(image->HasRepresentation(scale_factor)); in VerifyScaleExists() 44 EXPECT_FALSE(image->HasRepresentation(scale_factor)); in VerifyScaleExists() [all …]
|
D | image_util.cc | 13 double scale_factor, in LoadImage() argument 19 if (scale_factor == 1.0f) in LoadImage() 21 else if (scale_factor == 2.0f) in LoadImage() 25 EXPECT_TRUE(image->AddPNG(scale_factor, image_str.c_str(), image_str.size())); in LoadImage() 33 double scale_factor, in LoadIconImage() argument 35 LoadImage(image, scale_factor, name, CefSize(16, 16)); in LoadIconImage()
|
D | image_util.h | 16 double scale_factor, 22 double scale_factor,
|
/third_party/cef/libcef_dll/cpptoc/ |
D | image_cpptoc.cc | 76 float scale_factor, in image_add_bitmap() argument 97 scale_factor, pixel_width, pixel_height, color_type, alpha_type, in image_add_bitmap() 105 float scale_factor, in image_add_png() argument 122 CefImageCppToC::Get(self)->AddPNG(scale_factor, png_data, png_data_size); in image_add_png() 129 float scale_factor, in image_add_jpeg() argument 145 bool _retval = CefImageCppToC::Get(self)->AddJPEG(scale_factor, jpeg_data, in image_add_jpeg() 185 float scale_factor) { in image_has_representation() argument 195 bool _retval = CefImageCppToC::Get(self)->HasRepresentation(scale_factor); in image_has_representation() 202 float scale_factor) { in image_remove_representation() argument 212 bool _retval = CefImageCppToC::Get(self)->RemoveRepresentation(scale_factor); in image_remove_representation() [all …]
|
/third_party/cef/include/ |
D | cef_image.h | 83 virtual bool AddBitmap(float scale_factor, 97 virtual bool AddPNG(float scale_factor, 107 virtual bool AddJPEG(float scale_factor, 127 virtual bool HasRepresentation(float scale_factor) = 0; 133 virtual bool RemoveRepresentation(float scale_factor) = 0; 142 virtual bool GetRepresentationInfo(float scale_factor, 156 virtual CefRefPtr<CefBinaryValue> GetAsBitmap(float scale_factor, 170 virtual CefRefPtr<CefBinaryValue> GetAsPNG(float scale_factor, 185 virtual CefRefPtr<CefBinaryValue> GetAsJPEG(float scale_factor,
|
/third_party/cef/include/capi/ |
D | cef_image_capi.h | 84 float scale_factor, 98 float scale_factor, 108 float scale_factor, 127 float scale_factor); 133 float scale_factor); 142 float scale_factor, 157 float scale_factor, 173 float scale_factor, 189 float scale_factor,
|
/third_party/cef/libcef/common/ |
D | resource_bundle_delegate.cc | 7 ui::ResourceScaleFactor scale_factor) { in GetPathForResourcePack() argument 33 ui::ResourceScaleFactor scale_factor) { in LoadDataResourceBytes() argument 44 ui::ResourceScaleFactor scale_factor, in GetRawDataResource() argument 53 if (scale_factor != ui::kScaleFactorNone) { in GetRawDataResource() 55 resource_id, static_cast<cef_scale_factor_t>(scale_factor), in GetRawDataResource()
|
D | resource_bundle_delegate.h | 27 ui::ResourceScaleFactor scale_factor) override; 34 ui::ResourceScaleFactor scale_factor) override; 37 ui::ResourceScaleFactor scale_factor,
|
D | resource_bundle_impl.cc | 26 ScaleFactor scale_factor) { in GetDataResourceForScale() argument 32 resource_id, static_cast<ui::ResourceScaleFactor>(scale_factor)); in GetDataResourceForScale()
|
/third_party/ffmpeg/libavcodec/ |
D | sbc.c | 92 bitneed[ch][sb] = frame->scale_factor[ch][sb]; in ff_sbc_calculate_bits() 98 if (frame->scale_factor[ch][sb] == 0) in ff_sbc_calculate_bits() 102 loudness = frame->scale_factor[ch][sb] - sbc_offset4[sf][sb]; in ff_sbc_calculate_bits() 104 loudness = frame->scale_factor[ch][sb] - sbc_offset8[sf][sb]; in ff_sbc_calculate_bits() 174 bitneed[ch][sb] = frame->scale_factor[ch][sb]; in ff_sbc_calculate_bits() 182 if (frame->scale_factor[ch][sb] == 0) in ff_sbc_calculate_bits() 186 loudness = frame->scale_factor[ch][sb] - sbc_offset4[sf][sb]; in ff_sbc_calculate_bits() 188 loudness = frame->scale_factor[ch][sb] - sbc_offset8[sf][sb]; in ff_sbc_calculate_bits()
|
D | sbcdsp.c | 271 uint32_t scale_factor[2][8], in sbc_calc_scalefactors() 283 scale_factor[ch][sb] = (31 - SCALE_OUT_BITS) - ff_clz(x); in sbc_calc_scalefactors() 289 uint32_t scale_factor[2][8], in sbc_calc_scalefactors_j() 308 scale_factor[0][sb] = (31 - SCALE_OUT_BITS) - ff_clz(x); in sbc_calc_scalefactors_j() 309 scale_factor[1][sb] = (31 - SCALE_OUT_BITS) - ff_clz(y); in sbc_calc_scalefactors_j() 328 scale_factor[0][sb] = (31 - SCALE_OUT_BITS) - in sbc_calc_scalefactors_j() 330 scale_factor[1][sb] = (31 - SCALE_OUT_BITS) - in sbc_calc_scalefactors_j() 346 if ((scale_factor[0][sb] + scale_factor[1][sb]) > x + y) { in sbc_calc_scalefactors_j() 348 scale_factor[0][sb] = x; in sbc_calc_scalefactors_j() 349 scale_factor[1][sb] = y; in sbc_calc_scalefactors_j()
|
D | g722dec.c | 66 c->band[0].scale_factor = 8; in g722_decode_init() 67 c->band[1].scale_factor = 2; in g722_decode_init() 115 rlow = av_clip_intp2((c->band[0].scale_factor * quantizer_table[ilow] >> 10) in g722_decode_frame() 120 dhigh = c->band[1].scale_factor * ff_g722_high_inv_quant[ihigh] >> 10; in g722_decode_frame()
|
D | g722enc.c | 63 c->band[0].scale_factor = 8; in g722_encode_init() 64 c->band[1].scale_factor = 2; in g722_encode_init() 146 int pred = 141 * state->scale_factor >> 8; in encode_high() 158 if (limit > low_quant[8] * state->scale_factor) in encode_low() 160 while (i < 29 && limit > low_quant[i] * state->scale_factor) in encode_low() 217 decoded = av_clip_intp2((cur_node->state.scale_factor * in g722_encode_trellis() 274 dhigh = cur_node->state.scale_factor * in g722_encode_trellis() 326 ff_g722_update_high_predictor(&c->band[1], c->band[1].scale_factor * in encode_byte()
|
D | sbcenc.c | 147 put_bits(&pb, 4, frame->scale_factor[ch][sb] & 0x0F); in sbc_pack_frame() 149 crc_header[crc_pos >> 3] |= frame->scale_factor[ch][sb] & 0x0F; in sbc_pack_frame() 165 (32 - (frame->scale_factor[ch][sb] + in sbc_pack_frame() 168 (frame->scale_factor[ch][sb] + in sbc_pack_frame() 310 frame->scale_factor, in sbc_encode_frame() 315 frame->scale_factor, in sbc_encode_frame()
|
D | g722.c | 146 band->scale_factor * ff_g722_low_inv_quant4[ilow] >> 10); in ff_g722_update_low_predictor() 151 band->scale_factor = linear_scale_factor(band->log_factor - (8 << 11)); in ff_g722_update_low_predictor() 162 band->scale_factor = linear_scale_factor(band->log_factor - (10 << 11)); in ff_g722_update_high_predictor()
|
D | sbcdsp.h | 70 uint32_t scale_factor[2][8], 74 uint32_t scale_factor[2][8],
|
/third_party/gstreamer/gstplugins_bad/gst/siren/ |
D | common.c | 227 int *scale_factor, int *number_of_regions, int *sample_rate_code, in GetSirenCodecInfo() argument 240 *scale_factor = 22; in GetSirenCodecInfo() 250 *scale_factor = 1; in GetSirenCodecInfo() 268 *scale_factor = 33; in GetSirenCodecInfo() 287 *scale_factor = 33; in GetSirenCodecInfo()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_sr.c | 40 int scale_factor; member 54 …{ "scale_factor", "scale factor for SRCNN model", OFFSET(scale_factor), AV_OPT_TYPE_INT, { .i64 = … 117 outlink->w = out_width * ctx->scale_factor; in config_output() 118 outlink->h = out_height * ctx->scale_factor; in config_output()
|
/third_party/cef/tests/shared/browser/ |
D | util_win.cc | 159 static float scale_factor = 1.0; in GetDeviceScaleFactor() local 168 scale_factor = static_cast<float>(dpi_x) / 96.0f; in GetDeviceScaleFactor() 173 return scale_factor; in GetDeviceScaleFactor()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | jcparam.c | 29 const unsigned int *basic_table, int scale_factor, in jpeg_add_quant_table() argument 54 temp = ((long)basic_table[i] * scale_factor + 50L) / 100L; in jpeg_add_quant_table() 113 jpeg_set_linear_quality(j_compress_ptr cinfo, int scale_factor, in jpeg_set_linear_quality() argument 123 scale_factor, force_baseline); in jpeg_set_linear_quality() 125 scale_factor, force_baseline); in jpeg_set_linear_quality()
|