/external/zxing/core/ |
H A D | core.jar | ... int, int, int) int left
int top
int width
int height
com.google.zxing.LuminanceSource newSource
public boolean ... |
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
H A D | CaptureActivity.java | 126 int height = intent.getIntExtra(Intents.Scan.HEIGHT, 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 | 67 * @param height The height 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); 76 int height = getHeight(); 80 if (width == dataWidth && height == dataHeight) { 84 int area = width * height; 96 for (int y = 0; y < height; y++) { 111 int height = getHeight(); 112 int[] pixels = new int[width * height]; 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, 191 int height = screenResolution.y * 3 / 4; 192 if (height < MIN_FRAME_HEIGHT) { 193 height = MIN_FRAME_HEIGHT; 194 } else if (height > MAX_FRAME_HEIGHT) { 195 height = MAX_FRAME_HEIGHT; 198 int topOffset = (screenResolution.y - height) / 2; 199 framingRect = new Rect(leftOffset, topOffset, leftOffset + width, topOffset + height); 235 * @param height The height i 237 setManualFramingRect(int width, int height) argument 266 buildLuminanceSource(byte[] data, int width, int height) argument [all...] |
/external/webrtc/src/ |
H A D | common_types.h | 554 unsigned short height; member in struct:webrtc::SimulcastStream 568 unsigned short height; member in struct:webrtc::VideoCodec
|
/external/webrtc/src/modules/audio_processing/test/android/apmtest/jni/ |
H A D | main.c | 56 int32_t height; member in struct:engine 116 engine->height = h; 139 ((float)engine->state.y)/engine->height, 1);
|
/external/webrtc/src/modules/audio_processing/test/testsupport/metrics/ |
H A D | video_metrics.cc | 35 int height, 42 frame_result.value = I420PSNR(ref, test, width, height); 45 frame_result.value = I420SSIM(ref, test, width, height); 84 int height, 90 assert(height > 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, height, frame_numbe 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 | 107 WebRtc_UWord16 height; member in struct:webrtc::RTPVideoHeader 501 * Get frame height 509 * Set frame height 511 void SetHeight(const WebRtc_UWord32 height) {_height = height;} argument
|
/external/webrtc/test/testsupport/metrics/ |
H A D | video_metrics.cc | 35 int height, 42 frame_result.value = I420PSNR(ref, test, width, height); 45 frame_result.value = I420SSIM(ref, test, width, height); 84 int height, 90 assert(height > 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, height, frame_numbe 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 | 474 u16 height; member in struct:hostapd_bss_config::hs20_icon
|
/external/wpa_supplicant_8/src/ap/ |
H A D | ap_config.h | 474 u16 height; member in struct:hostapd_bss_config::hs20_icon
|
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | hs20_supplicant.c | 38 u16 height; member in struct:osu_icon 512 icon->id, icon->width, icon->height, icon->lang, 658 icon->height = WPA_GET_LE16(pos2);
|
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | ap_config.h | 474 u16 height; member in struct:hostapd_bss_config::hs20_icon
|
/external/webp/examples/ |
H A D | dwebp.c | 97 uint32_t width, uint32_t height, int has_alpha) { 124 IFS(IWICBitmapFrameEncode_SetSize(frame, width, height)); 126 IFS(IWICBitmapFrameEncode_WritePixels(frame, height, stride, 127 height * stride, rgb)); 141 const uint32_t height = buffer->height; local 148 rgb, stride, width, height, has_alpha)); 159 const uint32_t height = buffer->height; local 182 png_set_IHDR(png, info, width, height, 95 WriteUsingWIC(const char* out_file_name, REFGUID container_guid, unsigned char* rgb, int stride, uint32_t width, uint32_t height, int has_alpha) argument 208 const uint32_t height = buffer->height; local 230 const uint32_t height = buffer->height; local 251 const int height = buffer->height; local [all...] |
/external/webp/include/webp/ |
H A D | decode.h | 41 // Retrieve basic header information: width, height. 44 // Pointers 'width' and 'height' can be passed NULL if deemed irrelevant. 46 int* width, int* height); 49 // with the dimensions in *width and *height. The ordering of samples in 54 int* width, int* height); 58 int* width, int* height); 62 int* width, int* height); 67 int* width, int* height); 71 int* width, int* height); 78 // are both (*width + 1) / 2 and (*height 196 int width, height; // Dimensions. member in struct:WebPDecBuffer 352 WebPIDecGetYUV( const WebPIDecoder* idec, int* last_y, uint8_t** u, uint8_t** v, int* width, int* height, int* stride, int* uv_stride) argument 404 int height; // Height in pixels, as read from the bitstream. member in struct:WebPBitstreamFeatures [all...] |
H A D | demux.h | 19 uint32_t height = WebPDemuxGetI(demux, WEBP_FF_CANVAS_HEIGHT); 28 // ... and get other frame properties like width, height, offsets etc. 140 int width, height; // dimensions of this frame or fragment. member in struct:WebPIterator
|
H A D | encode.h | 50 int width, int height, int stride, 53 int width, int height, int stride, 56 int width, int height, int stride, 59 int width, int height, int stride, 66 int width, int height, int stride, 69 int width, int height, int stride, 72 int width, int height, int stride, 75 int width, int height, int stride, 270 VP8_ENC_ERROR_BAD_DIMENSION, // picture has invalid width/height 279 // maximum width/height allowe 294 int width, height; // dimensions (less or equal to WEBP_MAX_DIMENSION) member in struct:WebPPicture [all...] |
/external/webp/src/dec/ |
H A D | alpha.c | 46 size_t data_size, int width, int height, uint8_t* output) { 52 assert(width > 0 && height > 0); 56 dec->height_ = height; 91 const int height = alph_dec->height_; local 108 unfilter_func(width, height, width, row, num_rows, output); 123 const int height = dec->pic_hdr_.height_; local 125 if (row < 0 || num_rows <= 0 || row + num_rows > height) { 135 width, height, dec->alpha_plane_)) { 144 num_rows = height; // decode everything in one pass 153 ok = WebPDequantizeLevels(dec->alpha_plane_, width, height, 45 ALPHInit(ALPHDecoder* const dec, const uint8_t* data, size_t data_size, int width, int height, uint8_t* output) argument [all...] |
H A D | buffer.c | 40 const int height = buffer->height; local 49 const uint64_t y_size = (uint64_t)y_stride * height; 50 const uint64_t u_size = (uint64_t)u_stride * ((height + 1) / 2); 51 const uint64_t v_size = (uint64_t)v_stride * ((height + 1) / 2); 52 const uint64_t a_size = (uint64_t)a_stride * height; 70 const uint64_t size = (uint64_t)stride * height; 80 const int h = buffer->height; 145 buf->rgba += (buffer->height - 1) * buf->stride; 149 const int H = buffer->height; [all...] |
H A D | decode_vp8.h | 49 int width, height; // picture dimensions, in pixels (invariable). member in struct:VP8Io 163 // width and height. Returns 0 in case of formatting error. *width/*height 169 int* const width, int* const height); 175 // width, height and alpha. Returns 0 in case of formatting error. 176 // width/height/has_alpha can be passed NULL. 179 int* const width, int* const height, int* const has_alpha);
|
H A D | frame.c | 508 int width, int height) { 514 (void)height; 520 if (height < 2 * width) return 2; 551 // alpha_size is the only one that scales as width x height. 506 VP8GetThreadMethod(const WebPDecoderOptions* const options, const WebPHeaderStructure* const headers, int width, int height) argument
|
H A D | idec.c | 339 int width, height; local 346 if (!VP8GetInfo(data, curr_size, idec->chunk_size_, &width, &height)) { 408 dec->status_ = WebPAllocateDecBuffer(io->width, io->height, params->options, 415 io->width, io->height); 510 dec->status_ = WebPAllocateDecBuffer(io->width, io->height, params->options, 781 int* width, int* height) { 788 if (height != NULL) *height = idec->params_.last_y; 791 if (height != NULL) *height 779 WebPIDecodedArea(const WebPIDecoder* idec, int* left, int* top, int* width, int* height) argument 796 WebPIDecGetRGB(const WebPIDecoder* idec, int* last_y, int* width, int* height, int* stride) argument 812 WebPIDecGetYUVA(const WebPIDecoder* idec, int* last_y, uint8_t** u, uint8_t** v, uint8_t** a, int* width, int* height, int* stride, int* uv_stride, int* a_stride) argument [all...] |
H A D | vp8.c | 98 int* const width, int* const height) { 125 return 0; // We don't support both width and height to be zero. 131 if (height) { 132 *height = h; 309 io->height = pic_hdr->height_; 315 io->crop_bottom = io->height; 317 io->mb_h = io->height; // ditto 97 VP8GetInfo(const uint8_t* data, size_t data_size, size_t chunk_size, int* const width, int* const height) argument
|
H A D | vp8l.c | 89 int* const width, int* const height, 93 *height = VP8LReadBits(br, VP8L_IMAGE_SIZE_BITS) + 1; 100 int* const width, int* const height, int* const has_alpha) { 113 if (height != NULL) *height = h; 701 assert(dec->last_out_row_ <= output->height); 737 int width, int height, int last_row) { 745 const int end = width * height; // End of data 751 assert(last_row <= height); 823 int width, int height, in 88 ReadImageInfo(VP8LBitReader* const br, int* const width, int* const height, int* const has_alpha) argument 99 VP8LGetInfo(const uint8_t* data, size_t data_size, int* const width, int* const height, int* const has_alpha) argument 736 DecodeAlphaData(VP8LDecoder* const dec, uint8_t* const data, int width, int height, int last_row) argument 822 DecodeImageData(VP8LDecoder* const dec, uint32_t* const data, int width, int height, int last_row, ProcessRowsFunc process_func) argument 1084 UpdateDecoder(VP8LDecoder* const dec, int width, int height) argument 1321 int width, height, has_alpha; local [all...] |