/external/u-boot/arch/powerpc/cpu/mpc85xx/ |
interrupts.c | 24 ccsr_pic_t __iomem *pic = (void *)CONFIG_SYS_MPC8xxx_PIC_ADDR; local 28 * The POST word is stored in the PIC's TFRR register which gets 29 * cleared when the PIC is reset. Save it off so we can restore it 35 out_be32(&pic->gcr, MPC85xx_PICGCR_RST); 36 while (in_be32(&pic->gcr) & MPC85xx_PICGCR_RST) 38 out_be32(&pic->gcr, MPC85xx_PICGCR_M); 39 in_be32(&pic->gcr); 47 pic->iivpr1 = 0x810001; /* 50220 enable ecm interrupts */ 48 debug("iivpr1@%x = %x\n", (uint)&pic->iivpr1, pic->iivpr1) [all...] |
/external/u-boot/arch/powerpc/cpu/mpc86xx/ |
interrupts.c | 28 volatile ccsr_pic_t *pic = &immr->im_pic; local 32 * The POST word is stored in the PIC's TFRR register which gets 33 * cleared when the PIC is reset. Save it off so we can restore it 39 pic->gcr = MPC86xx_PICGCR_RST; 40 while (pic->gcr & MPC86xx_PICGCR_RST) 42 pic->gcr = MPC86xx_PICGCR_MODE; 51 pic->iivpr1 = 0x810001; /* 50220 enable mcm interrupts */ 52 debug("iivpr1@%p = %x\n", &pic->iivpr1, pic->iivpr1); 54 pic->iivpr2 = 0x810002; /* 50240 enable ddr interrupts * [all...] |
/external/v4l2_codec2/vda/ |
h264_dpb.cc | 70 for (auto& pic : pics_) { 71 pic->dpb_position = i; 98 void H264DPB::StorePic(const scoped_refptr<H264Picture>& pic) { 100 DVLOG(3) << "Adding PicNum: " << pic->pic_num << " ref: " << (int)pic->ref 101 << " longterm: " << (int)pic->long_term << " to DPB"; 102 pic->dpb_position = pics_.size(); 103 pics_.push_back(pic); 121 for (const auto& pic : pics_) { 122 if (pic->ref && !pic->long_term && pic->pic_num == pic_num [all...] |
h264_decoder.cc | 100 bool H264Decoder::InitNonexistingPicture(scoped_refptr<H264Picture> pic, 102 pic->nonexisting = true; 103 pic->nal_ref_idc = 1; 104 pic->frame_num = pic->pic_num = frame_num; 105 pic->adaptive_ref_pic_marking_mode_flag = false; 106 pic->ref = true; 107 pic->long_term_reference_flag = false; 108 pic->field = H264Picture::FIELD_NONE; 110 return CalculatePicOrderCounts(pic); 566 scoped_refptr<H264Picture> pic; local 1187 scoped_refptr<H264Picture> pic = new H264Picture(); local [all...] |
vp9_decoder.cc | 137 scoped_refptr<VP9Picture> pic = accelerator_->CreateVP9Picture(); local 138 if (!pic) 152 pic->visible_rect = new_render_rect; 153 pic->frame_hdr.reset(curr_frame_hdr_.release()); 155 if (!DecodeAndOutputPicture(pic)) { 162 void VP9Decoder::RefreshReferenceFrames(const scoped_refptr<VP9Picture>& pic) { 164 DCHECK(!pic->frame_hdr->IsKeyframe() || pic->frame_hdr->RefreshFlag(i)); 165 if (pic->frame_hdr->RefreshFlag(i)) 166 ref_frames_[i] = pic; [all...] |
vp9_decoder.h | 51 // Submit decode for |pic| to be run in accelerator, taking as arguments 58 // process is finished, but the caller may drop its references to |pic| 64 const scoped_refptr<VP9Picture>& pic, 70 // Schedule output (display) of |pic|. 72 // Note that returning from this method does not mean that |pic| has already 76 // called for them beforehand). Decoder may drop its references to |pic| 80 virtual bool OutputPicture(const scoped_refptr<VP9Picture>& pic) = 0; 87 // Set |frame_ctx| to the state after decoding |pic|, returning true on 89 virtual bool GetFrameContext(const scoped_refptr<VP9Picture>& pic, 109 void RefreshReferenceFrames(const scoped_refptr<VP9Picture>& pic); [all...] |
h264_decoder.h | 50 // depending on the frame type, either p0, or b0 and b1 are used. |pic| 62 const scoped_refptr<H264Picture>& pic) = 0; 65 // |pic| (same as in SubmitFrameMetadata()), the parsed header for the 77 const scoped_refptr<H264Picture>& pic, 81 // Execute the decode in hardware for |pic|, using all the slices and 85 virtual bool SubmitDecode(const scoped_refptr<H264Picture>& pic) = 0; 87 // Schedule output (display) of |pic|. Note that returning from this 88 // method does not mean that |pic| has already been outputted (displayed), 91 // to |pic| after calling this method. 93 virtual bool OutputPicture(const scoped_refptr<H264Picture>& pic) = 0 [all...] |
/external/webp/src/enc/ |
picture_rescale_enc.c | 39 static void SnapTopLeftPosition(const WebPPicture* const pic, 41 if (!pic->use_argb) { 48 static int AdjustAndCheckRectangle(const WebPPicture* const pic, 51 SnapTopLeftPosition(pic, left, top); 54 if ((*left) + width > pic->width) return 0; 55 if ((*top) + height > pic->height) return 0; 126 int WebPPictureCrop(WebPPicture* pic, 130 if (pic == NULL) return 0; 131 if (!AdjustAndCheckRectangle(pic, &left, &top, width, height)) return 0; 133 PictureGrabSpecs(pic, &tmp) [all...] |
picture_tools_enc.c | 86 void WebPCleanupTransparentArea(WebPPicture* pic) { 88 if (pic == NULL) return; 89 w = pic->width / SIZE; 90 h = pic->height / SIZE; 93 if (pic->use_argb) { 98 const int off = (y * pic->argb_stride + x) * SIZE; 99 if (IsTransparentARGBArea(pic->argb + off, pic->argb_stride, SIZE)) { 101 argb_value = pic->argb[off]; 104 FlattenARGB(pic->argb + off, argb_value, pic->argb_stride, SIZE) [all...] |
syntax_enc.c | 29 static int PutPaddingByte(const WebPPicture* const pic) { 31 return !!pic->writer(pad_byte, 1, pic); 39 const WebPPicture* const pic = enc->pic_; local 45 if (!pic->writer(riff, sizeof(riff), pic)) { 52 const WebPPicture* const pic = enc->pic_; local 59 assert(pic->width >= 1 && pic->height >= 1); 60 assert(pic->width <= MAX_CANVAS_SIZE && pic->height <= MAX_CANVAS_SIZE) 77 const WebPPicture* const pic = enc->pic_; local 151 WebPPicture* const pic = enc->pic_; local 318 WebPPicture* const pic = enc->pic_; local [all...] |
webp_enc.c | 306 int WebPEncodingSetError(const WebPPicture* const pic, 310 ((WebPPicture*)pic)->error_code = error; 314 int WebPReportProgress(const WebPPicture* const pic, 318 if (pic->progress_hook && !pic->progress_hook(percent, pic)) { 320 WebPEncodingSetError(pic, VP8_ENC_ERROR_USER_ABORT); 328 int WebPEncode(const WebPConfig* config, WebPPicture* pic) { 330 if (pic == NULL) return 0; 332 WebPEncodingSetError(pic, VP8_ENC_OK); // all ok so fa [all...] |
/external/ImageMagick/Magick++/demo/ |
gravity.cpp | 59 Image pic = base; local 60 pic.annotate( "NorthWest", Geometry(0,0,x,y), NorthWestGravity, angle ); 61 pic.annotate( "North", Geometry(0,0,0,y), NorthGravity, angle ); 62 pic.annotate( "NorthEast", Geometry(0,0,x,y), NorthEastGravity, angle ); 63 pic.annotate( "East", Geometry(0,0,x,0), EastGravity, angle ); 64 pic.annotate( "Center", Geometry(0,0,0,0), CenterGravity, angle ); 65 pic.annotate( "SouthEast", Geometry(0,0,x,y), SouthEastGravity, angle ); 66 pic.annotate( "South", Geometry(0,0,0,y), SouthGravity, angle ); 67 pic.annotate( "SouthWest", Geometry(0,0,x,y), SouthWestGravity, angle ); 68 pic.annotate( "West", Geometry(0,0,x,0), WestGravity, angle ) [all...] |
/external/webp/include/webp/ |
extras.h | 39 WEBP_EXTERN(int) WebPImportRGB565(const uint8_t* rgb565, WebPPicture* pic); 43 WEBP_EXTERN(int) WebPImportRGB4444(const uint8_t* rgb4444, WebPPicture* pic);
|
/external/mesa3d/src/gallium/drivers/radeon/ |
radeon_uvd.c | 299 static unsigned calc_ctx_size_h265_main10(struct ruvd_decoder *dec, struct pipe_h265_picture_desc *pic) 307 unsigned coeff_10bit = (pic->pps->sps->bit_depth_luma_minus8 || pic->pps->sps->bit_depth_chroma_minus8) ? 2 : 1; 316 block_size = (1 << (pic->pps->sps->log2_min_luma_coding_block_size_minus3 + 3)); 317 log2_ctb_size = block_size + pic->pps->sps->log2_diff_max_min_luma_coding_block_size; 493 static struct ruvd_h264 get_h264_msg(struct ruvd_decoder *dec, struct pipe_h264_picture_desc *pic) 498 switch (pic->base.profile) { 520 result.sps_info_flags |= pic->pps->sps->direct_8x8_inference_flag << 0; 521 result.sps_info_flags |= pic->pps->sps->mb_adaptive_frame_field_flag << 1; 522 result.sps_info_flags |= pic->pps->sps->frame_mbs_only_flag << 2 [all...] |
radeon_vce_50.c | 44 RVCE_CS(enc->pic.rate_ctrl.rate_ctrl_method); // encRateControlMethod 45 RVCE_CS(enc->pic.rate_ctrl.target_bitrate); // encRateControlTargetBitRate 46 RVCE_CS(enc->pic.rate_ctrl.peak_bitrate); // encRateControlPeakBitRate 47 RVCE_CS(enc->pic.rate_ctrl.frame_rate_num); // encRateControlFrameRateNum 49 RVCE_CS(enc->pic.quant_i_frames); // encQP_I 50 RVCE_CS(enc->pic.quant_p_frames); // encQP_P 51 RVCE_CS(enc->pic.quant_b_frames); // encQP_B 52 RVCE_CS(enc->pic.rate_ctrl.vbv_buffer_size); // encVBVBufferSize 53 RVCE_CS(enc->pic.rate_ctrl.frame_rate_den); // encRateControlFrameRateDen 57 RVCE_CS(enc->pic.rate_ctrl.target_bits_picture); // encTargetBitsPerPictur [all...] |
radeon_vcn_dec.c | 85 struct pipe_h264_picture_desc *pic) 90 switch (pic->base.profile) { 111 result.sps_info_flags |= pic->pps->sps->direct_8x8_inference_flag << 0; 112 result.sps_info_flags |= pic->pps->sps->mb_adaptive_frame_field_flag << 1; 113 result.sps_info_flags |= pic->pps->sps->frame_mbs_only_flag << 2; 114 result.sps_info_flags |= pic->pps->sps->delta_pic_order_always_zero_flag << 3; 117 result.bit_depth_luma_minus8 = pic->pps->sps->bit_depth_luma_minus8; 118 result.bit_depth_chroma_minus8 = pic->pps->sps->bit_depth_chroma_minus8; 119 result.log2_max_frame_num_minus4 = pic->pps->sps->log2_max_frame_num_minus4; 120 result.pic_order_cnt_type = pic->pps->sps->pic_order_cnt_type [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
radeon_uvd.c | 248 static unsigned calc_ctx_size_h265_main10(struct ruvd_decoder *dec, struct pipe_h265_picture_desc *pic) 256 unsigned coeff_10bit = (pic->pps->sps->bit_depth_luma_minus8 || pic->pps->sps->bit_depth_chroma_minus8) ? 2 : 1; 265 block_size = (1 << (pic->pps->sps->log2_min_luma_coding_block_size_minus3 + 3)); 266 log2_ctb_size = block_size + pic->pps->sps->log2_diff_max_min_luma_coding_block_size; 437 static struct ruvd_h264 get_h264_msg(struct ruvd_decoder *dec, struct pipe_h264_picture_desc *pic) 442 switch (pic->base.profile) { 464 result.sps_info_flags |= pic->pps->sps->direct_8x8_inference_flag << 0; 465 result.sps_info_flags |= pic->pps->sps->mb_adaptive_frame_field_flag << 1; 466 result.sps_info_flags |= pic->pps->sps->frame_mbs_only_flag << 2 [all...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
PictureTest.java | 44 Picture pic = new Picture(); local 45 Canvas subcanvas = pic.beginRecording( 48 pic.endRecording(); 50 return pic; 58 Picture pic = greenSquare(); 60 pic.draw(canvas); // should be clipped out 70 Picture pic = greenSquare(); 72 pic.draw(canvas); // should be offset
|
/device/google/contexthub/firmware/build/ |
app_config.mk | 21 -mno-pic-data-is-text-relative \ 22 -msingle-pic-base \
|
/external/e2fsprogs/lib/ |
Makefile.bsd-lib | 16 @echo " MKDIR pic" 17 @mkdir -p pic 25 (cd pic; ld -Bshareable -o $(BSD_LIB) $(LDFLAGS_SHLIB) $(OBJS)) 26 $(MV) pic/$(BSD_LIB) . 45 $(RM) -rf pic
|
Makefile.darwin-lib | 16 $(E) " MKDIR pic" 17 $(Q) mkdir -p pic 26 $(Q) (cd pic; $(CC) -dynamiclib -compatibility_version 1.0 -current_version $(BSDLIB_VERSION) \ 28 $(Q) $(MV) pic/$(BSD_LIB) . 48 $(RM) -rf pic
|
/external/skia/src/images/ |
SkWebpEncoder.cpp | 132 WebPPicture pic; local 133 WebPPictureInit(&pic); 134 SkAutoTCallVProc<WebPPicture, WebPPictureFree> autoPic(&pic); 135 pic.width = pixmap.width(); 136 pic.height = pixmap.height(); 137 pic.writer = stream_writer; 148 pic.use_argb = 0; 152 pic.use_argb = 1; 160 pic.custom_ptr = icc ? (void*)&tmp : (void*)stream; 163 const int rgbStride = pic.width * bpp [all...] |
/external/skqp/src/images/ |
SkWebpEncoder.cpp | 132 WebPPicture pic; local 133 WebPPictureInit(&pic); 134 SkAutoTCallVProc<WebPPicture, WebPPictureFree> autoPic(&pic); 135 pic.width = pixmap.width(); 136 pic.height = pixmap.height(); 137 pic.writer = stream_writer; 148 pic.use_argb = 0; 152 pic.use_argb = 1; 160 pic.custom_ptr = icc ? (void*)&tmp : (void*)stream; 163 const int rgbStride = pic.width * bpp [all...] |
/external/clang/test/Analysis/engine/ |
replay-without-inlining.c | 37 static void readILBM(IB *st, Info *pic) { 39 pic->usedtobeundef.w = 5; 52 Info pic; local 56 readILBM(&st,&pic); 57 return pic.usedtobeundef.w; // No undefined value warning here.
|
/external/u-boot/arch/xtensa/ |
config.mk | 7 PLATFORM_CPPFLAGS += -D__XTENSA__ -mlongcalls -mforce-no-pic \
|