/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...] |
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/ |
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/untgz/ |
H A D | untgz.c | 168 int getoct (char *p,int width) argument 173 while (width--)
|
/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...] |
/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...] |
/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
|
/external/wpa_supplicant_8/hostapd/src/drivers/ |
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)",
|
/external/wpa_supplicant_8/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
|
/external/wpa_supplicant_8/src/drivers/ |
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)",
|
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | ap.c | 1112 int offset, int width, int cf1, int cf2) 1118 hostapd_event_ch_switch(wpa_s->ap_iface->bss[0], freq, ht, offset, width, cf1, cf1); 1111 wpas_ap_ch_switch(struct wpa_supplicant *wpa_s, int freq, int ht, int offset, int width, int cf1, int cf2) argument
|
H A D | hs20_supplicant.c | 37 u16 width; member in struct:osu_icon 512 icon->id, icon->width, icon->height, icon->lang, 656 icon->width = WPA_GET_LE16(pos2);
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers.c | 1191 int freq, width; local 1223 dbus_message_iter_get_basic(&sub_array_iter, &width); 1452 if (!wpa_dbus_dict_append_string(&iter_dict, "width",
|
/external/wpa_supplicant_8/wpa_supplicant/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
|
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | driver_common.c | 89 const char * channel_width_to_string(enum chan_width width) argument 91 switch (width) {
|