/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 | 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/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/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 | 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 | 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 | 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 | VideoEditorPlayer.cpp | 290 uint32_t width, uint32_t height) { 291 return mPlayer->setImageClipProperties(width, height); 289 setImageClipProperties( uint32_t width, uint32_t height) argument
|
H A D | VideoEditorPreviewController.cpp | 471 uint32_t width, height; local 472 getVideoSizeByResolution(mOutputVideoSize, &width, &height); 473 mNativeWindowRenderer = new NativeWindowRenderer(mSurface, width, height); 847 // Swap width and height if 90 or 270 degrees 1419 /* get the video width and height by resolution */
|
H A D | VideoEditorTools.cpp | 1078 * @return M4VIFI_ILLEGAL_FRAME_HEIGHT: YUV Plane height is ODD 1102 /* Check planes height are appropriate */ 1389 * @return M4VIFI_ILLEGAL_FRAME_HEIGHT: Error in plane height 1437 * @return M4VIFI_ILLEGAL_FRAME_HEIGHT: Error in height 1464 If input width is equal to output width and input height equal to 1465 output height then M4VIFI_YUV420toYUV420 is called. 1473 /* Check for the YUV width and height are even */ 1526 accessing one row beyond the input height.In this case the last 1534 /* Compute vertical ratio between src and destination height.*/ 1633 width is same, and height ma 2855 LvGetImageThumbNail(const char *fileName, M4OSA_UInt32 height, M4OSA_UInt32 width, M4OSA_Void **pBuffer) argument 2962 prepareYUV420ImagePlane(M4VIFI_ImagePlane *plane, M4OSA_UInt32 width, M4OSA_UInt32 height, M4VIFI_UInt8 *buffer, M4OSA_UInt32 reportedWidth, M4OSA_UInt32 reportedHeight) argument 2988 prepareYV12ImagePlane(M4VIFI_ImagePlane *plane, M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32 stride, M4VIFI_UInt8 *buffer) argument 3831 applyVideoRotation(M4OSA_Void* pBuffer, M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32 rotation) argument [all...] |
/frameworks/av/libvideoeditor/vss/3gpwriter/inc/ |
H A D | M4MP4W_Types.h | 164 M4OSA_UInt16 height; member in struct:__anon90 251 M4OSA_UInt16 height; /* Y*/ member in struct:__anon93
|
/frameworks/av/libvideoeditor/vss/common/inc/ |
H A D | M4WRITER_common.h | 131 M4OSA_UInt32 height; /**< Frame height */ member in struct:__anon195
|
/frameworks/av/libvideoeditor/vss/inc/ |
H A D | M4EXIFC_CommonAPI.h | 80 M4OSA_Int32 height; /**< image height in pixels */ member in struct:__anon217
|
H A D | M4VSS3GPP_Extended_API.h | 135 /**< Text plane height. Used only if VideoEffectType == text */ 151 M4OSA_UInt32 height; /*height of the ARGB8888 clip . member in struct:__anon240 166 /*To support ARGB8888 : get the width and height */ 168 M4OSA_UInt32 height; member in struct:__anon241
|
H A D | M4xVSS_Internal.h | 111 /*To support ARGB8888 : get the width and height in case of file ARGB888 used in framing 115 M4OSA_UInt32 height; /*height of the ARGB8888 clip . member in struct:__anon270 152 M4OSA_UInt32 height; /**<GIF height, fill during the member in struct:__anon271 164 M4OSA_UInt32 last_height; /**<Last frame height*/ 211 /*To support ARGB8888:width and height */ 213 M4OSA_UInt32 height; member in struct:__anon272 499 M4OSA_UInt32 width,M4OSA_UInt32 height); 506 M4OSA_UInt32 width,M4OSA_UInt32 height); [all...] |
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4DECODER_Null.c | 199 M4OSA_UInt32 height = 0;
local 224 for (height = 0; height<pStreamContext->pDecYuvWithEffect[0].u_height;
225 height++) {
238 for (height = 0; height<pStreamContext->pDecYuvWithEffect[1].u_height;
239 height++) {
252 for (height = 0; height<pStreamContext->pDecYuvWithEffect[2].u_height;
253 height 328 M4OSA_UInt32 height; local [all...] |
H A D | M4VSS3GPP_EditVideo.c | 91 M4OSA_UInt32 width,M4OSA_UInt32 height); 114 M4OSA_UInt32 width, M4OSA_UInt32 height); 1357 // Save width and height of un-rotated frame 1463 // Reset original width and height for resize frame plane 2884 * @param uiHeight(IN) Image height 2981 * M4OSA_UInt32 height); 2990 * @param height (IN) height of the ARGB8888 3000 M4OSA_UInt32 width,M4OSA_UInt32 height) { 3003 M4OSA_UInt32 frameSize_argb = width * height * 2997 M4VSS3GPP_internalConvertAndResizeARGB8888toYUV420(M4OSA_Void* pFileIn, M4OSA_FileReadPointer* pFileReadPtr, M4VIFI_ImagePlane* pImagePlanes, M4OSA_UInt32 width,M4OSA_UInt32 height) argument 3230 M4OSA_UInt32 height = local 3932 M4VSS3GPP_intSetYUV420Plane(M4VIFI_ImagePlane* planeIn, M4OSA_UInt32 width, M4OSA_UInt32 height) argument [all...] |
H A D | M4xVSS_API.c | 597 M4OSA_UInt32 width, height, samplingFreq; local 907 /* Get output width/height */ 912 height = 96; 917 height = 120; 922 height = 144; 927 height = 240; 932 height = 288; 937 height = 480; 942 height = 480; 947 height [all...] |
H A D | M4xVSS_internal.c | 251 * M4OSA_UInt32 height); 260 *@param height (IN) height of the ARGB8888 270 M4OSA_UInt32 width,M4OSA_UInt32 height) 274 M4OSA_UInt32 frameSize_argb=(width * height * 4); 275 M4OSA_UInt32 frameSize = (width * height * 3); //Size of RGB888 data. 289 M4OSA_TRACE1_2("M4xVSS_internalConvertAndResizeARGB8888toYUV420 :width and height %d %d", 290 width ,height); 333 rgbPlane1.u_height = height; 348 if(width != pImagePlanes->u_width || height ! 267 M4xVSS_internalConvertAndResizeARGB8888toYUV420(M4OSA_Void* pFileIn, M4OSA_FileReadPointer* pFileReadPtr, M4VIFI_ImagePlane* pImagePlanes, M4OSA_UInt32 width,M4OSA_UInt32 height) argument 429 M4xVSS_internalConvertARGB8888toYUV420(M4OSA_Void* pFileIn, M4OSA_FileReadPointer* pFileReadPtr, M4VIFI_ImagePlane** pImagePlanes, M4OSA_UInt32 width,M4OSA_UInt32 height) argument 1877 M4OSA_UInt32 width, height, width_out, height_out; local 4447 M4OSA_UInt32 height, width, sourceStride, destStride, y; local 4561 M4OSA_UInt32 height, leftPartWidth, rightPartWidth; local [all...] |
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
H A D | VideoEditorVideoDecoder.cpp | 401 &parsingCtxt, 13);/* sprite height */ 609 int32_t height = PlaneOut[0].u_height; local 611 int32_t outYsize = width * height; 623 for (int32_t i = height >> 1; i > 0; --i) { 793 int32_t height = 0; local 822 ALOGV("got dimensions only %d x %d", width, height); 834 height = cropBottom - cropTop + 1; 836 ALOGV("VideoDecoder_configureFromMetadata : W=%d H=%d", width, height); 837 VIDEOEDITOR_CHECK((0 != width) && (0 != height), M4ERR_PARAMETER); 843 (uint32_t)height) ) { 1507 int32_t height = pDecShellContext->m_pVideoStreamhandler->m_videoHeight; local [all...] |
H A D | VideoEditorVideoEncoder.cpp | 310 int32_t height = 0; local 349 metaData->findInt32(kKeyHeight, &height); 351 size = (size_t)(stride*height*3)/2;
|
/frameworks/av/media/libmedia/ |
H A D | IMediaRecorder.cpp | 179 status_t setVideoSize(int width, int height) argument 181 ALOGV("setVideoSize(%dx%d)", width, height); 185 data.writeInt32(height); 401 int height = data.readInt32(); local 402 reply->writeInt32(setVideoSize(width, height));
|