Searched defs:video (Results 1 - 25 of 43) sorted by last modified time

12

/frameworks/native/include/media/openmax/
H A DOMX_Component.h97 OMX_VIDEO_PORTDEFINITIONTYPE video; member in union:OMX_PARAM_PORTDEFINITIONTYPE::__anon1371
/frameworks/base/sax/tests/saxtests/src/android/sax/
H A DSafeSaxTest.java197 public void addVideo(YouTubeVideo video) { argument
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
354 YouTubeVideo video = null; field in class:SafeSaxTest.YouTubeContentHandler
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/
H A DBackDropperFilter.java66 // image contents, NOT dimensions of input video stream.
205 private static final String[] mInputNames = {"video",
208 private static final String[] mOutputNames = {"video"};
261 // tex_sampler_0: Mip-map for foreground (live) video frame.
324 // tex_sampler_0: Mip-map for foreground (live) video frame.
325 // tex_sampler_1: Mip-map for background (playback) video frame.
349 // tex_sampler_0: Foreground (live) video frame.
350 // tex_sampler_1: Background (playback) video frame.
398 // tex_sampler_0: Mip-map for foreground (live) video frame.
424 // tex_sampler_0: Mip-map for foreground (live) video fram
928 updateBgScaling(Frame video, Frame background, boolean fitModeChanged) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DHTML5VideoFullScreen.java62 // This view will contain the video.
86 // The container for the progress view and video view
89 // The video size will be ready when prepared. Used to make sure the aspect
249 // which happens when the video view is detached from its parent
297 // Plugins like Flash will draw over the video so hide
384 public FullScreenMediaController(Context context, View video) { argument
386 mVideoView = video;
/frameworks/av/media/libstagefright/codecs/avc/common/src/
H A Ddeblock.cpp46 // NOTE: this table is only QP clipping, index = QP + video->FilterOffsetA/B, clipped to [0, 51]
47 // video->FilterOffsetA/B is in {-12, 12]
59 static void DeblockMb(AVCCommonObj *video, int mb_x, int mb_y, uint8 *SrcY, uint8 *SrcU, uint8 *SrcV);
60 //static void GetStrength(AVCCommonObj *video, uint8 *Strength, AVCMacroblock* MbP, AVCMacroblock* MbQ, int dir, int edge);
75 OSCL_EXPORT_REF AVCStatus DeblockPicture(AVCCommonObj *video) argument
78 int pitch = video->currPic->pitch, pitch_c, width;
81 SrcY = video->currPic->Sl; // pointers to source
82 SrcU = video->currPic->Scb;
83 SrcV = video->currPic->Scr;
85 width = video
112 MBInLoopDeblock(AVCCommonObj *video) argument
290 DeblockMb(AVCCommonObj *video, int mb_x, int mb_y, uint8 *SrcY, uint8 *SrcU, uint8 *SrcV) argument
[all...]
H A Ddpb.cpp22 AVCStatus InitDPB(AVCHandle *avcHandle, AVCCommonObj *video, int FrameHeightInMbs, int PicWidthInMbs, bool padding) argument
24 AVCDecPicBuffer *dpb = video->decPicBuf;
31 level = video->currSeqParams->level_idc;
41 video->padded_size = (int)((((FrameHeightInMbs + 2) * (PicWidthInMbs + 2)) << 7) * 3) - framesize;
45 video->padded_size = 0;
63 if (video->currSeqParams->num_ref_frames + 1 > (uint32)dpb->num_fs)
65 dpb->num_fs = video->currSeqParams->num_ref_frames + 1;
68 dpb->dpb_size = dpb->num_fs * (framesize + video->padded_size);
99 video->RefPicList0[num_fs] = &(dpb->fs[num_fs]->frame);
101 dpb->used_size += (framesize + video
108 AVCConfigureSequence(AVCHandle *avcHandle, AVCCommonObj *video, bool padding) argument
205 CleanUpDPB(AVCHandle *avcHandle, AVCCommonObj *video) argument
232 DPBInitBuffer(AVCHandle *avcHandle, AVCCommonObj *video) argument
266 DPBInitPic(AVCCommonObj *video, int CurrPicNum) argument
316 DPBReleaseCurrentFrame(AVCHandle *avcHandle, AVCCommonObj *video) argument
341 StorePictureInDPB(AVCHandle *avcHandle, AVCCommonObj *video) argument
458 sliding_window_process(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb) argument
523 adaptive_memory_marking(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, AVCSliceHeader *sliceHdr) argument
567 MemMgrCtrlOp1(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, int difference_of_pic_nums_minus1) argument
606 MemMgrCtrlOp3(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, uint difference_of_pic_nums_minus1, uint long_term_frame_idx) argument
640 MemMgrCtrlOp4(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, uint max_long_term_frame_idx_plus1) argument
661 MemMgrCtrlOp5(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb) argument
678 MemMgrCtrlOp6(AVCHandle *avcHandle, AVCCommonObj *video, AVCDecPicBuffer *dpb, uint long_term_frame_idx) argument
[all...]
H A Dfmo.cpp23 OSCL_EXPORT_REF AVCStatus FMOInit(AVCCommonObj *video) argument
25 AVCPicParamSet *currPPS = video->currPicParams;
26 int *MbToSliceGroupMap = video->MbToSliceGroupMap;
27 int PicSizeInMapUnits = video->PicSizeInMapUnits;
28 int PicWidthInMbs = video->PicWidthInMbs;
32 memset(video->MbToSliceGroupMap, 0, video->PicSizeInMapUnits*sizeof(uint));
48 FmoGenerateType3MapUnitMap(video, currPPS, MbToSliceGroupMap, PicWidthInMbs);
51 FmoGenerateType4MapUnitMap(MbToSliceGroupMap, video->MapUnitsInSliceGroup0, currPPS->slice_group_change_direction_flag, PicSizeInMapUnits);
54 FmoGenerateType5MapUnitMap(MbToSliceGroupMap, video, currPP
128 FmoGenerateType3MapUnitMap(AVCCommonObj *video, AVCPicParamSet* pps, int *mapUnitToSliceGroupMap, int PicWidthInMbs) argument
214 FmoGenerateType5MapUnitMap(int *mapUnitToSliceGroupMap, AVCCommonObj *video, int slice_group_change_direction_flag, uint PicSizeInMapUnits) argument
[all...]
H A Dmb_access.cpp22 OSCL_EXPORT_REF void InitNeighborAvailability(AVCCommonObj *video, int mbNum) argument
24 int PicWidthInMbs = video->PicWidthInMbs;
27 video->mbAddrA = mbNum - 1;
28 video->mbAddrB = mbNum - PicWidthInMbs;
29 video->mbAddrC = mbNum - PicWidthInMbs + 1;
30 video->mbAddrD = mbNum - PicWidthInMbs - 1;
32 video->mbAvailA = video->mbAvailB = video->mbAvailC = video
68 predict_nnz(AVCCommonObj *video, int i, int j) argument
128 predict_nnz_chroma(AVCCommonObj *video, int i, int j) argument
186 GetMotionVectorPredictor(AVCCommonObj *video, int encFlag) argument
[all...]
H A Dreflist.cpp21 OSCL_EXPORT_REF void RefListInit(AVCCommonObj *video) argument
23 AVCSliceHeader *sliceHdr = video->sliceHdr;
24 AVCDecPicBuffer *dpb = video->decPicBuf;
25 int slice_type = video->slice_type;
34 video->refList0Size = 0;
35 video->refList1Size = 0;
47 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum - video->MaxFrameNum;
71 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum - video->MaxFrameNum;
78 video->RefPicList0[list0idx++] = &(dpb->fs[i]->frame);
85 video
139 ReOrderList(AVCCommonObj *video) argument
161 ReorderRefPicList(AVCCommonObj *video, int isL1) argument
254 ReorderShortTerm(AVCCommonObj *video, int picNumLX, int *refIdxLX, int isL1) argument
307 ReorderLongTerm(AVCCommonObj *video, int LongTermPicNum, int *refIdxLX, int isL1) argument
354 GetShortTermPic(AVCCommonObj *video, int picNum) argument
375 GetLongTermPic(AVCCommonObj *video, int LongtermPicNum) argument
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Davcenc_api.cpp61 AVCCommonObj *video; local
91 video = encvid->common;
102 video->currSeqParams = (AVCSeqParamSet*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCSeqParamSet), DEFAULT_ATTR);
103 if (video->currSeqParams == NULL)
109 video->currPicParams = (AVCPicParamSet*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCPicParamSet), DEFAULT_ATTR);
110 if (video->currPicParams == NULL)
116 video->sliceHdr = (AVCSliceHeader*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCSliceHeader), DEFAULT_ATTR);
117 if (video->sliceHdr == NULL)
123 video->decPicBuf = (AVCDecPicBuffer*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCDecPicBuffer), DEFAULT_ATTR);
124 if (video
279 AVCCommonObj *video = encvid->common; local
371 AVCCommonObj *video = encvid->common; local
553 AVCCommonObj *video = encvid->common; local
594 AVCCommonObj *video; local
[all...]
H A Dblock.cpp79 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) argument
262 int16 *coef, *coef8 = video
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...]
H A Dheader.cpp27 AVCCommonObj *video = encvid->common; local
28 AVCSeqParamSet *seqParam = video->currSeqParams;
229 AVCCommonObj *video = encvid->common; local
231 AVCPicParamSet *picParam = video->currPicParams;
318 AVCCommonObj *video = encvid->common; local
319 AVCSliceHeader *sliceHdr = video->sliceHdr;
320 AVCPicParamSet *currPPS = video->currPicParams;
321 AVCSeqParamSet *currSPS = video->currSeqParams;
330 slice_type = video->slice_type;
332 if (video
506 ref_pic_list_reordering(AVCCommonObj *video, AVCEncBitstream *stream, AVCSliceHeader *sliceHdr, int slice_type) argument
587 dec_ref_pic_marking(AVCCommonObj *video, AVCEncBitstream *stream, AVCSliceHeader *sliceHdr) argument
650 AVCCommonObj *video = encvid->common; local
881 PostPOC(AVCCommonObj *video) argument
[all...]
H A Dinit.cpp29 AVCCommonObj *video = encvid->common; local
30 AVCSeqParamSet *seqParam = video->currSeqParams;
31 AVCPicParamSet *picParam = video->currPicParams;
32 AVCSliceHeader *sliceHdr = video->sliceHdr;
63 video->MaxPicOrderCntLsb = 1 << (extS->log2_max_pic_order_cnt_lsb_minus4 + 4);
64 video->PicWidthInMbs = extS->pic_width_in_mbs_minus1 + 1;
65 video->PicHeightInMapUnits = extS->pic_height_in_map_units_minus1 + 1 ;
66 video->FrameHeightInMbs = (2 - extS->frame_mbs_only_flag) * video->PicHeightInMapUnits ;
70 video
644 AVCCommonObj *video = encvid->common; local
707 AVCCommonObj *video = encvid->common; local
804 AVCCommonObj *video = encvid->common; local
[all...]
H A Dintra_est.cpp34 AVCCommonObj *video = encvid->common; local
37 int x_pos = (video->mb_x) << 4;
38 int y_pos = (video->mb_y) << 4;
46 if (((x_pos >> 4) != (int)video->PicWidthInMbs - 1) &&
47 ((y_pos >> 4) != (int)video->PicHeightInMbs - 1) &&
48 video->intraAvailA &&
49 video->intraAvailB)
68 topL = video->currPic->Scb + offset;
82 topL = video->currPic->Scr + offset;
113 AVCCommonObj *video local
208 AVCCommonObj *video = encvid->common; local
433 AVCCommonObj *video = encvid->common; local
627 AVCCommonObj *video = encvid->common; local
722 AVCCommonObj *video = encvid->common; local
1223 FindMostProbableI4Mode(AVCCommonObj *video, int blkidx) argument
1365 AVCCommonObj *video = encvid->common; local
1855 AVCCommonObj *video = encvid->common; local
2006 AVCCommonObj *video = encvid->common; local
[all...]
H A Dmotion_comp.cpp38 void AVCMBMotionComp(AVCEncObject *encvid, AVCCommonObj *video) argument
42 AVCMacroblock *currMB = video->currMB;
43 AVCPictureData *currPic = video->currPic;
53 int x_position = (video->mb_x << 4);
54 int y_position = (video->mb_y << 4);
71 GetMotionVectorPredictor(video, 1);
82 ref_l = video->RefPicList0[ref_idx]->Sl;
83 ref_Cb = video->RefPicList0[ref_idx]->Scb;
84 ref_Cr = video->RefPicList0[ref_idx]->Scr;
H A Dmotion_est.cpp236 /* if turns out to be IDR frame, set video->nal_unit_type to AVC_NALTYPE_IDR */
239 AVCCommonObj *video = encvid->common; local
240 int slice_type = video->slice_type;
242 AVCPictureData *refPic = video->RefPicList0[0];
244 int mbwidth = video->PicWidthInMbs;
245 int mbheight = video->PicHeightInMbs;
246 int totalMB = video->PicSizeInMbs;
248 AVCMacroblock *currMB, *mblock = video->mblock;
312 InitHTFM(video, &htfm_stat, newvar, &collect);
317 && ((rateCtrl->frame_rate < 5.0) || (video
603 AVCCommonObj *video = encvid->common; local
744 AVCCommonObj *video = encvid->common; local
841 AVCCommonObj *video = encvid->common; local
958 AVCCommonObj *video = encvid->common; local
1359 AVCCommonObj *video = encvid->common; local
[all...]
H A Drate_control.cpp32 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
140 RCUpdateBuffer(AVCCommonObj *video, AVCRateControl *rateCtrl, int frameInc) argument
170 AVCCommonObj *video = encvid->common; local
335 AVCCommonObj *video = encvid->common; local
405 calculateQuantizer_Multipass(AVCEncObject *encvid, AVCCommonObj *video, AVCRateControl *rateCtrl, MultiPass *pMP) argument
520 targetBitCalculation(AVCEncObject *encvid, AVCCommonObj *video, AVCRateControl *rateCtrl, MultiPass *pMP) argument
694 AVCCommonObj *video = encvid->common; local
736 AVCCommonObj *video = encvid->common; local
745 RCPostMB(AVCCommonObj *video, AVCRateControl *rateCtrl, int num_header_bits, int num_texture_bits) argument
754 RCRestoreQP(AVCMacroblock *currMB, AVCCommonObj *video, AVCEncObject *encvid) argument
765 AVCCommonObj *video = encvid->common; local
794 AVCCommonObj *video = encvid->common; local
898 ComputeFrameMAD(AVCCommonObj *video, AVCRateControl *rateCtrl) argument
[all...]
H A Dresidual.cpp23 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, bind
[all...]
H A Dslice.cpp24 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
156 AVCCommonObj *video = encvid->common; local
554 AVCCommonObj *video = encvid->common; local
686 mb_pred(AVCCommonObj *video, AVCMacroblock *currMB, AVCEncBitstream *stream) argument
772 sub_mb_pred(AVCCommonObj *video, AVCMacroblock *currMB, AVCEncBitstream *stream) argument
920 EncodeIntra4x4Mode(AVCCommonObj *video, AVCMacroblock *currMB, AVCEncBitstream *stream) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dblock_idct.cpp222 void MBlockIDCT(VideoDecData *video) argument
224 Vop *currVop = video->currVop;
225 MacroBlock *mblock = video->mblock;
229 int x_pos = video->mbnum_col;
230 int y_pos = video->mbnum_row;
233 width = video->width;
H A Dcombined_decode.cpp18 #include "mp4dec_lib.h" /* video decoder function prototypes */
42 PV_STATUS DecodeFrameCombinedMode(VideoDecData *video) argument
46 Vop *currVop = video->currVop;
47 BitstreamDecVideo *stream = video->bitstream;
48 int shortVideoHeader = video->shortVideoHeader;
49 int16 QP, *QPMB = video->QPMB;
50 uint8 *Mode = video->headerInfo.Mode;
51 int nTotalMB = video->nTotalMB;
52 int nMBPerRow = video->nMBPerRow;
72 oscl_memset(video
345 GetMBheader(VideoDecData *video, int16 *QP) argument
526 GetMBData(VideoDecData *video) argument
[all...]
H A Dconceal.cpp18 #include "mp4dec_lib.h" /* video decoder function prototypes */
31 void ConcealTexture_I(VideoDecData *video, int32 startFirstPartition, int mb_start, int mb_stop, int slice_counter) argument
34 BitstreamDecVideo *stream = video->bitstream;
36 int intra_dc_vlc_thr = video->currVop->intraDCVlcThr;
40 video->usePrevQP = 0;
43 video->mbnum = mbnum;
44 video->mbnum_row = PV_GET_ROW(mbnum, video->nMBPerRow);
45 video->mbnum_col = mbnum - video
81 ConcealTexture_P(VideoDecData *video, int mb_start, int mb_stop, int slice_counter) argument
115 ConcealPacket(VideoDecData *video, int mb_start, int mb_stop, int slice_counter) argument
[all...]
H A Ddatapart_decode.cpp39 PV_STATUS DecodeFrameDataPartMode(VideoDecData *video) argument
42 Vop *currVop = video->currVop;
43 BitstreamDecVideo *stream = video->bitstream;
45 int nMBPerRow = video->nMBPerRow;
49 int nTotalMB = video->nTotalMB;
61 oscl_memset(video->motX, 0, sizeof(MOT)*4*nTotalMB);
62 oscl_memset(video->motY, 0, sizeof(MOT)*4*nTotalMB);
73 // oscl_memset(video->sliceNo, 0, sizeof(uint8)*nTotalMB);
79 video->mbnum = mbnum;
80 video
138 DecodeDataPart_I_VideoPacket(VideoDecData *video, int slice_counter) argument
303 DecodeDataPart_P_VideoPacket(VideoDecData *video, int slice_counter) argument
516 GetMBheaderDataPart_DQUANT_DC(VideoDecData *video, int16 *QP) argument
574 GetMBheaderDataPart_P(VideoDecData *video) argument
618 GetMBData_DataPart(VideoDecData *video) argument
[all...]
H A Ddcac_prediction.cpp29 VideoDecData *video,
39 int mbnum = video->mbnum;
40 int nMBPerRow = video->nMBPerRow;
41 int x_pos = video->mbnum_col;
42 int y_pos = video->mbnum_row;
45 int16 *QP_store = video->QPMB + mbnum;
46 int QP = video->QPMB[mbnum];
50 uint8 *slice_nb = video->sliceNo;
51 typeDCStore *DC_store = video->predDC + mbnum;
52 typeDCACStore *DCAC_row = video
28 doDCACPrediction( VideoDecData *video, int comp, int16 *q_block, int *direction ) argument
206 doDCACPrediction_I( VideoDecData *video, int comp, int16 *q_block ) argument
[all...]
H A Dmb_motion_comp.cpp23 video = pointer to structure of type VideoDecData
35 video->currVop->yChan contents are the newly calculated luminance
37 video->currVop->uChan contents are the newly calculated chrominance
39 video->currVop->vChan contents are the newly calculated chrominance
41 video->pstprcTypCur contents are the updated semaphore propagation
117 video->mblock->pred_block, no adding with residue */
120 VideoDecData *video,
129 Vop *prev = video->prevVop;
132 int mbnum = video->mbnum;
135 int MB_in_width = video
119 MBMotionComp( VideoDecData *video, int CBP ) argument
[all...]

Completed in 281 milliseconds

12