/frameworks/av/camera/ |
H A D | CameraParameters.cpp | 41 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...] |
/frameworks/av/camera/camera2/ |
H A D | OutputConfiguration.cpp | 112 int height = 0; local 113 if ((err = parcel->readInt32(&height)) != OK) { 114 ALOGE("%s: Failed to read surface height from parcel", __FUNCTION__); 146 mHeight = height;
|
/frameworks/av/camera/include/camera/ |
H A D | CameraParameters.h | 27 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...] |
/frameworks/av/camera/ndk/impl/ |
H A D | ACameraMetadata.cpp | 104 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 D | EglWindow.cpp | 63 status_t EglWindow::createPbuffer(int width, int height) { argument 74 mHeight = height; 78 EGL_HEIGHT, height,
|
H A D | FontBitmap.h | 5 static const uint32_t height = 204; 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]; 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 D | Overlay.cpp | 143 int height = mEglWindow.getHeight(); local 145 glViewport(0, 0, width, height); 163 mTextRenderer.setScreenSize(width, height); 177 mGlConsumer->setDefaultBufferSize(width, height); 219 int height = mEglWindow.getHeight(); local 222 100, 100, width-200, height-200); 225 0, 0, width, height); 232 100, 100, width-200, height-200); 300 int height = window.getHeight(); local 301 glViewport(0, 0, width, height); 335 int height = window.getHeight(); local [all...] |
H A D | TextRenderer.h | 51 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 D | screenrecord.cpp | 79 static uint32_t gVideoWidth = 0; // default width+height 161 format->setInt32("height", gVideoHeight); 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, height; 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 64 cinfo.image_height = height; 73 for (int row = 0; row < height; row++) {
|
H A D | muxer.cpp | 121 int width , height; local 123 CHECK(format->findInt32("height", &height)); 124 bufferSize = width * height * 4; // Assuming it is maximally 4BPP
|
H A D | recordvideo.cpp | 50 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...] |
/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) { 169 data.writeInt32(height); 424 int32_t height = data.readInt32(); local 425 notifyResolution(width, height); 164 notifyResolution( uint32_t width, uint32_t height) argument
|
/frameworks/av/include/camera/ |
H A D | CameraParameters.h | 27 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...] |
/frameworks/av/include/media/stagefright/ |
H A D | YUVImage.h | 56 YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height); 60 YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height, uint8_t *buffer); 68 static size_t bufferSize(YUVFormat yuvFormat, int32_t width, int32_t height); 71 int32_t height() const {return mHeight;} function in class:android::YUVImage 73 // Returns true if pixel is the range [0, width-1] x [0, height-1] 78 // Note that the range of x is [0, width-1] and the range of y is [0, height-1]. 84 // Note that the range of x is [0, width-1] and the range of y is [0, height-1]. 147 // Note that the range of x is [0, width-1] and the range of y is [0, height-1]. 167 // Note that the range of x is [0, width-1] and the range of y is [0, height-1].
|
/frameworks/av/media/img_utils/src/ |
H A D | TiffIfd.cpp | 197 uint32_t height = *(heightEntry->getData<uint32_t>()); local 217 const uint32_t lastChunkRows = height % rowsPerChunk; 225 size_t numStrips = height / rowsPerChunk;
|
/frameworks/av/media/libmedia/ |
H A D | IMediaRecorder.cpp | 196 status_t setVideoSize(int width, int height) argument 198 ALOGV("setVideoSize(%dx%d)", width, height); 202 data.writeInt32(height); 475 int height = data.readInt32(); local 476 reply->writeInt32(setVideoSize(width, height));
|
H A D | IRemoteDisplayClient.cpp | 41 uint32_t width, uint32_t height, uint32_t flags, uint32_t session) 47 data.writeInt32(height); 82 uint32_t height = data.readInt32(); local 85 onDisplayConnected(surfaceTexture, width, height, flags, session); 40 onDisplayConnected(const sp<IGraphicBufferProducer>& bufferProducer, uint32_t width, uint32_t height, uint32_t flags, uint32_t session) argument
|
H A D | mediarecorder.cpp | 343 status_t MediaRecorder::setVideoSize(int width, int height) argument 345 ALOGV("setVideoSize(%d, %d)", width, height); 359 status_t ret = mMediaRecorder->setVideoSize(width, height);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaRecorderClient.cpp | 186 status_t MediaRecorderClient::setVideoSize(int width, int height) argument 188 ALOGV("setVideoSize(%dx%d)", width, height); 194 return mRecorder->setVideoSize(width, height);
|
H A D | StagefrightRecorder.cpp | 72 static const char *kRecorderHeight = "android.media.mediarecorder.height"; 296 status_t StagefrightRecorder::setVideoSize(int width, int height) { argument 297 ALOGV("setVideoSize: %dx%d", width, height); 298 if (width <= 0 || height <= 0) { 299 ALOGE("Invalid video size: %dx%d", width, height); 305 mVideoHeight = height; 1394 "vid.height", mCameraId, quality); 1527 "enc.vid.height.min", mVideoEncoder); 1529 "enc.vid.height.max", mVideoEncoder); 1531 ALOGW("Intended video encoding frame height ( 1653 int32_t width, height, stride, sliceHeight, colorFormat; local [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | HTTPLiveSource.cpp | 359 int32_t height; local 361 format->findInt32("width", &width) && format->findInt32("height", &height)) {
|