/external/zxing/core/ |
H A D | core.jar | ... crop (int, int, int, int) int left
int top
int width
int height
com.google.zxing.LuminanceSource newSource ... |
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
H A D | CaptureActivity.java | 125 int width = intent.getIntExtra(Intents.Scan.WIDTH, 0); 127 if (width > 0 && height > 0) { 128 cameraManager.setManualFramingRect(width, height); 189 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
|
H A D | DecodeHandler.java | 66 * @param width The width of the preview frame. 69 private void decode(byte[] data, int width, int height) { argument 72 PlanarYUVLuminanceSource source = activity.getCameraManager().buildLuminanceSource(data, width, height);
|
H A D | PlanarYUVLuminanceSource.java | 42 int width, int height, boolean reverseHorizontal) { 43 super(width, height); 45 if (left + width > dataWidth || top + height > dataHeight) { 55 reverseHorizontal(width, height); 64 int width = getWidth(); 65 if (row == null || row.length < width) { 66 row = new byte[width]; 69 System.arraycopy(yuvData, offset, row, 0, width); 75 int width = getWidth(); 80 if (width 41 PlanarYUVLuminanceSource(byte[] yuvData, int dataWidth, int dataHeight, int left, int top, int width, int height, boolean reverseHorizontal) argument 130 reverseHorizontal(int width, int height) argument [all...] |
H A D | ViewfinderView.java | 87 int width = canvas.getWidth(); 92 canvas.drawRect(0, 0, width, frame.top, paint); 94 canvas.drawRect(frame.right + 1, frame.top, width, frame.bottom + 1, paint); 95 canvas.drawRect(0, frame.bottom + 1, width, height, paint); 118 float scaleX = frame.width() / (float) previewFrame.width();
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/ |
H A D | CameraConfigurationManager.java | 55 int width = display.getWidth(); 59 if (width < height) { 61 int temp = width; 62 width = height; 65 screenResolution = new Point(width, height); 140 int pixels = supportedPreviewSize.height * supportedPreviewSize.width; 144 int supportedWidth = portrait ? supportedPreviewSize.height : supportedPreviewSize.width; 145 int supportedHeight = portrait ? supportedPreviewSize.width : supportedPreviewSize.height; 158 bestSize = new Point(defaultSize.width, defaultSize.height);
|
H A D | CameraManager.java | 145 * in the message.obj field, with width and height encoded as message.arg1 and message.arg2, 185 int width = screenResolution.x * 3 / 4; 186 if (width < MIN_FRAME_WIDTH) { 187 width = MIN_FRAME_WIDTH; 188 } else if (width > MAX_FRAME_WIDTH) { 189 width = MAX_FRAME_WIDTH; 197 int leftOffset = (screenResolution.x - width) / 2; 199 framingRect = new Rect(leftOffset, topOffset, leftOffset + width, topOffset + height); 234 * @param width The width i 237 setManualFramingRect(int width, int height) argument 266 buildLuminanceSource(byte[] data, int width, int height) argument [all...] |
/external/zlib/src/contrib/iostream2/ |
H A D | zstream.h | 247 oss->width(m_os->width());
|
/external/zlib/src/contrib/untgz/ |
H A D | untgz.c | 168 int getoct (char *p,int width) argument 173 while (width--)
|
/external/zlib/src/ |
H A D | trees.c | 198 * (16 - bi_valid) bits from value, leaving (width - (16-bi_valid)) 324 # define SEPARATOR(i, last, width) \ 326 ((i) % (width) == (width)-1 ? ",\n" : ", "))
|
/external/webrtc/src/ |
H A D | common_types.h | 553 unsigned short width; member in struct:webrtc::SimulcastStream 567 unsigned short width; member in struct:webrtc::VideoCodec
|
/external/webrtc/src/modules/audio_processing/test/android/apmtest/jni/ |
H A D | main.c | 55 int32_t width; member in struct:engine 115 engine->width = w; 138 glClearColor(((float)engine->state.x)/engine->width, engine->state.angle,
|
/external/webrtc/src/modules/audio_processing/test/testsupport/metrics/ |
H A D | video_metrics.cc | 34 int width, 42 frame_result.value = I420PSNR(ref, test, width, height); 45 frame_result.value = I420SSIM(ref, test, width, height); 83 int width, 89 assert(width > 0); 108 const int frame_length = 3 * width * height >> 1; 117 CalculateFrame(kPSNR, ref, test, width, height, frame_number, 121 CalculateFrame(kSSIM, ref, test, width, height, frame_number, 125 CalculateFrame(kPSNR, ref, test, width, height, frame_number, 127 CalculateFrame(kSSIM, ref, test, width, heigh 31 CalculateFrame(VideoMetricsType video_metrics_type, uint8_t* ref, uint8_t* test, int width, int height, int frame_number, QualityMetricsResult* result) argument 80 CalculateMetrics(VideoMetricsType video_metrics_type, const char* ref_filename, const char* test_filename, int width, int height, QualityMetricsResult* psnr_result, QualityMetricsResult* ssim_result) argument 154 I420MetricsFromFiles(const char* ref_filename, const char* test_filename, int width, int height, QualityMetricsResult* psnr_result, QualityMetricsResult* ssim_result) argument 166 I420PSNRFromFiles(const char* ref_filename, const char* test_filename, int width, int height, QualityMetricsResult* result) argument 176 I420SSIMFromFiles(const char* ref_filename, const char* test_filename, int width, int height, QualityMetricsResult* result) argument [all...] |
H A D | video_metrics.h | 62 int width, 84 int width, 105 int width,
|
/external/webrtc/src/modules/interface/ |
H A D | module_common_types.h | 106 WebRtc_UWord16 width; // size member in struct:webrtc::RTPVideoHeader 497 * Get frame width 505 * Set frame width 507 void SetWidth(const WebRtc_UWord32 width) {_width = width;} argument
|
/external/webrtc/test/testsupport/metrics/ |
H A D | video_metrics.cc | 34 int width, 42 frame_result.value = I420PSNR(ref, test, width, height); 45 frame_result.value = I420SSIM(ref, test, width, height); 83 int width, 89 assert(width > 0); 108 const int frame_length = 3 * width * height >> 1; 117 CalculateFrame(kPSNR, ref, test, width, height, frame_number, 121 CalculateFrame(kSSIM, ref, test, width, height, frame_number, 125 CalculateFrame(kPSNR, ref, test, width, height, frame_number, 127 CalculateFrame(kSSIM, ref, test, width, heigh 31 CalculateFrame(VideoMetricsType video_metrics_type, uint8_t* ref, uint8_t* test, int width, int height, int frame_number, QualityMetricsResult* result) argument 80 CalculateMetrics(VideoMetricsType video_metrics_type, const char* ref_filename, const char* test_filename, int width, int height, QualityMetricsResult* psnr_result, QualityMetricsResult* ssim_result) argument 154 I420MetricsFromFiles(const char* ref_filename, const char* test_filename, int width, int height, QualityMetricsResult* psnr_result, QualityMetricsResult* ssim_result) argument 166 I420PSNRFromFiles(const char* ref_filename, const char* test_filename, int width, int height, QualityMetricsResult* result) argument 176 I420SSIMFromFiles(const char* ref_filename, const char* test_filename, int width, int height, QualityMetricsResult* result) argument [all...] |
H A D | video_metrics.h | 62 int width, 84 int width, 105 int width,
|
/external/wpa_supplicant_8/hostapd/ |
H A D | config_file.c | 1635 icon->width = atoi(pos);
|
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | ap_config.h | 473 u16 width; member in struct:hostapd_bss_config::hs20_icon
|
H A D | drv_callbacks.c | 439 int offset, int width, int cf1, int cf2) 446 "freq=%d, ht=%d, offset=%d, width=%d, cf1=%d, cf2=%d", 447 freq, ht, offset, width, cf1, cf2); 459 switch (width) { 438 hostapd_event_ch_switch(struct hostapd_data *hapd, int freq, int ht, int offset, int width, int cf1, int cf2) argument
|
H A D | gas_serv.c | 567 wpabuf_put_le16(buf, icon->width);
|
H A D | hostapd.h | 425 int offset, int width, int cf1, int cf2);
|
/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | driver.h | 1228 /* enum chan_width - Channel width definitions */ 4072 * @ch_width: Channel width 4199 const char * channel_width_to_string(enum chan_width width);
|
H A D | driver_common.c | 89 const char * channel_width_to_string(enum chan_width width) argument 91 switch (width) {
|
H A D | driver_nl80211.c | 551 static enum chan_width convert2width(int width) argument 553 switch (width) { 1705 static int calculate_chan_offset(int width, int freq, int cf1, int cf2) argument 1709 switch (convert2width(width)) { 2886 wpa_printf(MSG_DEBUG, "nl80211: DFS event on freq %d MHz, ht: %d, offset: %d, width: %d, cf1: %dMHz, cf2: %dMHz", 12256 wpa_printf(MSG_DEBUG, "nl80211: Channel switch request (cs_count=%u block_tx=%u freq=%d width=%d cf1=%d cf2=%d)",
|