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

1234567891011>>

/frameworks/av/camera/
H A DCameraParameters.cpp40 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 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 Drecord.cpp45 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 Drecordvideo.cpp42 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 Dsf2.cpp275 int32_t width, height; local
277 CHECK(meta->findInt32(kKeyHeight, &height));
280 msg->setInt32("height", 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...]
/frameworks/av/include/media/
H A DIMediaRecorder.h46 virtual status_t setVideoSize(int width, int height) = 0;
H A DIRemoteDisplayClient.h52 uint32_t width, uint32_t height, uint32_t flags) = 0; // one-way
H A DMediaRecorderBase.h41 virtual status_t setVideoSize(int width, int height) = 0;
H A Dmediarecorder.h218 status_t setVideoSize(int width, int height);
/frameworks/av/include/media/stagefright/
H A DACodec.h211 const char *mime, int32_t width, int32_t height);
218 int32_t width, int32_t height,
H A DCameraSource.h214 int32_t width, int32_t height,
218 int32_t width, int32_t height);
H A DCameraSourceTimeLapse.h138 // 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 DColorConverter.h50 size_t width, size_t height,
H A DOMXCodec.h282 OMX_COLOR_FORMATTYPE format, OMX_U32 width, OMX_U32 height);
285 OMX_U32 width, OMX_U32 height, OMX_U32 compressedSize);
H A DYUVImage.h56 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 DDummyVideoSource.cpp34 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 DDummyVideoSource.h34 uint32_t width, uint32_t height,
60 uint32_t width, uint32_t height,
H A DNativeWindowRenderer.cpp129 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 DNativeWindowRenderer.h54 NativeWindowRenderer(sp<ANativeWindow> nativeWindow, int width, int height);
78 int width, int height);
H A DPreviewPlayer.cpp687 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 DPreviewPlayer.h50 status_t getVideoDimensions(int32_t *width, int32_t *height) const;
88 status_t setImageClipProperties(uint32_t width, uint32_t height);
H A DPreviewRenderer.cpp30 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 DPreviewRenderer.h36 size_t width, size_t height);
51 size_t width, size_t height);

Completed in 5045 milliseconds

1234567891011>>