/frameworks/av/media/libmediaplayerservice/nuplayer/ |
HTTPLiveSource.cpp | 248 bool video = changedMask & LiveSession::STREAMTYPE_VIDEO; local 256 notify->setInt32("video", video);
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
residual.cpp | 23 AVCCommonObj *video = encvid->common; local 26 int x_position = (video->mb_x << 4); 27 int y_position = (video->mb_y << 4); 44 pDst = video->currPic->Sl + offset1; 45 offset = video->PicWidthInSamplesL - 16; 77 pDst = video->currPic->Scb + ((offset1 + x_position) >> 2); 111 pDst = video->currPic->Scr + ((offset1 + x_position) >> 2); 148 AVCCommonObj *video = encvid->common; local 241 nC = predict_nnz(video, bindx & 3, bindx >> 2); 245 nC = predict_nnz_chroma(video, bindx & 3, bindx >> 2) [all...] |
block.cpp | 79 AVCCommonObj *video = encvid->common; local 81 int pitch = video->currPic->pitch; 82 int16 *coef = video->block; 83 uint8 *pred = video->pred_block; // size 16 for a 4x4 block 84 int pred_pitch = video->pred_pitch; 145 Rq = video->QPy_mod_6; 146 Qq = video->QPy_div_6; 192 if (video->currMB->mb_intra) // only do inverse transform with intra block 260 void MBInterIdct(AVCCommonObj *video, uint8 *curL, AVCMacroblock *currMB, int picPitch) 262 int16 *coef, *coef8 = video->block 362 AVCCommonObj *video = encvid->common; local 724 AVCCommonObj *video = encvid->common; local 1116 AVCCommonObj *video = encvid->common; local 1209 AVCCommonObj *video = encvid->common; local [all...] |
rate_control.cpp | 32 double ComputeFrameMAD(AVCCommonObj *video, AVCRateControl *rateCtrl); 34 void targetBitCalculation(AVCEncObject *encvid, AVCCommonObj *video, AVCRateControl *rateCtrl, MultiPass *pMP); 36 void calculateQuantizer_Multipass(AVCEncObject *encvid, AVCCommonObj *video, 52 AVCCommonObj *video = encvid->common; local 53 AVCSliceHeader *sliceHdr = video->sliceHdr; 74 video->nal_unit_type = AVC_NALTYPE_IDR; 76 video->slice_type = AVC_I_SLICE; 103 RCUpdateBuffer(video, rateCtrl, frameInc - rateCtrl->skip_next_frame); /* in case more frames dropped */ 108 if ((*frameNum >= (uint)rateCtrl->idrPeriod && rateCtrl->idrPeriod > 0) || (*frameNum > video->MaxFrameNum)) /* first frame or IDR*/ 118 encvid->modTimeRef += (uint32)(video->MaxFrameNum * 1000 / rateCtrl->frame_rate) 170 AVCCommonObj *video = encvid->common; local 335 AVCCommonObj *video = encvid->common; local 694 AVCCommonObj *video = encvid->common; local 736 AVCCommonObj *video = encvid->common; local 765 AVCCommonObj *video = encvid->common; local 794 AVCCommonObj *video = encvid->common; local [all...] |
slice.cpp | 24 AVCCommonObj *video = encvid->common; local 25 AVCPicParamSet *pps = video->currPicParams; 26 AVCSliceHeader *sliceHdr = video->sliceHdr; 32 slice_type = video->slice_type; 35 video->mbNum = CurrMbAddr = sliceHdr->first_mb_in_slice;// * (1+video->MbaffFrameFlag); 36 slice_group_id = video->MbToSliceGroupMap[CurrMbAddr]; 38 video->mb_skip_run = 0; 43 video->mbNum = CurrMbAddr; 44 currMB = video->currMB = &(video->mblock[CurrMbAddr]) 156 AVCCommonObj *video = encvid->common; local 554 AVCCommonObj *video = encvid->common; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
vlc_dequant.cpp | 53 VideoDecData *video = (VideoDecData*) vid; local 54 Vol *currVol = video->vol[video->currLayer]; 55 BitstreamDecVideo *stream = video->bitstream; 56 int16 *datablock = video->mblock->block[comp]; /* 10/20/2000, assume it has been reset of all-zero !!!*/ 57 int mbnum = video->mbnum; 58 uint CBP = video->headerInfo.CBP[mbnum]; 59 int QP = video->QPMB[mbnum]; 60 typeDCStore *DC = video->predDC + mbnum; 61 int x_pos = video->mbnum_col 386 VideoDecData *video = (VideoDecData*) vid; local [all...] |
pvdec_api.cpp | 59 /* Purpose : Initialization of the MPEG-4 video decoder library. */ 70 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 86 video = IMEM_VideoDecData; 88 video = (VideoDecData *) oscl_malloc(sizeof(VideoDecData)); 90 if (video != NULL) 92 oscl_memset(video, 0, sizeof(VideoDecData)); 93 video->memoryUsage = sizeof(VideoDecData); 94 video->numberOfLayers = nLayers; 96 video->vol = (Vol **) IMEM_VOL; 98 video->vol = (Vol **) oscl_malloc(nLayers * sizeof(Vol *)) 284 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 528 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 556 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 720 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 726 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 742 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 758 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 774 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 798 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 828 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 842 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 859 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 1032 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 1243 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 1457 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 1529 VideoDecData *video = (VideoDecData *)decCtrl->videoDecoderData; local 1546 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 1600 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local 1641 VideoDecData *video = (VideoDecData *) decCtrl->videoDecoderData; local [all...] |
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
MediaRecorderStressTest.java | 223 output.write("H263 video record- reset after prepare Stress test\n"); 263 //Stress test case for switching camera and video recorder preview. 275 output.write("Camera and video recorder preview switching\n"); 329 Log.v(TAG, "release video recorder"); 349 File video = new File(filename); local 350 Log.v(TAG, "remove recorded video " + filename); 351 video.delete(); 354 //Stress test case for record a video and play right away. 368 output.write("Video record and play back stress test:\n");
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
MediaRecorderStressTest.java | 163 File video = new File(fileName); local 164 Log.v(TAG, "remove recorded video " + fileName); 165 video.delete(); 221 Log.v(TAG, "video encoder : " + videoEncoder); 224 Log.v(TAG, "video width : " + videoWidth); 225 Log.v(TAG, "video height : " + videoHeight); 292 // for more granular control of video encoding. 326 // Set video source 335 // http://developer.android.com/guide/topics/media/camera.html#time-lapse-video
|
/external/chromium_org/chrome/browser/media/ |
media_stream_capture_indicator.cc | 354 bool video) { 371 GetStatusTrayIconInfo(audio, video, &image, &tool_tip); 415 bool video = false; local 421 // Check if any audio and video devices have been used. 425 // Audio/video icon is shown only for extensions or on Android. 433 video = video || usage.IsCapturingVideo(); 451 MaybeCreateStatusTrayIcon(audio, video); 458 bool video, 462 DCHECK(audio || video); [all...] |
/external/chromium_org/media/mp4/ |
mp4_stream_parser.cc | 24 static const char kMp4InitDataType[] = "video/mp4"; 170 // TODO(strobe): Only the first audio and video track present in a file are 273 MEDIA_LOG(log_cb_) << "Unsupported video format 0x" 289 // SPS/PPS are embedded in the video stream 437 bool video = has_video_ && video_track_id_ == runs_->track_id(); local 440 if (!audio && !video) 472 if (video) { 502 (video && is_video_track_encrypted_)) {
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderVideo.cpp | 44 RenderVideo::RenderVideo(HTMLVideoElement* video) 45 : RenderMedia(video) 89 HTMLVideoElement* video = videoElement(); local 93 // The intrinsic width of a video element's playback area is the intrinsic width 94 // of the video resource, if that is available; otherwise it is the intrinsic 97 // The intrinsic height of a video element's playback area is the intrinsic height 98 // of the video resource, if that is available; otherwise it is the intrinsic 101 if (player && video->readyState() >= HTMLVideoElement::HAVE_METADATA) { 107 if (video->shouldDisplayPosterImage() && !m_cachedImageSize.isEmpty() && !imageResource()->errorOccurred()) 110 // When the natural size of the video is unavailable, we use the provide [all...] |
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
call.h | 105 bool video() const { return has_video_; } function in class:cricket::Call 114 return recv_streams ? &recv_streams->video() : NULL; 122 // Takes ownership of video. 123 void SendVideoStreamUpdate(Session* session, VideoContentDescription* video); 206 const VideoContentDescription* video);
|
/external/libvpx/libvpx/test/ |
resize_test.cc | 146 ResizingVideoSource video; local 147 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); 196 virtual void PreEncodeFrameHook(libvpx_test::VideoSource *video, 198 if (video->frame() == kStepDownFrame) { 202 if (video->frame() == kStepUpFrame) { 236 ::libvpx_test::I420VideoSource video("hantro_collage_w352h288.yuv", 352, 288, 248 ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
|
/external/qemu/distrib/sdl-1.2.15/src/events/ |
SDL_events.c | 102 SDL_VideoDevice *video = current_video; local 105 /* Get events from the video subsystem */ 106 if ( video ) { 107 video->PumpEvents(this); 371 SDL_VideoDevice *video = current_video; local 374 /* Get events from the video subsystem */ 375 if ( video ) { 376 video->PumpEvents(this);
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_cursor.c | 111 SDL_VideoDevice *video = current_video; local 155 if ( video->CreateWMCursor ) { 156 cursor->wm_cursor = video->CreateWMCursor(video, data, mask, 166 the video mode and when the SDL window gains the mouse focus. 170 SDL_VideoDevice *video = current_video; local 173 /* Make sure that the video subsystem has been initialized */ 174 if ( ! video ) { 186 } else if ( video->MoveWMCursor ) { 187 /* If the video driver is moving the cursor directly 246 SDL_VideoDevice *video = current_video; local 279 SDL_VideoDevice *video = current_video; local 295 SDL_VideoDevice *video = current_video; local 323 SDL_VideoDevice *video = current_video; local 660 SDL_VideoDevice *video = current_video; local 734 SDL_VideoDevice *video = current_video; local [all...] |
SDL_surface.c | 41 SDL_VideoDevice *video = current_video; local 53 /* Check to see if we desire the surface in video memory */ 54 if ( video ) { 85 if ((Amask) && (video->displayformatalphapixel)) 87 depth = video->displayformatalphapixel->BitsPerPixel; 88 Rmask = video->displayformatalphapixel->Rmask; 89 Gmask = video->displayformatalphapixel->Gmask; 90 Bmask = video->displayformatalphapixel->Bmask; 91 Amask = video->displayformatalphapixel->Amask; 124 (video->AllocHWSurface(this, surface) < 0) ) 200 SDL_VideoDevice *video = current_video; local 251 SDL_VideoDevice *video = current_video; local 555 SDL_VideoDevice *video = current_video; local 741 SDL_VideoDevice *video = current_video; local 776 SDL_VideoDevice *video = current_video; local 929 SDL_VideoDevice *video = current_video; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
bitstream_io.cpp | 45 /* Purpose : Create a bitstream to hold one encoded video packet or frame */ 320 /* Purpose : bit stuffing for next start code in short video header */ 776 Void BitstreamSetOverrunBuffer(BitstreamEncVideo* stream, UChar* overrunBuffer, Int oBSize, VideoEncData *video) 780 stream->video = video; 789 VideoEncData *video = stream->video; local 801 if (video->overrunBuffer) 803 M4VENC_FREE(video->overrunBuffer); 805 video->oBSize = stream->oBSize [all...] |
rate_control.cpp | 26 void calculateQuantizer_Multipass(void *video); 27 void updateRateControl(rateControl *rc, VideoEncData *video); 28 void updateRC_PostProc(rateControl *rc, VideoEncData *video); 33 PV_STATUS RC_Initialize(void *video); 35 PV_STATUS RC_VopQPSetting(VideoEncData *video,rateControl *rc[]); 36 PV_STATUS RC_VopUpdateStat(VideoEncData *video,rateControl *rc[]); 37 PV_STATUS RC_UpdateBuffer(VideoEncData *video, Int currLayer, Int num_skip); 38 Int RC_GetSkipNextFrame(VideoEncData *video,Int currLayer); 39 void RC_ResetSkipNextFrame(void *video,Int currLayer); 52 VideoEncData *video = (VideoEncData *) input local 418 VideoEncData *video = (VideoEncData *) input; local 531 VideoEncData *video = (VideoEncData *) input; local 701 VideoEncData *video = (VideoEncData *) input; local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaPlayerFlakyNetworkTest.java | 41 * Executes a range of tests on MediaPlayer while streaming a video 99 String video = getRandomTestVideo(random); local 100 doPlayMp4Stream(video, 20000, 5000); 101 doAsyncPrepareAndRelease(video); 102 doRandomOperations(video); 112 private void doPlayMp4Stream(String video, int millisToPrepare, int millisToPlay) 115 localHttpStreamTest(video); 128 private void doAsyncPrepareAndRelease(String video) throws Throwable { 132 localHttpStreamTest(video); 138 private void doRandomOperations(String video) throws Throwable [all...] |
/external/chromium_org/media/filters/ |
ffmpeg_demuxer.cc | 63 type_ = VIDEO; 135 (type() == DemuxerStream::VIDEO && video_config_.is_encrypted())) { 228 CHECK_EQ(type_, VIDEO); 339 // will attempt to use the lowest-index video stream, if present, followed by 492 // partial playback. At least one audio or video stream must be playable. 610 // Video logging 828 FFmpegDemuxerStream* video = GetFFmpegStream(DemuxerStream::VIDEO); local 829 if (audio && video) { 831 video->GetBufferedRanges()) [all...] |
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
SafeSaxTest.java | 197 public void addVideo(YouTubeVideo video) { 206 YouTubeVideo video; field in class:SafeSaxTest.HandlerFactory 220 video.videoId = body; 228 video.dateAdded = new Time(Time.TIMEZONE_UTC); 229 video.dateAdded.parse3339(body); 237 video.authorName = body; 247 if (video.thumbnailUrl == null && url.length() > 0) { 248 video.thumbnailUrl = url; 258 video.videoUrl = url; 268 video.playbackUrl = url 354 YouTubeVideo video = null; field in class:SafeSaxTest.YouTubeContentHandler [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
Thumbnail.java | 30 import android.provider.MediaStore.Video; 31 import android.provider.MediaStore.Video.VideoColumns; 157 Media video = getLastVideoThumbnail(resolver); local 158 if (image == null && video == null) return null; 162 // If there is only image or video, get its thumbnail. If both exist, 164 if (image != null && (video == null || image.dateTaken >= video.dateTaken)) { 169 bitmap = Video.Thumbnails.getThumbnail(resolver, video.id, 170 Video.Thumbnails.MINI_KIND, null) [all...] |
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
channel.cc | 485 // Sets the maximum video bandwidth for automatic bandwidth adjustment. 1000 LOG(LS_ERROR) << "Failed to SetRender on video channel"; 1009 LOG(LS_ERROR) << "Failed to SetSend on video channel"; 1045 const VideoContentDescription* video = local 1068 const VideoContentDescription* video = local [all...] |
channelmanager.cc | 164 // Init the device manager immediately, and set up our default video device. 167 // Set camera_device_ to the name of the default video capturer. 259 // Now apply the default video codec that has been set earlier. 278 // Need to destroy the voice/video channels 521 // Set the video input device 602 void ChannelManager::SetMediaLogging(bool video, int level, 608 Send((video) ? MSG_SETVIDEOLOGGING : MSG_SETVOICELOGGING, &options); 610 SetMediaLogging_w(video, level, filter); 614 void ChannelManager::SetMediaLogging_w(bool video, int level, 618 if (video) { 716 bool video = (message->message_id == MSG_SETVIDEOLOGGING); local [all...] |