Searched refs:height (Results 1 - 25 of 1236) sorted by path

1234567891011>>

/frameworks/av/camera/
H A DCameraParameters.cpp41 const char CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT[] = "jpeg-thumbnail-height";
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
356 *width = *height = -1;
360 parse_pair(p, width, height, 'x');
363 void CameraParameters::getPreferredPreviewSizeForVideo(int *width, int *height) cons
377 setVideoSize(int width, int height) argument
426 setPictureSize(int width, int height) argument
[all...]
H A DCameraParameters2.cpp219 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 = *height
[all...]
/frameworks/av/camera/aidl/android/hardware/camera2/
H A DICameraDeviceUser.aidl82 * <p>Create an input stream of width, height, and format</p>
85 * @param height Height of the input buffers
90 int createInputStream(int width, int height, int format);
/frameworks/av/camera/ndk/impl/
H A DACameraMetadata.cpp104 int32_t height = entry.data.i32[i + STREAM_HEIGHT_OFFSET]; local
116 filteredStreamConfigs.push_back(height);
129 int32_t height = entry.data.i32[i + STREAM_HEIGHT_OFFSET]; local
144 filteredDepthStreamConfigs.push_back(height);
/frameworks/av/cmds/screenrecord/
H A DEglWindow.cpp64 status_t EglWindow::createPbuffer(int width, int height) { argument
75 mHeight = height;
79 EGL_HEIGHT, height,
H A DEglWindow.h48 status_t createPbuffer(int width, int height);
50 // Return width and height values (obtained from IGBP).
H A DFontBitmap.h5 static const uint32_t height = 204; member in class:FontBitmap
H A DFrameOutput.cpp43 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];
124 int height = mEglWindow.getHeight(); 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 * height * kOutBytesPerPixe
[all...]
H A DFrameOutput.h41 status_t createInputSurface(int width, int height,
H A DOverlay.cpp144 int height = mEglWindow.getHeight(); local
146 glViewport(0, 0, width, height);
164 mTextRenderer.setScreenSize(width, height);
178 mGlConsumer->setDefaultBufferSize(width, height);
221 int height = mEglWindow.getHeight(); local
224 100, 100, width-200, height-200);
227 0, 0, width, height);
234 100, 100, width-200, height-200);
297 int height = window.getHeight(); local
298 glViewport(0, 0, width, height);
332 int height = window.getHeight(); local
[all...]
H A DTextRenderer.cpp97 // It's guaranteed to be a power-of-two wide, but we cut off the height
106 uint32_t potHeight = powerOfTwoCeil(FontBitmap::height);
111 for (unsigned int i = 0; i < FontBitmap::width * FontBitmap::height; i++) {
141 ALOGW("setFontScale: can't set scale for width=%d height=%d",
198 float fullTexHeight = powerOfTwoCeil(FontBitmap::height);
259 ALOGW("drawWrappedString: can't wrap with width=%d height=%d",
H A DTextRenderer.h51 void setScreenSize(uint32_t width, uint32_t height) { argument
53 mScreenHeight = height;
104 // Returns the font's glyph height. This is the full pixel height of the
H A Dscreenrecord.cpp77 static uint32_t gVideoWidth = 0; // default width+height
159 format->setInt32("height", gVideoHeight);
220 // app is based on the height of the display), reverse width/height.
227 ALOGV("using rotated width/height");
240 // "pre-rotate" it by flipping width/height, so that the orientation
246 // In that case, we swap the configured video width/height and then
258 // limited by narrow width; reduce height
262 // limited by short height; restrict width
800 long width, height; local
[all...]
/frameworks/av/cmds/stagefright/
H A Djpeg.cpp40 int writeJpegFile(const char *filename, uint8_t *frame, int width, int height) { argument
64 cinfo.image_height = height;
73 for (int row = 0; row < height; row++) {
H A Djpeg.h4 int writeJpegFile(const char *filename, uint8_t *frame, int width, int height);
H A Dmuxer.cpp122 int width , height; local
124 CHECK(format->findInt32("height", &height));
125 bufferSize = width * height * 4; // Assuming it is maximally 4BPP
H A Drecord.cpp47 DummySource(int width, int height, int colorFormat)
49 mHeight(height),
51 mSize((width * height * 3) / 2) {
201 int width, height;
203 success = success && meta->findInt32(kKeyHeight, &height);
207 int height = 480;
208 sp<MediaSource> decoder = new DummySource(width, height, colorFormat);
216 enc_meta->setInt32("height", height);
220 // enc_meta->setInt32("slice-height", heigh
[all...]
H A Drecordvideo.cpp50 fprintf(stderr, " -t height in pixels (default: 144)\n");
62 DummySource(int width, int height, int nFrames, int fps, int colorFormat) argument
64 mHeight(height),
68 mSize((width * height * 3) / 2) {
169 int height = 144; local
225 height = atoi(optarg);
273 new DummySource(width, height, nFrames, frameRateFps, colorFormat);
288 enc_meta->setInt32("height", height);
292 enc_meta->setInt32("slice-height", heigh
[all...]
H A Dsf2.cpp298 int32_t width, height; local
300 CHECK(meta->findInt32(kKeyHeight, &height));
303 msg->setInt32("height", height);
/frameworks/av/drm/libmediadrm/
H A DCrypto.cpp264 void Crypto::notifyResolution(uint32_t width, uint32_t height) { argument
268 mPlugin->notifyResolution(width, height);
/frameworks/av/include/camera/
H A DCameraParameters.h27 int height; member in struct:android::Size
31 height = 0;
36 height = h;
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, int *height) cons
[all...]
H A DCameraParameters2.h66 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 and height mus
[all...]
/frameworks/av/include/media/
H A DCrypto.h48 virtual void notifyResolution(uint32_t width, uint32_t height);
H A DICrypto.h45 virtual void notifyResolution(uint32_t width, uint32_t height) = 0;
H A DIMediaRecorder.h48 virtual status_t setVideoSize(int width, int height) = 0;

Completed in 769 milliseconds

1234567891011>>