Searched refs:width (Results 1 - 25 of 8124) sorted by last modified time

1234567891011>>

/external/zxing/core/
H A Dcore.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 DCaptureActivity.java125 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 DDecodeHandler.java66 * @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 DPlanarYUVLuminanceSource.java42 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 DViewfinderView.java87 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 DCameraConfigurationManager.java55 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 DCameraManager.java145 * 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 Dzstream.h247 oss->width(m_os->width());
/external/zlib/src/contrib/untgz/
H A Duntgz.c168 int getoct (char *p,int width) argument
173 while (width--)
/external/zlib/src/
H A Dtrees.c198 * (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 Dcommon_types.h553 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 Dmain.c55 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 Dvideo_metrics.cc34 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 Dvideo_metrics.h62 int width,
84 int width,
105 int width,
/external/webrtc/src/modules/interface/
H A Dmodule_common_types.h106 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 Dvideo_metrics.cc34 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 Dvideo_metrics.h62 int width,
84 int width,
105 int width,
/external/wpa_supplicant_8/hostapd/
H A Dconfig_file.c1635 icon->width = atoi(pos);
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dap_config.h473 u16 width; member in struct:hostapd_bss_config::hs20_icon
H A Ddrv_callbacks.c439 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 Dgas_serv.c567 wpabuf_put_le16(buf, icon->width);
H A Dhostapd.h425 int offset, int width, int cf1, int cf2);
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver.h1228 /* enum chan_width - Channel width definitions */
4072 * @ch_width: Channel width
4199 const char * channel_width_to_string(enum chan_width width);
H A Ddriver_common.c89 const char * channel_width_to_string(enum chan_width width) argument
91 switch (width) {
H A Ddriver_nl80211.c551 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)",

Completed in 956 milliseconds

1234567891011>>