/frameworks/av/camera/ |
H A D | CameraParameters.cpp | 40 const char CameraParameters::KEY_JPEG_THUMBNAIL_WIDTH[] = "jpeg-thumbnail-width"; 331 int width, height; local 332 int success = parse_pair(sizeStartPtr, &width, &height, 'x', 338 sizes.push(Size(width, height)); 347 void CameraParameters::setPreviewSize(int width, int height) argument 350 sprintf(str, "%dx%d", width, height); 354 void CameraParameters::getPreviewSize(int *width, int *height) const argument 356 *width = *height = -1; 360 parse_pair(p, width, height, 'x'); 363 void CameraParameters::getPreferredPreviewSizeForVideo(int *width, in argument 377 setVideoSize(int width, int height) argument 384 getVideoSize(int *width, int *height) const argument 426 setPictureSize(int width, int height) argument 433 getPictureSize(int *width, int *height) const argument [all...] |
H A D | CameraParameters2.cpp | 219 int width, height; 220 int success = parse_pair(sizeStartPtr, &width, &height, 'x', 226 sizes.push(Size(width, height)); 235 void CameraParameters2::setPreviewSize(int width, int height) 238 sprintf(str, "%dx%d", width, height); 242 void CameraParameters2::getPreviewSize(int *width, int *height) const 244 *width = *height = -1; 248 parse_pair(p, width, height, 'x'); 251 void CameraParameters2::getPreferredPreviewSizeForVideo(int *width, int *height) const 253 *width [all...] |
/frameworks/av/camera/aidl/android/hardware/camera2/ |
H A D | ICameraDeviceUser.aidl | 100 * <p>Create an input stream of width, height, and format</p> 102 * @param width Width of the input buffers 108 int createInputStream(int width, int height, int format);
|
/frameworks/av/camera/camera2/ |
H A D | OutputConfiguration.cpp | 106 int width = 0; local 107 if ((err = parcel->readInt32(&width)) != OK) { 108 ALOGE("%s: Failed to read surface width from parcel", __FUNCTION__); 145 mWidth = width;
|
/frameworks/av/camera/include/camera/ |
H A D | CameraParameters.h | 26 int width; member in struct:android::Size 30 width = 0; 35 width = w; 59 void setPreviewSize(int width, int height); 60 void getPreviewSize(int *width, int *height) const; 63 // Set the dimensions in pixels to the given width and height 64 // for video frames. The given width and height must be one 68 void setVideoSize(int width, int height); 69 // Retrieve the current dimensions (width and height) 74 void getVideoSize(int *width, in [all...] |
H A D | CameraParameters2.h | 66 void setPreviewSize(int width, int height); 67 void getPreviewSize(int *width, int *height) const; 70 // Set the dimensions in pixels to the given width and height 71 // for video frames. The given width and height must be one 75 void setVideoSize(int width, int height); 76 // Retrieve the current dimensions (width and height) 81 void getVideoSize(int *width, int *height) const; 82 // Retrieve a Vector of supported dimensions (width and height) 89 // Retrieve the preferred preview size (width and height) in pixels 90 // for video recording. The given width an [all...] |
/frameworks/av/camera/ndk/impl/ |
H A D | ACameraMetadata.cpp | 103 int32_t width = entry.data.i32[i + STREAM_WIDTH_OFFSET]; local 115 filteredStreamConfigs.push_back(width); 128 int32_t width = entry.data.i32[i + STREAM_WIDTH_OFFSET]; local 143 filteredDepthStreamConfigs.push_back(width);
|
/frameworks/av/camera/tests/ |
H A D | CameraZSLTests.cpp | 275 params.setPictureSize(pictureSizes[i].width,
|
/frameworks/av/cmds/screenrecord/ |
H A D | EglWindow.cpp | 63 status_t EglWindow::createPbuffer(int width, int height) { argument 73 mWidth = width; 77 EGL_WIDTH, width,
|
H A D | EglWindow.h | 48 status_t createPbuffer(int width, int height); 50 // Return width and height values (obtained from IGBP).
|
H A D | FontBitmap.h | 4 static const uint32_t width = 256; member in class:FontBitmap
|
H A D | FrameOutput.cpp | 43 status_t FrameOutput::createInputSurface(int width, int height, argument 47 err = mEglWindow.createPbuffer(width, height); 53 glViewport(0, 0, width, height); 76 mGlConsumer->setDefaultBufferSize(width, height); 82 mPixelBuf = new uint8_t[width * height * kGlBytesPerPixel]; 123 int width = mEglWindow.getWidth(); local 126 width, height, true); 139 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, mPixelBuf); 147 reduceRgbaToRgb(mPixelBuf, width * height); 155 size_t rgbDataLen = width * heigh [all...] |
H A D | FrameOutput.h | 41 status_t createInputSurface(int width, int height,
|
H A D | Overlay.cpp | 142 int width = mEglWindow.getWidth(); local 145 glViewport(0, 0, width, height); 163 mTextRenderer.setScreenSize(width, height); 177 mGlConsumer->setDefaultBufferSize(width, height); 218 int width = mEglWindow.getWidth(); local 222 100, 100, width-200, height-200); 225 0, 0, width, height); 232 100, 100, width-200, height-200); 299 int width = window.getWidth(); local 301 glViewport(0, 0, width, heigh 334 int width = window.getWidth(); local [all...] |
H A D | TextRenderer.cpp | 48 // by one pixel more than the width because the generator left a gap to 101 if (!isPowerOfTwo(FontBitmap::width)) { 102 ALOGE("npot glyph bitmap width %u", FontBitmap::width); 107 uint8_t* rgbaPixels = new uint8_t[FontBitmap::width * potHeight * 4]; 108 memset(rgbaPixels, 0, FontBitmap::width * potHeight * 4); 111 for (unsigned int i = 0; i < FontBitmap::width * FontBitmap::height; i++) { 128 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, FontBitmap::width, potHeight, 0, 141 ALOGW("setFontScale: can't set scale for width=%d height=%d", 171 float width [all...] |
H A D | TextRenderer.h | 51 void setScreenSize(uint32_t width, uint32_t height) { argument 52 mScreenWidth = width; 98 // Computes the width of the string, in pixels. 101 // Computes the width of first N characters in the string.
|
H A D | screenrecord.cpp | 79 static uint32_t gVideoWidth = 0; // default width+height 160 format->setInt32("width", gVideoWidth); 220 // case is "all of it". If the app is rotated (so that the width of the 221 // app is based on the height of the display), reverse width/height. 228 ALOGV("using rotated width/height"); 241 // "pre-rotate" it by flipping width/height, so that the orientation 247 // In that case, we swap the configured video width/height and then 259 // limited by narrow width; reduce height 263 // limited by short height; restrict width 806 long width, heigh local [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | jpeg.cpp | 40 int writeJpegFile(const char *filename, uint8_t *frame, int width, int height) { argument 43 uint8_t row_data[width * 3]; 63 cinfo.image_width = width; 74 uint16_t *src = (uint16_t *)(frame + row * width * 2); 76 for (int col = 0; col < width; col++) {
|
H A D | jpeg.h | 4 int writeJpegFile(const char *filename, uint8_t *frame, int width, int height);
|
H A D | muxer.cpp | 121 int width , height; local 122 CHECK(format->findInt32("width", &width)); 124 bufferSize = width * height * 4; // Assuming it is maximally 4BPP
|
H A D | record.cpp | 47 DummySource(int width, int height, int colorFormat) 48 : mWidth(width), 51 mSize((width * height * 3) / 2) { 199 int width, height; 200 bool success = meta->findInt32(kKeyWidth, &width); 204 int width = 720; 206 sp<MediaSource> decoder = new DummySource(width, height, colorFormat); 213 enc_meta->setInt32("width", width); 217 // enc_meta->setInt32("stride", width); [all...] |
H A D | recordvideo.cpp | 49 fprintf(stderr, " -w width in pixels (default: 176)\n"); 62 DummySource(int width, int height, int nFrames, int fps, int colorFormat) argument 63 : mWidth(width), 68 mSize((width * height * 3) / 2) { 168 int width = 176; local 219 width = atoi(optarg); 273 new DummySource(width, height, nFrames, frameRateFps, colorFormat); 287 enc_meta->setInt32("width", width); 291 enc_meta->setInt32("stride", width); [all...] |
/frameworks/av/drm/libmediadrm/ |
H A D | Crypto.cpp | 270 void Crypto::notifyResolution(uint32_t width, uint32_t height) { argument 274 mPlugin->notifyResolution(width, height);
|
H A D | CryptoHal.cpp | 370 void CryptoHal::notifyResolution(uint32_t width, uint32_t height) { argument 377 mPlugin->notifyResolution(width, height);
|
H A D | ICrypto.cpp | 165 uint32_t width, uint32_t height) { 168 data.writeInt32(width); 423 int32_t width = data.readInt32(); local 425 notifyResolution(width, height); 164 notifyResolution( uint32_t width, uint32_t height) argument
|