/frameworks/av/camera/ |
H A D | CameraParameters.cpp | 39 const char CameraParameters::KEY_JPEG_THUMBNAIL_WIDTH[] = "jpeg-thumbnail-width"; 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 argument 350 *width = *height = -1; 354 parse_pair(p, width, height, 'x'); 357 void CameraParameters::getPreferredPreviewSizeForVideo(int *width, in argument 371 setVideoSize(int width, int height) argument 378 getVideoSize(int *width, int *height) const argument 420 setPictureSize(int width, int height) argument 427 getPictureSize(int *width, int *height) const 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 43 uint8_t row_data[width * 3]; 63 cinfo.image_width = width; 74 uint16_t *src = (uint16_t *)(frame + row * width * 2); 76 for (int col = 0; col < width; col++) {
|
H A D | recordvideo.cpp | 41 fprintf(stderr, " -w width in pixels (default: 176)\n"); 54 DummySource(int width, int height, int nFrames, int fps, int colorFormat) argument 55 : mWidth(width), 60 mSize((width * height * 3) / 2) { 156 int width = 176; local 207 width = atoi(optarg); 258 new DummySource(width, height, nFrames, frameRateFps, colorFormat); 272 enc_meta->setInt32(kKeyWidth, width); 276 enc_meta->setInt32(kKeyStride, width);
|
H A D | sf2.cpp | 275 int32_t width, height; local 276 CHECK(meta->findInt32(kKeyWidth, &width)); 279 msg->setInt32("width", width);
|
/frameworks/av/include/camera/ |
H A D | CameraParameters.h | 26 int width; member in struct:android::Size 30 width = 0; 35 width = w; 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, in [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); 70 int32_t width() const {return mWidth;} 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, 50 mFrameWidth = width; 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) 131 , mDstWidth(width) 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 { 694 *width = mVideoWidth; 1325 /* get the video width and height by resolution */ 1457 status_t PreviewPlayer::setImageClipProperties(uint32_t width,uint32_t height) { argument 1458 mVideoWidth = width; 1700 ALOGV("Display width changed (%d=>%d)", mDisplayWidth, displayWidth); 686 getVideoDimensions( int32_t *width, int32_t *height) const argument
|
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) 46 mWidth(width), 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 | 277 /* the filter is implemented with the assumption that the width is equal to stride */ 308 /* the filter is implemented with the assumption that the width is equal to stride */ 1079 * @return M4VIFI_ILLEGAL_FRAME_WIDTH: YUV Plane width is ODD 1110 /* Check planes width are appropriate */ 1390 * @return M4VIFI_ILLEGAL_FRAME_WIDTH: Error in plane width 1438 * @return M4VIFI_ILLEGAL_FRAME_WIDTH: Error in width 1464 If input width is equal to output width and input height equal to 1473 /* Check for the YUV width and height are even */ 1506 accessing one column beyond the input width 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 | 165 M4OSA_UInt16 width; member in struct:__anon90 250 M4OSA_UInt16 width; /* X*/ member in struct:__anon93
|
/frameworks/av/libvideoeditor/vss/common/inc/ |
H A D | M4WRITER_common.h | 132 M4OSA_UInt32 width; /**< Frame Width */ member in struct:__anon195
|
/frameworks/av/libvideoeditor/vss/inc/ |
H A D | M4EXIFC_CommonAPI.h | 79 M4OSA_Int32 width; /**< image width in pixels */ member in struct:__anon217
|
H A D | M4VSS3GPP_Extended_API.h | 133 /**< Text plane width. Used only if VideoEffectType == text */ 149 M4OSA_UInt32 width; /*width of the ARGB8888 clip . member in struct:__anon240 166 /*To support ARGB8888 : get the width and height */ 167 M4OSA_UInt32 width; 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 113 M4OSA_UInt32 width; /*width of the ARGB8888 clip member in struct:__anon270 150 M4OSA_UInt32 width; /**<GIF width, fill during the member in struct:__anon271 163 M4OSA_UInt32 last_width; /**<Last frame width*/ 211 /*To support ARGB8888:width and height */ 212 M4OSA_UInt32 width; member in struct:__anon272 499 M4OSA_UInt32 width,M4OSA_UInt32 height); 506 M4OSA_UInt32 width,M4OSA_UInt3 [all...] |
/frameworks/av/libvideoeditor/vss/src/ |
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 2883 * @param uiWidth (IN) Image width 2980 * M4OSA_UInt32 width, 2989 * @param width (IN) width of the ARGB8888 3000 M4OSA_UInt32 width,M4OSA_UInt32 height) { 3003 M4OSA_UInt32 frameSize_argb = width * heigh 2997 M4VSS3GPP_internalConvertAndResizeARGB8888toYUV420(M4OSA_Void* pFileIn, M4OSA_FileReadPointer* pFileReadPtr, M4VIFI_ImagePlane* pImagePlanes, M4OSA_UInt32 width,M4OSA_UInt32 height) argument 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 */ 911 width = 128; 916 width = 160; 921 width = 176; 926 width = 320; 931 width = 352; 936 width = 640; 941 width = 800; 946 width [all...] |
H A D | M4xVSS_internal.c | 250 * M4OSA_UInt32 width, 259 *@param width (IN) width 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); 334 rgbPlane1.u_width = width; 335 rgbPlane1.u_stride = width* 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 4480 M4OSA_UInt32 topPartHeight, bottomPartHeight, width, sourceStride, destStride, y; local [all...] |
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
H A D | VideoEditorVideoDecoder.cpp | 397 &parsingCtxt, 13);/* sprite width */ 608 int32_t width = PlaneOut[0].u_width; local 611 int32_t outYsize = width * height; 624 for (int32_t j = width >> 2; j > 0; --j) { 792 int32_t width = 0; local 822 ALOGV("got dimensions only %d x %d", width, height); 833 width = cropRight - cropLeft + 1; 836 ALOGV("VideoDecoder_configureFromMetadata : W=%d H=%d", width, height); 837 VIDEOEDITOR_CHECK((0 != width) && (0 != height), M4ERR_PARAMETER); 841 (uint32_t)width) 1506 int32_t width = pDecShellContext->m_pVideoStreamhandler->m_videoWidth; local [all...] |
/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); 184 data.writeInt32(width); 400 int width = data.readInt32(); local 402 reply->writeInt32(setVideoSize(width, height));
|
H A D | IRemoteDisplayClient.cpp | 41 uint32_t width, uint32_t height, uint32_t flags) 46 data.writeInt32(width); 80 uint32_t width = data.readInt32(); local 83 onDisplayConnected(surfaceTexture, width, height, flags); 40 onDisplayConnected(const sp<ISurfaceTexture>& surfaceTexture, uint32_t width, uint32_t height, uint32_t flags) argument
|
H A D | mediarecorder.cpp | 324 status_t MediaRecorder::setVideoSize(int width, int height) argument 326 ALOGV("setVideoSize(%d, %d)", width, height); 340 status_t ret = mMediaRecorder->setVideoSize(width, height);
|