Searched defs:height (Results 1 - 25 of 2970) sorted by last modified time

1234567891011>>

/external/zxing/core/
H A Dcore.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 DCaptureActivity.java126 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 DDecodeHandler.java67 * @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 DPlanarYUVLuminanceSource.java42 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 DCameraManager.java145 * 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 Dcommon_types.h554 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 Dmain.c56 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 Dvideo_metrics.cc35 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 Dmodule_common_types.h107 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 Dvideo_metrics.cc35 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 Dap_config.h474 u16 height; member in struct:hostapd_bss_config::hs20_icon
/external/wpa_supplicant_8/src/ap/
H A Dap_config.h474 u16 height; member in struct:hostapd_bss_config::hs20_icon
/external/wpa_supplicant_8/wpa_supplicant/
H A Dhs20_supplicant.c38 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 Dap_config.h474 u16 height; member in struct:hostapd_bss_config::hs20_icon
/external/webp/examples/
H A Ddwebp.c97 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 Ddecode.h41 // 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 Ddemux.h19 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 Dencode.h50 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 Dalpha.c46 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 Dbuffer.c40 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 Ddecode_vp8.h49 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 Dframe.c508 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 Didec.c339 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 Dvp8.c98 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 Dvp8l.c89 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...]

Completed in 297 milliseconds

1234567891011>>