/frameworks/av/camera/ |
H A D | CameraParameters.cpp | 40 const char CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT[] = "jpeg-thumbnail-height"; 325 int width, height; local 326 int success = parse_pair(sizeStartPtr, &width, &height, 'x', 332 sizes.push(Size(width, height)); 341 void CameraParameters::setPreviewSize(int width, int height) argument 344 sprintf(str, "%dx%d", width, height); 348 void CameraParameters::getPreviewSize(int *width, int *height) const 350 *width = *height = -1; 354 parse_pair(p, width, height, 'x'); 357 void CameraParameters::getPreferredPreviewSizeForVideo(int *width, int *height) cons 371 setVideoSize(int width, int height) argument 420 setPictureSize(int width, int height) argument [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 | jpeg.h | 4 int writeJpegFile(const char *filename, uint8_t *frame, int width, int height);
|
H A D | record.cpp | 45 DummySource(int width, int height, int colorFormat) 47 mHeight(height), 49 mSize((width * height * 3) / 2) { 203 int width, height; 205 success = success && meta->findInt32(kKeyHeight, &height); 209 int height = 480; 210 sp<MediaSource> decoder = new DummySource(width, height, colorFormat); 218 enc_meta->setInt32(kKeyHeight, height); 222 enc_meta->setInt32(kKeySliceHeight, height);
|
H A D | recordvideo.cpp | 42 fprintf(stderr, " -t height in pixels (default: 144)\n"); 54 DummySource(int width, int height, int nFrames, int fps, int colorFormat) argument 56 mHeight(height), 60 mSize((width * height * 3) / 2) { 157 int height = 144; local 213 height = atoi(optarg); 258 new DummySource(width, height, nFrames, frameRateFps, colorFormat); 273 enc_meta->setInt32(kKeyHeight, height); 277 enc_meta->setInt32(kKeySliceHeight, height);
|
H A D | sf2.cpp | 275 int32_t width, height; local 277 CHECK(meta->findInt32(kKeyHeight, &height)); 280 msg->setInt32("height", height);
|
/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/ |
H A D | IMediaRecorder.h | 46 virtual status_t setVideoSize(int width, int height) = 0;
|
H A D | IRemoteDisplayClient.h | 52 uint32_t width, uint32_t height, uint32_t flags) = 0; // one-way
|
H A D | MediaRecorderBase.h | 41 virtual status_t setVideoSize(int width, int height) = 0;
|
H A D | mediarecorder.h | 218 status_t setVideoSize(int width, int height);
|
/frameworks/av/include/media/stagefright/ |
H A D | ACodec.h | 211 const char *mime, int32_t width, int32_t height); 218 int32_t width, int32_t height,
|
H A D | CameraSource.h | 214 int32_t width, int32_t height, 218 int32_t width, int32_t height);
|
H A D | CameraSourceTimeLapse.h | 138 // If the passed in size (width x height) is a supported video/preview size, 141 bool trySettingVideoSize(int32_t width, int32_t height);
|
H A D | ColorConverter.h | 50 size_t width, size_t height,
|
H A D | OMXCodec.h | 282 OMX_COLOR_FORMATTYPE format, OMX_U32 width, OMX_U32 height); 285 OMX_U32 width, OMX_U32 height, OMX_U32 compressedSize);
|
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/libvideoeditor/lvpp/ |
H A D | DummyVideoSource.cpp | 34 uint32_t width, uint32_t height, 39 width, height, clipDuration, imageUri); 45 uint32_t width, uint32_t height, 51 mFrameHeight = height; 33 Create( uint32_t width, uint32_t height, uint64_t clipDuration, const char *imageUri) argument 44 DummyVideoSource( uint32_t width, uint32_t height, uint64_t clipDuration, const char *imageUri) argument
|
H A D | DummyVideoSource.h | 34 uint32_t width, uint32_t height, 60 uint32_t width, uint32_t height,
|
H A D | NativeWindowRenderer.cpp | 129 int width, int height) 132 , mDstHeight(height) 396 MediaBuffer* buffer, int width, int height) { 397 native_window_set_buffers_geometry(anw, width, height, 409 copyI420Buffer(buffer, img, width, height, buf->getStride()); 593 // If rotation degrees is 90 or 270, swap width and height 128 NativeWindowRenderer(sp<ANativeWindow> nativeWindow, int width, int height) argument 395 queueExternalBuffer(ANativeWindow* anw, MediaBuffer* buffer, int width, int height) argument
|
H A D | NativeWindowRenderer.h | 54 NativeWindowRenderer(sp<ANativeWindow> nativeWindow, int width, int height); 78 int width, int height);
|
H A D | PreviewPlayer.cpp | 687 int32_t *width, int32_t *height) const { 695 *height = mVideoHeight; 1325 /* get the video width and height by resolution */ 1457 status_t PreviewPlayer::setImageClipProperties(uint32_t width,uint32_t height) { argument 1459 mVideoHeight = height; 1705 ALOGV("Display height changed (%d=>%d)", mDisplayHeight, displayHeight);
|
H A D | PreviewPlayer.h | 50 status_t getVideoDimensions(int32_t *width, int32_t *height) const; 88 status_t setImageClipProperties(uint32_t width, uint32_t height);
|
H A D | PreviewRenderer.cpp | 30 const sp<Surface> &surface, size_t width, size_t height) { 32 PreviewRenderer* renderer = new PreviewRenderer(surface, width, height); 44 size_t width, size_t height) 47 mHeight(height) { 29 CreatePreviewRenderer( const sp<Surface> &surface, size_t width, size_t height) argument 42 PreviewRenderer( const sp<Surface> &surface, size_t width, size_t height) argument
|
H A D | PreviewRenderer.h | 36 size_t width, size_t height); 51 size_t width, size_t height);
|